Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
Some lines were lost in translation
Browse files Browse the repository at this point in the history
  • Loading branch information
cr0 committed Sep 10, 2014
1 parent 1825564 commit f11afde
Showing 1 changed file with 21 additions and 0 deletions.
Expand Up @@ -26,6 +26,9 @@
import org.syncany.config.to.ConfigTO;
import org.syncany.plugins.PluginOptionSpecs;
import org.syncany.plugins.annotations.Encrypted;
import org.syncany.plugins.annotations.TransferPluginDefinition;
import org.syncany.plugins.transfer.TransferManager;
import org.syncany.plugins.transfer.TransferPlugin;
import org.syncany.plugins.transfer.TransferSettings;

import java.io.File;
Expand Down Expand Up @@ -82,6 +85,24 @@ public void testRestore() throws Exception {

}

@TransferPluginDefinition(settings = DummyTransferSettings.class)
public static class DummyTransferPlugin extends TransferPlugin {

public DummyTransferPlugin() {
super("test");
}

@Override
public TransferSettings createSettings() {
return null;
}

@Override
public TransferManager createTransferManager(TransferSettings connection) {
return null;
}
}

public static class DummyTransferSettings extends TransferSettings {

@Element(required = true)
Expand Down

0 comments on commit f11afde

Please sign in to comment.