Revision 4999
Added by Duane Costa over 14 years ago
HarvesterTest.java | ||
---|---|---|
107 | 107 |
* Tests loading of Harvester properties from a configuration file. |
108 | 108 |
*/ |
109 | 109 |
public void testLoadProperties() { |
110 |
boolean commandLineMode = true; |
|
110 | 111 |
String ctm = null; |
111 | 112 |
boolean test = true; |
112 | 113 |
|
113 |
Harvester.loadProperties(test); |
|
114 |
Harvester.loadProperties(commandLineMode, test);
|
|
114 | 115 |
try { |
115 | 116 |
ctm = PropertyService.getProperty("harvester.connectToMetacat"); |
116 | 117 |
} catch (PropertyNotFoundException pnfe) { |
Also available in: Unified diff
Implement fix for Bug #4245: Harvester command line scripts don't execute.