Ivan Enderlin
ea2a27075a
feat(ffi,base,ui,sdk): Migrate from sliding sync to simplified sliding sync.
...
This patch migrates the entire SDK to sliding sync to simplified sliding
sync.
2024-07-17 16:33:37 +02:00
Ivan Enderlin
bacf85d807
chore: Use anyhow from the workspace.
2024-07-11 11:16:17 +02:00
Damir Jelić
fefdfd2e4b
test: Add a test to verify that interactive self-verification works
...
This also checks that secrets are gossiped from one device to the
other and that the recovery and backup states are correctly updated.
2024-06-26 14:31:31 +02:00
Ivan Enderlin
f669b3a530
chore(test): Use workspace dependencies.
2024-05-13 14:16:36 +02:00
Ivan Enderlin
da8588787f
chore(cargo): Declare reqwest as a workspace dependency.
2024-05-13 14:15:35 +02:00
Kévin Commaille
856dd01009
Upgrade http, ruma, reqwest and wiremock dependencies ( #3362 )
...
They need to be updated together
because the latters depend on the former.
matrix-authentication-service is still using http 0.2
so we need to add a conversion layer between both major versions
for OIDC requests.
We need to update vodozemac too because of a dependency resolution issue.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2024-04-30 14:04:56 +02:00
Kévin Commaille
da2abccc0d
chore: Disable clippy::assigning_clones lint
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2024-04-02 15:05:41 +02:00
Benjamin Bouvier
4744a994b4
integration tests: enhance testing of test_room_notification_count
...
This adds additional checks for each room updates, and works around a few race conditions, notably one where the server would send a remote echo for a message, but not update the
computed unread_notification_counts immediately. This tends to make the test more stable, in that each response is well known and now properly tested.
2024-03-25 18:03:18 +01:00
Andy Balaam
ca13be020c
build: Make wiremock a workspace dependency
2024-03-19 09:39:31 +00:00
Timo Kösters
79f97504f8
sliding_sync: Refactor delayed decryption test
...
Signed-off-by: Timo Kösters <timo@koesters.xyz >
2024-02-12 14:48:35 +01:00
Timo Kösters
910887fbc6
sliding_sync: Add test for delayed decryption roominfo updates
...
Signed-off-by: Timo Kösters <timo@koesters.xyz >
2024-02-12 14:48:35 +01:00
Jonas Platte
315e6c9d85
Use workspace dependencies for matrix-sdk-test
2024-01-05 12:58:54 +01:00
Jonas Platte
1c7bf820bf
Use workspace dependencies for crates/* dependencies
...
… except from examples (such that they remain copy-pastable).
2024-01-04 10:02:07 +01:00
Benjamin Bouvier
09e355a7bc
read receipts: add integration tests for read receipts
2023-12-21 11:55:29 +01:00
Kévin Commaille
5310f41cda
integration-testing: Add test for QR verification
...
And check room ID in SAS test.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-12-14 15:23:16 +01:00
Jonas Platte
7be84ca71a
test: Deduplicate tracing_subscriber initialization
...
… and set a sensible default log level.
2023-11-02 12:58:03 +01:00
Jonas Platte
9956b56a2c
test: Remove unused helpers feature from integration testing crate
2023-11-02 12:58:03 +01:00
Benjamin Bouvier
8de33f68f3
integration tests: randomize user names better
...
In the previous situation, running the tests with `cargo test` would sometimes fail because despite appending the number of milliseconds since
the start of epoch to the user names, some user names would clash across different tests, leading to unexpected results. This fixes it by using
an actual RNG in there, so the names don't ever clash.
2023-11-01 07:57:46 +01:00
Jonas Platte
05a1021724
Use assert_let! instead of assert_matches! with bindings
2023-10-26 17:29:29 +02:00
Jonas Platte
1a15802201
Upgrade Ruma
2023-09-20 14:19:06 +02:00
Jonas Platte
45b7e075c9
Remove unused dependencies
2023-09-18 19:56:06 +02:00
Jonas Platte
1679669376
Remove the 'testing' feature from matrix-sdk-ui
...
At the expense of slightly increasing our public API, but we can always
deprecate things.
2023-08-03 21:39:56 +02:00
jonnyandrew
7e7996d43d
ui: Add local echoes for reactions to Timeline
2023-06-26 15:17:48 +00:00
Jonas Platte
d680b331d0
Make tokio a workspace dependency
2023-03-28 21:08:57 +02:00
Benjamin Kampmann
60d82fde38
test: add sliding-sync integration-testing facilities
2023-01-12 13:24:16 +01:00
Jonas Platte
2e30e11101
refactor: Use workspace dependencies for more crates
2023-01-10 10:19:02 +01:00
Jonas Platte
0cfc7540cf
refactor: Use workspace dependencies for tracing
2022-10-18 19:24:22 +02:00
Benjamin Kampmann
b5bd6dfee9
fix: Apply redactions to room state events in database, too ( #917 )
...
fixes #890
2022-09-27 09:24:53 +02:00
Jonas Platte
a744447bb5
test: Respect RUST_LOG in integration-testing
2022-09-08 12:13:30 +02:00
Flix
df4ee7db4c
test: Add test for repeated joining and leaving
2022-09-05 16:33:31 +02:00
Jonas Platte
936f0371de
chore: Use once_cell instead of lazy_static in integration test crate
2022-08-11 10:45:04 +02:00
Jonas Platte
ecc800a319
chore: Sort dependencies of integration test crate
2022-08-11 10:32:12 +02:00
Benjamin Kampmann
c27016b2e7
testing: fix review grumbles
2022-08-01 13:01:50 +02:00
Benjamin Kampmann
bf6e1b594d
fix(integration-tests): requires multi-threading feature from tokio
2022-07-21 18:06:48 +02:00
Benjamin Kampmann
e2f1f01cb2
test(sdk): creating integration tests for invitations
2022-07-18 17:33:09 +02:00