Search in sources :

Example 1 with UnreliableLocalTransferPlugin

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;
}
Also used : UnreliableLocalTransferSettings(org.syncany.plugins.unreliable_local.UnreliableLocalTransferSettings) UnreliableLocalTransferPlugin(org.syncany.plugins.unreliable_local.UnreliableLocalTransferPlugin)

Aggregations

UnreliableLocalTransferPlugin (org.syncany.plugins.unreliable_local.UnreliableLocalTransferPlugin)1 UnreliableLocalTransferSettings (org.syncany.plugins.unreliable_local.UnreliableLocalTransferSettings)1