mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Add Android integration tests that checks if included bridges work
This also changes the way bridges are used. Instead of using the torrc config file, bridges are now activated via Tor's control port.
This commit is contained in:
@@ -1,11 +1,23 @@
|
||||
package org.briarproject.bramble;
|
||||
|
||||
import org.briarproject.bramble.plugin.tor.BridgeProvider;
|
||||
import org.briarproject.bramble.plugin.tor.BridgeProviderImpl;
|
||||
import org.briarproject.bramble.system.AndroidSystemModule;
|
||||
|
||||
import javax.inject.Singleton;
|
||||
|
||||
import dagger.Module;
|
||||
import dagger.Provides;
|
||||
|
||||
@Module(includes = {
|
||||
AndroidSystemModule.class
|
||||
})
|
||||
public class BrambleAndroidModule {
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
BridgeProvider provideBridgeProvider() {
|
||||
return new BridgeProviderImpl();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user