Examples of deleteTestData()


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

    assertTrue(clientA.getLocalFile("ignoredarchive.r01").exists());
    assertFalse(clientB.getLocalFile("ignoredarchive.r01").exists());
   
    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
    TestFileUtil.deleteDirectory(tempDir);
  }
}
View Full Code Here

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

      assertNotNull(Plugins.get(pluginInfo.getLocalPluginInfo().getPluginId()));
    }

    // Tear down
    client.deleteTestData();
  }

  @Test
  public void testPluginListRemoteOnlyReleasesOnly() throws Exception {
    // Tests which plugin releases are available. This is difficult because
View Full Code Here

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

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

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

    assertNotNull(pluginResult);
    assertEquals(PluginResultCode.OK, pluginResult.getResultCode());

    // Tear down
    client.deleteTestData();
  }

  @Test
  public void testPluginListRemoteOnlyIncludingSnapshots() throws Exception {
    // Tests which plugin snapshots are available. This is difficult because
View Full Code Here

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

    assertNotNull(pluginResult);
    assertEquals(PluginResultCode.OK, pluginResult.getResultCode());

    // Tear down
    client.deleteTestData();
  }

  @Test
  public void testPluginInstall() throws Exception {
    // Test the installation of FTP plugin
View Full Code Here

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

    // Only one file should be in here: the jar for ftp.
    assertEquals(1, (new File(configDir, "plugins/lib/")).list().length);

    // Tear down
    client.deleteTestData();
    TestFileUtil.deleteDirectory(configDir);
    System.setProperty("user.home", "/tmp");
  }

  @Test
View Full Code Here

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

    // Only one file should be in here: the jar for ftp.
    assertEquals(1, (new File(configDir, "plugins/lib/")).list().length);

    // Tear down
    client.deleteTestData();
    TestFileUtil.deleteDirectory(configDir);
    System.setProperty("user.home", "/tmp");
  }

  private File setupCleanConfigDir() throws Exception {
View Full Code Here

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

    clientA.down();

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

}
View Full Code Here

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

    clientUxWork.down();
   
    // Tear down
    TestFileUtil.deleteDirectory(tempDir);
   
    clientUxWork.deleteTestData();
    clientDzHome.deleteTestData();
  }   
}
View Full Code Here

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

        2*Integer.parseInt(TestSqlUtil.runSqlSelect("select count(*) from multichunk_chunk", databaseConnectionA)),
        Integer.parseInt(TestSqlUtil.runSqlSelect("select count(*) from multichunk_chunk", databaseConnectionB)));   
   
    // Tear down
    clientA.deleteTestData();
    clientB.deleteTestData();
  }
}
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.