Add integration test for FeedManager

Attention: This factors out a DnsModule to be able to make actual
non-Tor DNS lookups for testing.
This commit is contained in:
Torsten Grote
2017-04-10 18:58:46 -03:00
parent d40a058ef5
commit b0b4a85d15
8 changed files with 281 additions and 16 deletions

View File

@@ -0,0 +1,16 @@
package org.briarproject.bramble.test;
import javax.net.SocketFactory;
import dagger.Module;
import dagger.Provides;
@Module
public class TestSocksModule {
@Provides
SocketFactory provideSocketFactory() {
return SocketFactory.getDefault();
}
}