Changeset 8 for src/test/java
- Timestamp:
- 01/28/20 10:19:55 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/java/geniusweb/profilesserver/AutoUpdatingProfilesFactoryTest.java
r3 r8 44 44 */ 45 45 public class AutoUpdatingProfilesFactoryTest { 46 46 47 private static final String JOBS = "jobs"; 47 48 private static final String JOB1 = "jobs/jobs1"; … … 242 243 } 243 244 245 @Test 246 public void testEnvVariable() throws IOException { 247 Path dir = Files.createTempDirectory("tempdir"); 248 // This test does not work because we can not set the env variable. 249 // new EnvironmentVariables().set("PROFILES_ROOTDIR", "1"); 250 System.setProperty("PROFILES_ROOTDIR", "1");// dir.toAbsolutePath().toString()); 251 System.out.println(System.getenv("PROFILES_ROOTDIR")); 252 } 253 244 254 /** 245 255 * Copy files and all sub-files.
Note:
See TracChangeset
for help on using the changeset viewer.