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
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
Benoit Marty
f81eb298cb
Cleanup QRCode v1
2020-02-19 18:06:51 +01:00
Benoit Marty
66a2958c39
Add unit test to check byte array to string conversion
2020-02-19 14:21:41 +01:00
Ganard
a305ce302e
Coroutine sequencer: use semaphore
2020-02-14 19:37:51 +01:00
Benoit Marty
dd13b6bd99
Add test for DisplayName condition (passing)
2020-02-07 15:44:46 +01:00
Benoit Marty
9df699db59
Reorder tests
2020-02-07 15:35:09 +01:00
Benoit Marty
8bdb2b88fd
make the test compile
2020-02-07 15:32:36 +01:00
Benoit Marty
80f4f95f81
QRCode: requestId is not supposed to be an eventId
2020-01-31 11:11:27 +01:00
Benoit Marty
fb98d6ef42
QRCode: add other_device_key field and make it optional, along with other_user_key
2020-01-30 16:46:12 +01:00
Benoit Marty
2bccd19f84
QRcode: Url encode the keys
2020-01-30 10:17:04 +01:00
Benoit Marty
8b6ffc2fb1
ktlint
2020-01-29 16:18:33 +01:00
Valere
63e36b0403
Remove unused test
2020-01-29 10:16:57 +01:00
Benoit Marty
df49ab8362
QR code: update code which build URL
2020-01-28 15:48:09 +01:00
Benoit Marty
c323b61575
Ignore typo
2020-01-22 18:27:59 +01:00
Benoit Marty
cbf418c401
Update after MSC change
2020-01-22 18:22:01 +01:00
Benoit Marty
41c691f26c
Create QrCodeData class and method to convert to URL and vice versa, with TUs
2020-01-22 17:58:25 +01:00
Valere
6ab540045b
Refactoring / deprecation of MXDeviceInfo
...
introduced TrustLevels
2020-01-21 10:25:57 +01:00
Benoit Marty
35f011ba37
Fix ktlint issues
2020-01-09 14:20:17 +01:00
Benoit Marty
93cdce6c3e
Cleanup tests
2020-01-09 14:20:17 +01:00
Benoit Marty
ae3381227c
Add Unit tests from legacy SDK
2020-01-09 14:20:17 +01:00
Benoit Marty
e14b9b3b20
Fix test compilation issue
2020-01-09 08:03:14 +01:00
ganfra
5dd46e82d7
Sync: make only one big transaction to avoid having bad states
2019-12-13 18:21:44 +01:00
ganfra
fe2be90002
Sync: use the CoroutineSequencer but need more tests
2019-12-13 15:37:38 +01:00
ganfra
eab94b4f03
Sequencer: handle cancellation
2019-12-12 14:30:40 +01:00
ganfra
6b61c95843
Coroutines: introduce a sequencer
2019-12-11 20:39:07 +01:00
ganfra
ad9a48d5fa
Clean code
2019-11-05 18:36:30 +01:00
ganfra
93df8c56a8
Fix compilation error and use mockk instead of manual mocking (prone to error)
2019-11-04 17:09:03 +01:00
Benoit Marty
7c567b04bb
Make test compile and pass
2019-10-24 16:36:12 +02:00
Benoit Marty
723a007c39
Merge pull request #626 from vector-im/feature/myUserIdInject
...
Inject userId where possible
2019-10-21 16:01:48 +02:00
Benoit Marty
cd0a40c18d
Fix compil test issue
2019-10-18 14:34:44 +02:00
Benoit Marty
17636019e0
Change order of parameters
2019-10-18 14:32:34 +02:00
Benoit Marty
3622c0ecb4
Mark all as read
2019-10-11 16:22:32 +02:00
Benoit Marty
fbb23dfb66
ktlint: fix (no-empty-first-line-in-method-block) issues
2019-10-09 16:43:12 +02:00
Benoit Marty
15dc4d6369
Fix ktlint issue automatically by running ./ktlint --android -v -F
2019-10-09 15:24:05 +02:00
Benoit Marty
03f8120b7d
Create enum for Push rules. Also add some TODOs
2019-09-20 17:50:15 +02:00
Benoit Marty
65e123d87f
Split long lines
2019-07-11 13:32:28 +02:00
Valere
d0b145d031
Edit emote
2019-07-11 12:29:02 +02:00
Benoit Marty
7a08a11b19
Fix compilation of test
2019-07-10 18:17:03 +02:00
Valere
3aa30e5f15
Fix reply of reply
2019-07-10 18:06:44 +02:00
ganfra
dd07f5c2a6
TimelineEvent : update sender data when loading room members and prune event (+ remove RoomSummaryMapper param)
2019-07-08 15:32:24 +02:00
Benoit Marty
f41c0311fa
Fix done TODO
2019-07-03 11:58:50 +02:00
Benoit Marty
0f039fce32
Add 30 missing copyright block
2019-06-28 15:59:20 +02:00
Benoit Marty
71ae99012b
Code review and cleanup
2019-06-26 12:19:54 +02:00
Valere
1feb1f9c3f
Fix test
2019-06-26 12:19:54 +02:00
Valere
4e6b34b9d1
Fix issues on Notification Event resolver
2019-06-26 12:19:54 +02:00
Valere
0584fc3666
Get real push rules from server and evaluate them
2019-06-26 12:19:54 +02:00
Valere
0e46fc4c0a
WIP
2019-06-26 12:19:54 +02:00
Benoit Marty
1436667e7d
Crypto
2019-05-16 10:34:17 +02:00
ganfra
0266380485
Start introducing tests
2018-12-11 15:36:09 +01:00
ganfra
b406e8301a
first commit
2018-10-03 17:58:12 +02:00