Revision 4999
Added by Duane Costa almost 15 years ago
HarvestDocumentTest.java | ||
---|---|---|
77 | 77 |
* objects. |
78 | 78 |
*/ |
79 | 79 |
protected void setUp() { |
80 |
boolean commandLineMode = true; |
|
80 | 81 |
String contactEmail = "jdoe@institution.edu"; |
81 | 82 |
String dateLastHarvest = "2004-04-01 00:00:00.0"; |
82 | 83 |
String dateNextHarvest = "2004-05-01 00:00:00.0"; |
... | ... | |
103 | 104 |
int updateFrequency = 1; |
104 | 105 |
|
105 | 106 |
harvester = new Harvester(); |
106 |
Harvester.loadProperties(test); |
|
107 |
Harvester.loadProperties(commandLineMode, test);
|
|
107 | 108 |
harvester.getConnection(); // initializes the database connection |
108 | 109 |
harvester.initLogIDs(); |
109 | 110 |
harvester.setHarvestStartTime(new Date()); |
Also available in: Unified diff
Implement fix for Bug #4245: Harvester command line scripts don't execute.