Examples of upWithForceChecksum()


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

    TestClient clientA = new TestClient("A", testConnection);
    Config testConfigA = clientA.getConfig();
   
    // - Create first database version
    clientA.createNewFolder("new folder/some subfolder");
    clientA.upWithForceChecksum();
   
    clientA.deleteFile("new folder/some subfolder"); // Delete this!
   
    // - Create new version (delete folder)
    TestSqlDatabase sqlDatabaseA = new TestSqlDatabase(testConfigA);
View Full Code Here

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

    clientA.createNewFile("file");

    clientA.up();

    clientA.changeFile("file");
    clientA.upWithForceChecksum();

    CleanupOperationOptions cleanupOptions = new CleanupOperationOptions();
    cleanupOptions.setKeepVersionsCount(1);
    boolean cleanupFailed = false;
    try {
View Full Code Here

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

    clientA.createNewFile("file");

    clientA.up();

    clientA.changeFile("file");
    clientA.upWithForceChecksum();

    CleanupOperationOptions cleanupOptions = new CleanupOperationOptions();
    cleanupOptions.setMaxDatabaseFiles(1);
    boolean cleanupFailed = false;
    try {
View Full Code Here

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

    clientA.createNewFile("file");

    clientA.up();

    clientA.changeFile("file");
    clientA.upWithForceChecksum();

    CleanupOperationOptions cleanupOptions = new CleanupOperationOptions();
    cleanupOptions.setMaxDatabaseFiles(1);
    boolean cleanupFailed = false;
    try {
View Full Code Here

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

    // work
    clientUxWork.down();

    clientUxWork.changeFile("config.xml");
    clientUxWork.upWithForceChecksum();
   
    clientUxWork.createNewFile("someotherfile1.xml");
    clientUxWork.upWithForceChecksum();
   
    clientUxWork.createNewFile("someotherfile2.xml");
View Full Code Here

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

    clientUxWork.changeFile("config.xml");
    clientUxWork.upWithForceChecksum();
   
    clientUxWork.createNewFile("someotherfile1.xml");
    clientUxWork.upWithForceChecksum();
   
    clientUxWork.createNewFile("someotherfile2.xml");
    clientUxWork.upWithForceChecksum();
   
    clientUxWork.createNewFile("someotherfile3.xml");
View Full Code Here

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

   
    clientUxWork.createNewFile("someotherfile1.xml");
    clientUxWork.upWithForceChecksum();
   
    clientUxWork.createNewFile("someotherfile2.xml");
    clientUxWork.upWithForceChecksum();
   
    clientUxWork.createNewFile("someotherfile3.xml");
    clientUxWork.upWithForceChecksum();
   
    // home
View Full Code Here

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

   
    clientUxWork.createNewFile("someotherfile2.xml");
    clientUxWork.upWithForceChecksum();
   
    clientUxWork.createNewFile("someotherfile3.xml");
    clientUxWork.upWithForceChecksum();
   
    // home
    clientDzHome.down();
   
    clientDzHome.changeFile("config.xml");
View Full Code Here

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

    // A: Create some file versions
    clientA.createNewFile("file.jpg");
    for (int i = 1; i <= 4; i++) {
      clientA.changeFile("file.jpg");
      clientA.upWithForceChecksum();
    }

    // B: Cleanup
    CleanupOperationResult cleanupOperationResult = clientA.cleanup(options);
    assertEquals(CleanupResultCode.OK, cleanupOperationResult.getResultCode());
View Full Code Here

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

    // B: Create some file versions
    clientB.createNewFile("file-B.jpg");
    for (int i = 1; i <= 6; i++) {
      clientB.changeFile("file-B.jpg");
      clientB.upWithForceChecksum();
    }

    // B: Cleanup (2 clients, so 7 databases is too much)
    cleanupOperationResult = clientB.cleanup(options);
    assertEquals(CleanupResultCode.OK, cleanupOperationResult.getResultCode());
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.