Revision 4231
Added by daigle over 15 years ago
MetaCatServletTest.java | ||
---|---|---|
52 | 52 |
static { |
53 | 53 |
try { |
54 | 54 |
PropertyService.getInstance("build/tests"); |
55 |
metacatURL = PropertyService.getProperty("test.metacat.url");
|
|
55 |
metacatURL = PropertyService.getProperty("test.metacatUrl");
|
|
56 | 56 |
} catch (Exception e) { |
57 | 57 |
System.err.println("Exception in initialize option in MetacatServletNetTest " |
58 | 58 |
+ e.getMessage()); |
... | ... | |
173 | 173 |
String user = null; |
174 | 174 |
String passwd = null; |
175 | 175 |
try { |
176 |
user = PropertyService.getProperty("test.lteruser");
|
|
177 |
passwd = PropertyService.getProperty("test.lterpassword");
|
|
176 |
user = PropertyService.getProperty("test.lterUser");
|
|
177 |
passwd = PropertyService.getProperty("test.lterPassword");
|
|
178 | 178 |
} catch (PropertyNotFoundException pnfe) { |
179 | 179 |
fail("Could not find property: " + pnfe.getMessage()); |
180 | 180 |
} |
... | ... | |
199 | 199 |
String user = null; |
200 | 200 |
String passwd = null; |
201 | 201 |
try { |
202 |
user = PropertyService.getProperty("test.piscouser");
|
|
203 |
passwd = PropertyService.getProperty("test.piscopassword");
|
|
202 |
user = PropertyService.getProperty("test.piscoUser");
|
|
203 |
passwd = PropertyService.getProperty("test.piscoPassword");
|
|
204 | 204 |
} catch (PropertyNotFoundException pnfe) { |
205 | 205 |
fail("Could not find property: " + pnfe.getMessage()); |
206 | 206 |
} |
Also available in: Unified diff
Convert properties to camel case