equal
deleted
inserted
replaced
75 } |
75 } |
76 } |
76 } |
77 |
77 |
78 |
78 |
79 // Use a random name provided by UUID to avoid collision with other tests |
79 // Use a random name provided by UUID to avoid collision with other tests |
80 final static String logFile = FileHandlerPath.class.getSimpleName() + "_" |
80 static final String logFile = FileHandlerPath.class.getSimpleName() + "_" |
81 + UUID.randomUUID().toString() + ".log"; |
81 + UUID.randomUUID().toString() + ".log"; |
82 final static String tmpLogFile; |
82 static final String tmpLogFile; |
83 final static String userDir = System.getProperty("user.dir"); |
83 static final String userDir = System.getProperty("user.dir"); |
84 final static String tmpDir = System.getProperty("java.io.tmpdir"); |
84 static final String tmpDir = System.getProperty("java.io.tmpdir"); |
85 private static final List<Properties> properties; |
85 private static final List<Properties> properties; |
86 static { |
86 static { |
87 tmpLogFile = new File(tmpDir, logFile).toString(); |
87 tmpLogFile = new File(tmpDir, logFile).toString(); |
88 Properties props1 = new Properties(); |
88 Properties props1 = new Properties(); |
89 Properties props2 = new Properties(); |
89 Properties props2 = new Properties(); |
239 f2.close(); |
239 f2.close(); |
240 System.out.println("Success for " + name); |
240 System.out.println("Success for " + name); |
241 } |
241 } |
242 |
242 |
243 |
243 |
244 final static class PermissionsBuilder { |
244 static final class PermissionsBuilder { |
245 final Permissions perms; |
245 final Permissions perms; |
246 public PermissionsBuilder() { |
246 public PermissionsBuilder() { |
247 this(new Permissions()); |
247 this(new Permissions()); |
248 } |
248 } |
249 public PermissionsBuilder(Permissions perms) { |
249 public PermissionsBuilder(Permissions perms) { |