ericdecanini
70b5b9855a
Removes debug global error
2022-03-09 12:26:52 +01:00
ericdecanini
6836a12557
Fixes legal comments
2022-03-07 13:49:23 +01:00
ericdecanini
e1f227a545
Fixes legal comments in matrix sdk files added
2022-03-07 13:14:10 +01:00
ericdecanini
0d75273121
Adds stubbing and verification for migration setRequired
2022-03-07 12:22:25 +01:00
ericdecanini
6338941885
Temporarily removes unit tests
2022-03-07 10:28:48 +01:00
ericdecanini
858923846d
Adds Uri static mocking
2022-03-07 09:56:44 +01:00
ericdecanini
9bd3254e41
Removes HomeServerConnectionConfigFixture in fake adapter
2022-03-04 23:27:21 +01:00
ericdecanini
7896bf9023
Removes HomeServerConnectionConfigFixture
2022-03-04 21:36:10 +01:00
ericdecanini
2d07b80ace
Fixes broken migration test
2022-03-04 21:14:27 +01:00
ericdecanini
c996f876a2
Fixes Uri EMPTY must not be null
2022-03-04 21:10:52 +01:00
ericdecanini
489670cf6b
Adds validation failed test for SessionParamsCreator
2022-03-04 21:07:12 +01:00
ericdecanini
bb2369dad2
Fixes broken tests due to uninitialised HomeServerConnectionConfig homeServerUri
2022-03-04 15:02:03 +01:00
ericdecanini
275505b3e6
Fixes lint errors
2022-03-04 14:53:16 +01:00
ericdecanini
32bde5a344
Adds loginType UNSUPPORTED
2022-03-04 14:24:47 +01:00
ericdecanini
40dee006dd
Refactors SessionCreator with added tests
2022-03-03 17:51:50 +01:00
ericdecanini
47d5d09af2
Fixes lint errors
2022-03-03 14:46:11 +01:00
ericdecanini
d3d99dd3ba
Replaces mocks with fixtures in fake json adapters
2022-03-03 13:21:04 +01:00
ericdecanini
b82efe95bd
Moves test packages
2022-03-03 13:18:02 +01:00
ericdecanini
dffd568e14
Adds AuthTo005 realm migration
2022-03-03 13:14:49 +01:00
ericdecanini
d33081c349
Refactors SessionParamsMapperTest by adding fake json adapters
2022-03-03 11:47:31 +01:00
ericdecanini
187502c358
Refactors SessionParamsMapperTest by adding fake moshi
2022-03-03 11:32:23 +01:00
ericdecanini
25e73e5bd0
Adds SessionParamsMapper tests
2022-03-03 10:56:07 +01: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
Benoit Marty
532f5e58ea
Move class Versions to internal package
2020-06-04 11:30:24 +02:00
Benoit Marty
57a5714fb5
Add the ability to compare Homeserver version ( #1442 )
2020-06-04 11:24:31 +02:00
Benoit Marty
af0b798ef1
Ensure Timber log output when running tests
...
to squash
2020-04-24 13:38:28 +02:00
Benoit Marty
6349f9828d
Optimize import
2020-02-26 16:59:20 +01:00