Examples of deleteTestData()


Examples of org.syncany.tests.util.TestClient.deleteTestData()

    assertFileListEquals(clientB.getLocalFilesExcludeLockedAndNoRead(), clientC.getLocalFilesExcludeLockedAndNoRead());   
   
    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
    clientC.deleteTestData();
  }
}
View Full Code Here

Examples of org.syncany.tests.util.TestClient.deleteTestData()

    clientB.down();
    TestAssertUtil.assertSqlDatabaseEquals(clientA.getDatabaseFile(), clientB.getDatabaseFile());

    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
  }

  @Test
  public void testCleanupFailsBecauseOfLocalChanges() throws Exception {
    // Setup
View Full Code Here

Examples of org.syncany.tests.util.TestClient.deleteTestData()

    assertEquals(0, cleanupOperationResult.getRemovedMultiChunks().size());
    assertEquals(0, cleanupOperationResult.getRemovedOldVersionsCount());

    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
  }

  @Test
  public void testCleanupFailsBecauseOfRemoteChanges() throws Exception {
    // Setup
View Full Code Here

Examples of org.syncany.tests.util.TestClient.deleteTestData()

    assertFileListEquals("Files of both clients should be identical.", clientA.getLocalFilesExcludeLockedAndNoRead(), clientB.getLocalFilesExcludeLockedAndNoRead());
    assertSqlDatabaseEquals(clientA.getDatabaseFile(), clientB.getDatabaseFile());       
   
    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
  }
 
  @Test
  public void testFolderVanishesWhenSyncingDown() throws Exception {   
    // Setup
View Full Code Here

Examples of org.syncany.tests.util.TestClient.deleteTestData()

    assertEquals(0, cleanupOperationResult.getRemovedMultiChunks().size());
    assertEquals(0, cleanupOperationResult.getRemovedOldVersionsCount());

    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
  }

  @Test
  public void testCleanupNoChanges() throws Exception {
    // Setup
View Full Code Here

Examples of org.syncany.tests.util.TestClient.deleteTestData()

    clientB.down();
    assertFileListEquals(clientA.getLocalFilesExcludeLockedAndNoRead(), clientB.getLocalFilesExcludeLockedAndNoRead());
   
    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
 
}
View Full Code Here

Examples of org.syncany.tests.util.TestClient.deleteTestData()

    assertEquals(0, cleanupOperationResult.getRemovedMultiChunks().size());
    assertEquals(0, cleanupOperationResult.getRemovedOldVersionsCount());

    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
  }

  @Test
  public void testCleanupManyUpsAfterCleanup() throws Exception {
    // Setup
View Full Code Here

Examples of org.syncany.tests.util.TestClient.deleteTestData()

    clientB.down();
    TestAssertUtil.assertSqlDatabaseEquals(clientA.getDatabaseFile(), clientB.getDatabaseFile());

    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
  }

  @Test
  public void testCleanupNoChangeBecauseDirty() throws Exception {
    // Setup
View Full Code Here

Examples of org.syncany.tests.util.TestClient.deleteTestData()

    assertFileListEquals(clientA.getLocalFilesExcludeLockedAndNoRead(), clientB.getLocalFilesExcludeLockedAndNoRead());
    assertSqlDatabaseEquals(clientA.getDatabaseFile(), clientB.getDatabaseFile());
   
    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
 
}
View Full Code Here

Examples of org.syncany.tests.util.TestClient.deleteTestData()

    assertSqlDatabaseEquals(clientA.getDatabaseFile(), clientC.getDatabaseFile());

    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
    clientC.deleteTestData();
  }

  @Test
  public void testIssue58_2() throws Exception {
    /*
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.