Revision 4231
Added by daigle over 15 years ago
InlineDataAccessTest.java | ||
---|---|---|
60 | 60 |
private static String anotherpassword; |
61 | 61 |
static { |
62 | 62 |
try { |
63 |
metacatUrl = PropertyService.getProperty("test.metacat.url");
|
|
64 |
username = PropertyService.getProperty("test.mcuser");
|
|
65 |
password = PropertyService.getProperty("test.mcpassword");
|
|
66 |
anotheruser = PropertyService.getProperty("test.mcanotheruser");
|
|
67 |
anotherpassword = PropertyService.getProperty("test.mcanotherpassword");
|
|
63 |
metacatUrl = PropertyService.getProperty("test.metacatUrl");
|
|
64 |
username = PropertyService.getProperty("test.mcUser");
|
|
65 |
password = PropertyService.getProperty("test.mcPassword");
|
|
66 |
anotheruser = PropertyService.getProperty("test.mcAnotherUser");
|
|
67 |
anotherpassword = PropertyService.getProperty("test.mcAnotherPassword");
|
|
68 | 68 |
} catch (PropertyNotFoundException pnfe) { |
69 | 69 |
System.err.println("Could not get property in static block: " |
70 | 70 |
+ pnfe.getMessage()); |
Also available in: Unified diff
Convert properties to camel case