akwizgran
01b1741e83
Factor out Tor wrapper from plugin
2023-03-27 12:02:05 +01:00
Sebastian Kürten
26ec200f50
Convert tor to regular dependencies
2023-02-24 12:51:50 +01:00
akwizgran
c3f3c6211d
Merge branch 'mailbox-integration-tests' into 'master'
...
First integration test for mailbox with two contacts
See merge request briar/briar!1725
2022-11-07 12:58:18 +00:00
Torsten Grote
bab6ec70f5
Factor out mailbox constants into a MailboxConfig
...
so that we can change them for integration tests via the new ModularMailboxModule that now also includes the UrlProvider
2022-10-21 12:22:57 -03:00
akwizgran
8db25738e2
Speed up BridgeTest by only retrying bridges that have failed.
2022-10-21 16:02:44 +01:00
Torsten Grote
2a2c054959
Merge branch '2343-mailbox-as-submodule' into 'master'
...
End-to-end integration tests for communication via mailbox
Closes #2343
See merge request briar/briar!1699
2022-10-03 13:11:18 +00:00
akwizgran
e4e7d84bde
Use null safety library.
2022-09-29 13:08:02 +01:00
akwizgran
264b2ca2f3
Add Snowflake pluggable transport.
2022-09-27 15:10:44 +01:00
Sebastian Kürten
459b97c1d4
Integration tests for mailbox using mailbox-lib as submodule
2022-09-22 18:08:03 +02:00
akwizgran
339e4daded
Update Dagger modules.
2022-08-05 14:16:15 +01:00
akwizgran
05bf3833cf
No need to use @Before to create stateful test objects.
2022-06-20 16:24:55 +01:00
akwizgran
2bf490b973
Use non-default Tor ports for BridgeTest.
2022-05-19 14:12:36 +01:00
akwizgran
d2f25f2ebe
Refactor Tor plugin factories.
2022-05-19 14:12:36 +01:00
akwizgran
fa0610fff1
Use vanilla bridges in parallel with obfs4 bridges.
2022-03-30 18:01:28 +01:00
akwizgran
05737d858d
Increase number of unreachable bridges allowed.
2022-03-30 14:30:44 +01:00
akwizgran
a256027916
Tolerate up to 4 unreachable bridges per run.
2022-03-10 10:03:06 +00:00
akwizgran
e3682bb331
Make more attempts per bridge to try to get stable results.
2022-03-09 12:54:34 +00:00
akwizgran
6805040ac4
Make BridgeTest more robust by trying each bridge three times.
2022-03-08 22:45:39 +00:00
akwizgran
bdf02bbc6c
Increase test timeout because meek bridge is super slow.
2021-12-13 12:53:42 +00:00
akwizgran
d5b2ebdb23
Include meek bridge in test and mark it as essential.
2021-12-13 11:56:52 +00:00
akwizgran
e0e2c0cc89
Add unit test.
2021-12-07 10:33:16 +00:00
akwizgran
114d80ad43
Use non-default obfs4 bridges in Russia.
2021-12-06 18:11:16 +00:00
Daniel Lublin
1809be4656
Factor out onion address encoder to CryptoComponent
2021-11-15 12:59:56 +01:00
Sebastian Kürten
a1f9e80e12
Inject Tor ports via annotated int parameters
2021-11-03 15:43:01 +01:00
Sebastian Kürten
d4656df384
Make Tor ports configurable at runtime
...
Instead of using hard-coded values 59050 and 59051 for the Tor socks and
control ports, provide them via a TorPorts interface. This makes it possible
to pass the ports to a TorPortsImpl in modules. Hence it is possible to
configure the Tor port for different types of builds or via command line
options in case of briar headless or other clients using the core code.
2021-10-16 14:41:29 +02:00
akwizgran
6354e91b55
Allow BridgeTest to pass if one bridge is unreachable.
2021-05-04 13:13:57 +01:00
akwizgran
0fd59a26f6
Raise BridgeTest timeout to avoid spurious failures.
2021-01-29 15:39:59 +00:00
akwizgran
086c10abc0
Hold wake lock while polling.
2020-08-07 15:10:18 +01:00
akwizgran
dfefb88b32
Allow Android and headless to use different task schedulers.
2020-08-07 15:02:05 +01:00
akwizgran
d617e67006
Add method for plugins to get remote properties.
2020-07-21 17:06:02 +01:00
akwizgran
43a91e2e57
Fix test expectations.
2020-06-26 17:34:35 +01:00
akwizgran
ea288b998b
Rename available/unavailable states.
2020-06-26 17:34:34 +01:00
akwizgran
48dc598ca3
Update tests.
2020-06-26 17:34:34 +01:00
akwizgran
5962d3c763
Replace default methods with helper classes.
...
This is a workaround for AbstractMethodErrors
thrown by on-device tests.
2019-12-11 16:28:19 +00:00
akwizgran
d964f06de1
Use default methods for easier maintenance.
2019-06-03 15:34:16 +01:00
akwizgran
100e17b242
Use BrambleCoreModule in integration tests.
2019-06-03 15:34:16 +01:00
akwizgran
7bf86d9c53
Use real executors in integration tests.
2019-06-03 15:34:16 +01:00
akwizgran
668433dd62
Pass a connection handler to plugins when polling.
2019-05-17 14:07:54 +01:00
akwizgran
c3b5b04b71
Broadcast events asynchronously.
2019-04-05 15:00:49 +01:00
Torsten Grote
b023593a2c
Use the pluggable transport meek lite where obfs4 is blocked
2019-02-19 12:49:22 -03:00
akwizgran
bc352a2dc6
Enable Tor on Mac OS once binaries are available.
2018-11-23 13:07:12 +00:00
akwizgran
0a0a6a6369
Disable Tor's connection padding on mobile data or battery.
2018-11-08 14:50:36 +00:00
akwizgran
e4a3a1ad40
Delete Tor state after testing each bridge.
2018-09-27 16:07:46 +01:00
akwizgran
b2febbc6e9
Specify optional tests with an environment variable.
2018-09-06 10:34:04 +01:00
Torsten Grote
dee8f68477
Do not run Tor bridge test with every CI run
2018-09-03 13:02:54 -03:00
Torsten Grote
59048f106a
Move Tor Bridge tests and rename bramble-j2se to bramble-java
2018-09-03 12:58:20 -03:00
akwizgran
da7cf4af28
Rename bramble-j2se to bramble-java.
2018-09-03 16:28:59 +01:00