Onuray Sahin
6823258abb
Add test for view navigation.
2022-09-16 17:41:51 +03:00
Onuray Sahin
61f5f81305
Merge branch 'develop' into feature/ons/device_manager_filter
...
# Conflicts:
# library/ui-strings/src/main/res/values/strings.xml
# vector/src/main/AndroidManifest.xml
# vector/src/main/java/im/vector/app/core/di/MavericksViewModelModule.kt
# vector/src/main/java/im/vector/app/features/settings/devices/v2/list/SessionsListHeaderView.kt
# vector/src/main/res/layout/fragment_settings_devices.xml
2022-09-16 15:25:09 +03:00
Onuray Sahin
e2313ad1cd
Implement unit tests.
2022-09-16 13:05:06 +03:00
Onuray Sahin
fd9dca9621
Fix existing tests.
2022-09-15 17:39:08 +03:00
Maxime NATUREL
a1bdfd1a5c
Using shouldBeNull() method in unit tests
2022-09-14 10:31:22 +02:00
Maxime NATUREL
279820224c
Long press on the whole content item
2022-09-14 10:31:22 +02:00
Maxime NATUREL
6cd0fbb614
Unit tests for the ViewModel
2022-09-14 10:31:22 +02:00
Maxime NATUREL
c1dfa925c0
Unit tests for use cases to check visibility of sections
2022-09-14 10:31:22 +02:00
Maxime NATUREL
4205b4a777
Unit tests for session overview navigator
2022-09-14 10:31:22 +02:00
Maxime NATUREL
15cf8b63a0
Using unwrap() extension method
2022-09-14 10:31:21 +02:00
Benoit Marty
e19647f6ca
Firebase provides Map<String, String?>
2022-09-09 16:33:57 +02:00
Benoit Marty
7c4527fba6
Fix test - no need to use Moshi to parse FCM Push data.
2022-09-09 15:59:34 +02:00
Maxime NATUREL
c45f536855
RefreshDevicesOnCryptoDevicesChangeUseCase unit tests
2022-09-08 09:48:45 +02:00
Maxime NATUREL
047384c08c
Fix some coding style issues
2022-09-08 09:48:45 +02:00
Maxime NATUREL
3566b10e3c
DevicesViewModel unit tests
2022-09-08 09:48:45 +02:00
Maxime NATUREL
438f302787
GetDeviceFullInfoListUseCase unit tests
2022-09-08 09:48:45 +02:00
Maxime NATUREL
07d9e35842
GetCurrentSessionCrossSigningInfoUseCase unit tests
2022-09-08 09:48:45 +02:00
Maxime NATUREL
27031ab267
RefreshDevicesUseCase unit tests
2022-09-08 09:48:45 +02:00
Maxime NATUREL
06d447247a
Updating existing unit tests
2022-09-08 09:48:45 +02:00
Maxime NATUREL
39a0b3b1ba
Moving recently created use cases inside v2 package
2022-09-08 09:48:45 +02:00
Maxime NATUREL
712d39b9dd
Inject new ViewModel in the fragment V2 + add use cases
2022-09-08 09:48:43 +02:00
Maxime NATUREL
2148270773
Update unit tests
2022-09-07 09:32:48 +02:00
Maxime NATUREL
1ad585e154
Adding last seen details + fix observation of wrong deviceId in ViewModel
2022-09-07 09:32:47 +02:00
Maxime NATUREL
fde7072bc7
Unit tests for computing trust level of device
2022-09-07 09:32:47 +02:00
Maxime NATUREL
38a04c3655
Unit tests for GetCurrentSessionCrossSigningInfoUseCase
2022-09-07 09:32:47 +02:00
Maxime NATUREL
3f30cf0bee
Updating existing unit tests
2022-09-07 09:32:47 +02:00
Maxime NATUREL
b995f798f9
Adding unit tests for viewModel
2022-09-07 09:32:47 +02:00
Maxime NATUREL
0c3310dd16
Adding unit tests for the new use case
2022-09-07 09:32:47 +02:00
Maxime NATUREL
26dbd31717
Unit tests for navigator
2022-09-07 09:32:47 +02:00
Nikita Fedrunov
7cc7444bd5
applayout release experience ( #7003 )
2022-09-06 11:32:11 +02:00
Onuray Sahin
8d378408c5
Code review fixes.
2022-09-02 14:28:28 +02:00
Onuray Sahin
396da93a93
Test inactive sessions use case.
2022-09-02 14:28:27 +02:00
Eric Decanini
b5debe92c0
Merge pull request #6877 from vector-im/feature/eric/new-layout-navigation
...
Space Switching Back Navigation
2022-08-26 17:40:18 +02:00
Adam Brown
493d9240c2
parsing the space commands by checking for the size and last segment to find the space id to join/add to
2022-08-25 15:30:43 +01:00
ericdecanini
64894d4443
Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation
...
# Conflicts:
# vector/src/main/java/im/vector/app/features/home/NewHomeDetailFragment.kt
2022-08-24 20:25:02 +02:00
ericdecanini
ace2c672ed
Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation
2022-08-23 10:00:55 +02:00
Adam Brown
d7bc43584d
adding tests around forwarding to the edit server selection when the initial server selection fails
2022-08-22 17:24:11 +01:00
Adam Brown
4cc0b81c86
removing deeplink error handling as its now covered by the edit server flow instead
2022-08-22 17:24:11 +01:00
Adam Brown
0be46adfda
Merge pull request #6862 from vector-im/feature/adm/ftue-fragment-crashes
...
FTUE - Crash fixes
2022-08-22 17:21:31 +01:00
ericdecanini
edb2d5d78e
Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation
...
# Conflicts:
# vector/src/main/java/im/vector/app/features/home/HomeActivity.kt
# vector/src/main/java/im/vector/app/features/home/NewHomeDetailFragment.kt
2022-08-22 14:56:14 +02:00
Adam Brown
9b57630eae
Merge pull request #6873 from vector-im/feature/adm/allow-trusting-certificates
...
FTUE - Fix trusting certificates during edit server flow
2022-08-22 11:47:50 +01:00
ericdecanini
4162eb8e55
Removes space header
2022-08-19 14:23:08 +02:00
ericdecanini
fecaf3e360
Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-navigation
2022-08-18 17:36:08 +02:00
ericdecanini
58e1fe4c01
Adds DefaultNavigatorTest
2022-08-18 17:15:12 +02:00
ericdecanini
789dffe4df
Adds tests related to backstack
2022-08-18 16:51:54 +02:00
Adam Brown
1d03460aee
removing ability to shortcut registration to waiting for email if the app is destroyed
...
- this behaviour puts the app in an invalid state as we've lost all the ViewState we've collect from the previous onboarding steps
- the app already handles restoring the onboarding state via the system restoration
2022-08-18 11:41:28 +01:00
Adam Brown
91176eca22
adding test cases around certificate errors being thrown and mapped
2022-08-18 11:41:19 +01:00
Adam Brown
e4a08d1be1
recreating the homeserver config from the retry action when handle certificate accept action
...
- adds unit tests around the edit/selection cases
2022-08-18 11:41:19 +01:00
Adam Brown
a6ff10cbaf
allowing fingerprint to be passed to the config factory
...
- which in turn allows the android Uri to be bypassed and a unit test around the direct local certificate case added
2022-08-18 11:41:19 +01:00
Adam Brown
4ed8fe0be8
lifting the login buttons view state to a dedicated model to make the fallback more obvious
...
- Updates tests to take into account the fallback case
2022-08-15 13:00:13 +01:00