Package org.syncany.plugins.transfer

Examples of org.syncany.plugins.transfer.TransferSettings


    // Scenario: A ignores files using wildcards, creates it then ups, B should not have the file

    // Setup
    File tempDir = TestFileUtil.createTempDirectoryInSystemTemp();
   
    TransferSettings testConnection = TestConfigUtil.createTestLocalConnection();   
    TestClient clientA = new TestClient("A", testConnection);
    TestClient clientB = new TestClient("B", testConnection);
   
    //Create ignore file and reload it
    File syncanyIgnore = clientA.getLocalFile(Config.FILE_IGNORE);
View Full Code Here


import org.syncany.tests.util.TestConfigUtil;

public class ChangedTypeScenarioTest {
  @Test
  public void testChangeTypeToFolder() throws Exception {   
    final TransferSettings testConnection = TestConfigUtil.createTestLocalConnection();   
    final TestClient clientA = new TestClient("A", testConnection);
    final TestClient clientB = new TestClient("B", testConnection);
   
    ClientActions.run(clientA, null,
      new AbstractClientAction[] {
View Full Code Here

public class FirstVersionDirtyScenarioTest {
  @Test
  public void testFirstVersionDirty() throws Exception {
    // Setup
    TransferSettings testConnection = TestConfigUtil.createTestLocalConnection();
   
    TestClient clientA = new TestClient("A", testConnection);
    TestClient clientB = new TestClient("B", testConnection);
   
    UpOperationOptions forceUpOperationOptions = new UpOperationOptions();
View Full Code Here

public class EvilCUpWithoutDownScenarioTest
  @Test
  public void testEvilC() throws Exception {
    // Setup
    TransferSettings testConnection = TestConfigUtil.createTestLocalConnection();
   
    TestClient clientA = new TestClient("A", testConnection);
    TestClient clientB = new TestClient("B", testConnection);
    TestClient clientC = new TestClient("C", testConnection);
   
View Full Code Here

  // TODO [low] If a file has vanished, are its chunks and multichunks still added to the database, and then uploaded? If so, fix this!
 
  @Test
  public void testCallUpWhileDeletingFiles() throws Exception {
    // Setup
    final TransferSettings testConnection = TestConfigUtil.createTestLocalConnection();
    final TestClient clientA = new TestClient("A", testConnection);
    final TestClient clientB = new TestClient("B", testConnection);
    final int numFiles = 100;
    final int numFilesVanished = 50;
    final int numFilesRemaining = numFiles - numFilesVanished;
View Full Code Here

  }
 
  @Test
  public void testFolderVanishesWhenSyncingDown() throws Exception {   
    // Setup
    TransferSettings testConnection = TestConfigUtil.createTestLocalConnection();   
    TestClient clientA = new TestClient("A", testConnection);
    TestClient clientB = new TestClient("B", testConnection);

    // A
    clientA.createNewFolder("folder1");   
View Full Code Here

public class RenameNoDownloadMultiChunksScenarioTest {
  @Test
  public void testRenameAndCheckIfMultiChunksAreDownloaded() throws Exception {
    // Setup
    TransferSettings testConnection = TestConfigUtil.createTestLocalConnection();   
    TestClient clientA = new TestClient("A", testConnection);
    TestClient clientB = new TestClient("B", testConnection);

    // Run
   
View Full Code Here

public class Issue200ScenarioTest {
  @Test
  public void testIssue200() throws Exception {
    // Setup
    TransferSettings testConnection = TestConfigUtil.createTestLocalConnection();
   
    TestClient clientA = new TestClient("A", testConnection);
    TestClient clientB = new TestClient("B", testConnection);
   
    // Run
View Full Code Here

public class ManyRenamesScenarioTest
  @Test
  public void testManyRenames() throws Exception {
    // Setup
    TransferSettings testConnection = TestConfigUtil.createTestLocalConnection();
   
    TestClient clientA = new TestClient("A", testConnection);
    TestClient clientB = new TestClient("B", testConnection);
   
    // A new/up
View Full Code Here

public class RenameFileWithDiffModifiedDateScenarioTest {
  @Test
  public void testChangedModifiedDate() throws Exception {
    // Setup
    TransferSettings testConnection = TestConfigUtil.createTestLocalConnection();
   
    TestClient clientA = new TestClient("A", testConnection);
    TestClient clientB = new TestClient("B", testConnection);

    // Run
View Full Code Here

TOP

Related Classes of org.syncany.plugins.transfer.TransferSettings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.