Project

General

Profile

« Previous | Next » 

Revision 1789

Added by Matt Jones about 21 years ago

Implemented the "insert()" method and wrote a test to test it. The new test
depends on the property "newdocid" be set to something unique in the build.xml
file so that the insert will work properly. Probably need to fix this to be
some kind of autoincrement counter or random number so that it can be run
several times in succession. Right now, if you run the test without resetting
the newdocid property (and touch the test file), it will fail on the second
and subsequent passes.

View differences:

build.xml
195 195
      <property name="srcdir" value="./src" />
196 196
      <property name="testdir" value="./test" />
197 197
      <property name="testtorun" value="MetacatClientTest" />
198
      <property name="newdocid" value="foombj.102.1"/>
199
      <filter token="newdocid" value="${newdocid}"/>
198 200
      <property name="junittestsdir" value="./test/edu/ucsb/nceas/metacattest" />
199 201
      <property name="junitnettestsdir" value="./test/edu/ucsb/nceas/metacatnettest" />
200 202
      <property name="build.dir" value="./build"/>

Also available in: Unified diff