コード例 #1
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);
   irodsFileSystem = IRODSFileSystem.instance();
 }
コード例 #2
0
 @BeforeClass
 public static void setUpBeforeClass() throws Exception {
   irodsFileSystem = IRODSFileSystem.instance();
   org.irods.jargon.testutils.TestingPropertiesHelper testingPropertiesLoader =
       new TestingPropertiesHelper();
   testingProperties = testingPropertiesLoader.getTestProperties();
   irodsTestSetupUtilities = new org.irods.jargon.testutils.IRODSTestSetupUtilities();
   irodsTestSetupUtilities.initializeIrodsScratchDirectory();
   irodsTestSetupUtilities.initializeDirectoryForTest(IRODS_TEST_SUBDIR_PATH);
   SettableJargonProperties settableJargonProperties =
       new SettableJargonProperties(irodsFileSystem.getJargonProperties());
   jargonOriginalProperties = settableJargonProperties;
 }