Project

General

Profile

« Previous | Next » 

Revision 1791

New test code for metacat client. Auto-generate id. Query and read from
the inserted document. Still having some problems with the tests.

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}"/>
200 198
      <property name="junittestsdir" value="./test/edu/ucsb/nceas/metacattest" />
201 199
      <property name="junitnettestsdir" value="./test/edu/ucsb/nceas/metacatnettest" />
202 200
      <property name="build.dir" value="./build"/>
......
488 486
      <javac srcdir="${build.tests}"
489 487
             destdir="${build.tests}"
490 488
             classpath="${cpath}:${build.dir}/${name}.jar"
489
             debug="on"
491 490
       includes="**/*.java" />
492 491

  
493 492
      <jar jarfile="${build.dir}/${name}-junittests.jar"

Also available in: Unified diff