Revision 4231
Added by daigle over 15 years ago
MetacatClientTest.java | ||
---|---|---|
72 | 72 |
private static String anotherpassword; |
73 | 73 |
static { |
74 | 74 |
try { |
75 |
metacatUrl = PropertyService.getProperty("test.metacat.url");
|
|
76 |
username = PropertyService.getProperty("test.mcuser");
|
|
77 |
password = PropertyService.getProperty("test.mcpassword");
|
|
78 |
anotheruser = PropertyService.getProperty("test.mcanotheruser");
|
|
79 |
anotherpassword = PropertyService.getProperty("test.mcanotherpassword");
|
|
75 |
metacatUrl = PropertyService.getProperty("test.metacatUrl");
|
|
76 |
username = PropertyService.getProperty("test.mcUser");
|
|
77 |
password = PropertyService.getProperty("test.mcPassword");
|
|
78 |
anotheruser = PropertyService.getProperty("test.mcAnotherUser");
|
|
79 |
anotherpassword = PropertyService.getProperty("test.mcAnotherPassword");
|
|
80 | 80 |
} catch (PropertyNotFoundException pnfe) { |
81 | 81 |
System.err.println("Could not get property in static block: " |
82 | 82 |
+ pnfe.getMessage()); |
Also available in: Unified diff
Convert properties to camel case