Project

General

Profile

« Previous | Next » 

Revision 4999

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

View differences:

HarvestDetailLogTest.java
79 79
   */
80 80
  protected void setUp() {
81 81
    Connection conn;
82
    boolean commandLineMode = true;
82 83
    String contactEmail = "jdoe@institution.edu";
83 84
    String dateLastHarvest = "2004-04-01 00:00:00.0";
84 85
    String dateNextHarvest = "2004-05-01 00:00:00.0";
......
101 102
    int updateFrequency = 1;
102 103
  
103 104
    harvester = new Harvester();
104
    Harvester.loadProperties(test);
105
    Harvester.loadProperties(commandLineMode, test);
105 106
    conn = harvester.getConnection();  // initializes the database connection
106 107
    harvester.initLogIDs();
107 108
    harvestLogID = harvester.getHarvestLogID();

Also available in: Unified diff