Project

General

Profile

« Previous | Next » 

Revision 4999

Added by Duane Costa over 14 years ago

Implement fix for Bug #4245: Harvester command line scripts don't execute.

View differences:

HarvestLogTest.java
83 83
   * HarvestLog that does have an associated HarvestDetailLog.
84 84
   */
85 85
  protected void setUp() {
86
    boolean commandLineMode = true;
86 87
    String contactEmail = "jdoe@institution.edu";
87 88
    String dateLastHarvest = "2004-04-01 00:00:00.0";
88 89
    String dateNextHarvest = "2004-05-01 00:00:00.0";
......
110 111
    int updateFrequency = 1;
111 112

  
112 113
    harvester = new Harvester();
113
    Harvester.loadProperties(test);
114
    Harvester.loadProperties(commandLineMode, test);
114 115
    conn = harvester.getConnection();  // initializes the database connection
115 116
    harvester.initLogIDs();
116 117
    harvestLogID = harvester.getHarvestLogID();

Also available in: Unified diff