Commit Graph

35 Commits

Author SHA1 Message Date
Benoit Marty c9bbf6c53a Move `RecoveryKey` functions to api package 2022-04-12 15:38:20 +02:00
Benoit Marty ccce552097 Move `md5()` extension to api package 2022-04-12 15:38:20 +02:00
Benoit Marty 012cdf4b4d runBlocking -> runTest
https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-test/MIGRATION.md
2022-03-22 16:52:18 +01:00
Benoit Marty 86829008c3 runBlockingTest -> runTest
https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-test/MIGRATION.md
2022-03-22 16:39:39 +01:00
ariskotsomitopoulos d215f03798 Merge branch 'develop' into feature/aris/thread_live_thread_list 2022-03-14 12:02:04 +01:00
ariskotsomitopoulos f31b130b49 Fix unit tests 2022-03-10 19:11:14 +02:00
ericdecanini bbc6e8bbce Replaces caught Exception with HttpException 2022-03-09 16:41:18 +01:00
ericdecanini 82b5fc9557 Removes unused imports 2022-03-08 16:50:49 +01:00
ericdecanini e5299d716c Fixes legal comments 2022-03-08 13:15:26 +01:00
ericdecanini 0af6ae6075 Adds logic for using stable and unstable hierarchy endpoints 2022-03-08 13:10:18 +01:00
ariskotsomitopoulos bce5bc8389 Fix wrong versioning regex pattern
Add MSC3440 support using /version/ and /capabilities
2022-03-05 17:13:02 +02:00
Adam Brown 63e9e07d5e using correct license for matrix-sdk test 2021-10-27 16:42:35 +01:00
Adam Brown 9949779b62 ensuring the store migration class is always equal to other store migration instances
- is needed as realm will throw if multiple migration instances are created and they don't match
2021-10-27 15:01:26 +01:00
Adam Brown 69bb554e20 lifting the request executor to its own file in the network package
- also creates a dedicated RequestModule instead of providing the executor via the pushers module
2021-10-12 11:39:14 +01:00
Adam Brown aff787bb29 extracting the test fakes to their own package 2021-10-12 11:39:14 +01:00
Adam Brown b7c911feee adding test cases for when adding a pusher fails and when it already exists 2021-10-12 11:39:14 +01:00
Adam Brown 48d9dfb82d adding test for the add pusher task happy flow
- introduces the concepts of Fakes for handling the dependencies, unforuntately realm/monarchy aren't very testable in their current state so we'll need to use mocks
2021-10-12 11:39:14 +01:00
Benoit Marty d1e9f3131a Big annoying commit: execute command `./gradlew ktlintFormat` - Fix "colon-spacing" 2021-10-01 13:31:15 +02:00
Benoit Marty 2ca3c68611 Big annoying commit: execute command `./gradlew ktlintFormat` - Fix "import-ordering" 2021-10-01 13:31:15 +02:00
Benoit Marty fc22376050 Ignore warning in test.
There is probably a better way than using the GlobalScope, but I'm not sure how to do it now.
2021-09-03 17:02:14 +02:00
Benoit Marty 6a0ea11e7a Follow the spec regarding waveform content 2021-07-13 17:58:14 +02:00
Benoit Marty 4189db0f89 Use Junit import 2021-05-04 10:50:31 +02:00
Valere 0d3c2b4bef Fix space filtering 2021-04-28 11:15:58 +02:00
Benoit Marty 96b37a8206 Fix typo 2021-03-18 10:57:28 +01:00
Benoit Marty f6032da788 Add more test 2021-03-18 10:44:15 +01:00
Benoit Marty da9f0c6667 Fix an issue discovered by unit test 2021-03-18 10:44:15 +01:00
Benoit Marty 103ba463c3 Create getBetsChunkSize to avoid code duplication 2021-03-18 10:44:15 +01:00
Benoit Marty 8de4b0bb20 Small formatting 2021-01-08 15:55:32 +01:00
Benoit Marty 68947588d7 Replace deprecated shouldEqual and shouldEqualTo by shouldBeEqualTo 2020-10-12 22:30:18 +02:00
Benoit Marty 44114e66c2 Fix Copyright mention in SDK code 2020-10-08 15:04:55 +02:00
Benoit Marty 5e0fc3e17f Rename class 2020-08-25 17:34:43 +02:00
Benoit Marty 1a068ee191 Add more tests 2020-08-25 17:34:02 +02:00
Benoit Marty 8226f60fad Refactor test to avoid duplicated code 2020-08-25 17:31:51 +02:00
Benoit Marty 2e618999d9 Words containing my name should not trigger notifications (Fixes #1781)
It adds a specific behavior for rule with id RuleIds.RULE_ID_CONTAIN_USER_NAME
2020-08-25 17:26:54 +02:00
Benoit Marty 11b5512cb8 Rename package of SDK modules 2020-08-13 12:50:58 +02:00