kward 2002/06/10 18:19:25
Modified: java/scratchpad/tests build.xml
Log:
Removed invalid setUp/tearDown entries
Revision Changes Path
1.2 +17 -9 xml-xindice/java/scratchpad/tests/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xindice/java/scratchpad/tests/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.xml 2 May 2002 03:57:47 -0000 1.1
+++ build.xml 11 Jun 2002 01:19:25 -0000 1.2
@@ -10,7 +10,23 @@
To build, run
- cd Xindice/java/scratchpad/tests ; ../../../bin/ant
+ cd Xindice/java/scratchpad/tests
+
+ Build:
+
+ ../../../bin/ant
+
+ Setup:
+
+ ../../../bin/ant setUp
+
+ Run test suite:
+
+ ../../../bin/ant run
+
+ Tear Down:
+
+ ../../../bin/ant tearDown
-->
@@ -85,17 +101,9 @@
<target name="setUp">
<echo message="adding Collection /db/tests"/>
<xindiceadmin home="${xindice.home}" activity="add_collection"
collection="/db" name="tests" />
- <echo message="adding Collection /db/tests/child1"/>
- <xindiceadmin home="${xindice.home}" activity="add_collection"
collection="/db/tests" name="child1" />
- <echo message="adding Collection /db/tests/child2"/>
- <xindiceadmin home="${xindice.home}" activity="add_collection"
collection="/db/tests" name="child2" />
</target>
<target name="tearDown">
- <echo message="deleting Collection /db/tests/child2"/>
- <xindiceadmin home="${xindice.home}" activity="delete_collection"
collection="/db/tests" name="child2" />
- <echo message="deleting Collection /db/tests/child1"/>
- <xindiceadmin home="${xindice.home}" activity="delete_collection"
collection="/db/tests" name="child1" />
<echo message="deleting Collection /db/tests"/>
<xindiceadmin home="${xindice.home}" activity="delete_collection"
collection="/db" name="tests" />
</target>