use of org.syncany.plugins.unreliable_local.UnreliableLocalTransferPlugin in project syncany by syncany.
the class TestConfigUtil method createTestUnreliableLocalConnection.
public static UnreliableLocalTransferSettings createTestUnreliableLocalConnection(List<String> failingOperationPatterns) throws Exception {
UnreliableLocalTransferPlugin unreliableLocalPlugin = new UnreliableLocalTransferPlugin();
UnreliableLocalTransferSettings unreliableLocalConnection = createTestUnreliableLocalConnectionWithoutInit(unreliableLocalPlugin, failingOperationPatterns);
unreliableLocalPlugin.createTransferManager(unreliableLocalConnection, null).init(true);
return unreliableLocalConnection;
}
Aggregations