コード例 #1
0
ファイル: ImkdirCommandTest.java プロジェクト: UPPMAX/irods
 @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);
 }
コード例 #2
0
 @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);
 }