package jetbrains.buildServer.tools.installer.agent; import jetbrains.buildServer.tools.AbstractToolingTestCase; import org.junit.Test; public class CleaningSupportTest extends AbstractToolingTestCase { // @Test // public void configuration_exists() throws Exception { // final File registry = new File(getTestDataRoot(), ToolsInstallerAgentSupport.TEAMCITY_BUNLES_REPOSITORY); // Assert.assertTrue(registry.exists()); // } // // @Test // public void load_configuration() throws Exception { // final File registry = new File(getTestDataRoot(), ToolsInstallerAgentSupport.TEAMCITY_BUNLES_REPOSITORY); // final Configuration configuration = Configuration.fromStream(getTestDataRoot(), new FileInputStream(registry), RuntimeUtil.CONSOLE_MONITOR); // Assert.assertNotNull(configuration); // } @Test public void sizeof() throws Exception { // Long freeSpace = FileUtils.sizeOfDirectory(new File("c:\\.lelik")); // System.err.println(freeSpace); // Long freeSpace = FileUtil.getTotalDirectorySize(new File("c:\\apache-ant-1.8.2")); // System.err.println(freeSpace); } }