@BeforeClass public static void setUpBeforeClass() throws Exception { TestingPropertiesHelper testingPropertiesLoader = new TestingPropertiesHelper(); testingProperties = testingPropertiesLoader.getTestProperties(); irodsTestSetupUtilities = new IRODSTestSetupUtilities(); irodsTestSetupUtilities.initializeIrodsScratchDirectory(); irodsTestSetupUtilities.initializeDirectoryForTest(IRODS_COMMAND_TEST_PATH); }
@BeforeClass public static void setUpBeforeClass() throws Exception { TestingPropertiesHelper testingPropertiesLoader = new TestingPropertiesHelper(); testingProperties = testingPropertiesLoader.getTestProperties(); scratchFileUtils = new ScratchFileUtils(testingProperties); scratchFileUtils.clearAndReinitializeScratchDirectory(IRODS_TEST_SUBDIR_PATH); irodsTestSetupUtilities = new IRODSTestSetupUtilities(); irodsTestSetupUtilities.initializeIrodsScratchDirectory(); irodsTestSetupUtilities.initializeDirectoryForTest(IRODS_TEST_SUBDIR_PATH); assertionHelper = new AssertionHelper(); IRODSAccount irodsAccount = testingPropertiesHelper.buildIRODSAccountFromTestProperties(testingProperties); irodsFileSystem = new IRODSFileSystem(irodsAccount); }