Package org.syncany.tests.util

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


    assertEquals("Repository should NOT contain any files.", 0, repoFileList.length);

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

    }
   
    assertTrue(exceptionThrown);
   
    clientA.deleteTestData();
    clientB.deleteTestData();
 
}
View Full Code Here

    assertFileListEquals(clientA.getLocalFilesExcludeLockedAndNoRead(), clientC.getLocalFilesExcludeLockedAndNoRead());   
   
    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
    clientC.deleteTestData();
 
 
  @Test
  public void testRemoveDirtyLostMultiChunksIssue132_1() throws Exception {
    /*
 
View Full Code Here

    StatusFolderResponse cliResponse = (StatusFolderResponse) response;
   
    //assertEquals("Cannot run CLI commands while sync is running or requested.\n", cliResponse.getOutput());
   
    watchServer.stop();
    clientA.deleteTestData();
  }
   
  @Subscribe
  public void onResponseReceived(Response response) { 
    responses.put(response.getRequestId(), response);
View Full Code Here

    assertFileListEquals(clientA.getLocalFilesExcludeLockedAndNoRead(), clientB.getLocalFilesExcludeLockedAndNoRead());   
    assertSqlResultEquals(clientB.getDatabaseFile(), "select count(*) from multichunk_muddy", "0");
   
    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
 
 
  @Test
  public void testRemoveDirtyLostMultiChunksIssue132_2() throws Exception {
    /*
 
View Full Code Here

    assertFileListEquals(clientA.getLocalFilesExcludeLockedAndNoRead(), clientB.getLocalFilesExcludeLockedAndNoRead());   
    assertSqlResultEquals(clientB.getDatabaseFile(), "select count(*) from multichunk_muddy", "0");
   
    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
 
}
View Full Code Here

    assertFileListEquals(clientA.getLocalFilesExcludeLockedAndNoRead(), clientB.getLocalFilesExcludeLockedAndNoRead());
    assertSqlDatabaseEquals(clientA.getDatabaseFile(), clientB.getDatabaseFile());

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

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

    assertFileListEquals(clientA.getLocalFilesExcludeLockedAndNoRead(), clientB.getLocalFilesExcludeLockedAndNoRead());
    assertSqlDatabaseEquals(clientA.getDatabaseFile(), clientB.getDatabaseFile());

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

}
View Full Code Here

    // Tear down
    lockedFileLock.release();
    lockedFile.close();

    clientA.deleteTestData();
  }

  @Test
  public void testPermissionDeniedNotReadable() throws Exception {
    if (EnvironmentUtil.isWindows()) {
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.