Project

General

Profile

« Previous | Next » 

Revision 4172

Added by daigle almost 16 years ago

Qualify harvester properties

View differences:

test/edu/ucsb/nceas/metacattest/harvesterClient/HarvesterTest.java
113 113

  
114 114
		Harvester.loadProperties(test);
115 115
		try {
116
			ctm = PropertyService.getProperty("connectToMetacat");
116
			ctm = PropertyService.getProperty("harvester.connectToMetacat");
117 117
		} catch (PropertyNotFoundException pnfe) {
118 118
			fail("Could not get connectToMetacat property: "+ pnfe.getMessage());
119 119
		}
test/edu/ucsb/nceas/metacattest/harvesterClient/HarvestDocumentTest.java
91 91
                     "http://www.lternet.edu/~dcosta/testHarvest/document1.xml";
92 92
    String errorMessage = "JUnit Testing";
93 93
    int harvestLogID;
94
    String harvestOperationCode = "HarvesterStartup";
94
    String harvestOperationCode = "harvester.HarvesterStartup";
95 95
    Date harvestStartTime = new Date();
96 96
    int identifier = 1;
97 97
    String ldapDN = "uid=jdoe,o=lter,dc=ecoinformatics,dc=org";
test/edu/ucsb/nceas/metacattest/harvesterClient/HarvestLogTest.java
101 101
    String errorMessage = "JUnit Testing";
102 102
    HarvestDocument harvestDocument = null;
103 103
    int harvestLogID;
104
    String harvestOperationCode = "HarvesterStartup";
104
    String harvestOperationCode = "harvester.HarvesterStartup";
105 105
    Date harvestStartTime = new Date();
106 106
    int identifier = 1;
107 107
    String ldapDN = "uid=jdoe,o=lter,dc=ecoinformatics,dc=org";
......
181 181
   * associated with an appropriate explanation string.
182 182
   */
183 183
  public void testGetExplanation() {
184
    String harvestOperationCode = "HarvesterStartup";
184
    String harvestOperationCode = "harvester.HarvesterStartup";
185 185
    String explanation;
186 186

  
187 187
    explanation = harvestLogShallow.getExplanation(harvestOperationCode);
......
194 194
   * returns an appropriate code level for a given harvest operation code.
195 195
   */
196 196
  public void testGetHarvestOperationCodeLevel() {
197
    String harvestOperationCode = "HarvesterStartup";
197
    String harvestOperationCode = "harvester.HarvesterStartup";
198 198
    String harvestOperationCodeLevel;
199 199

  
200 200
    harvestOperationCodeLevel = 

Also available in: Unified diff