vgritsenko 2003/12/11 17:28:38
Modified: java/tests/src/org/apache/xindice/integration/client/basic
CollectionTest.java
Log:
Remove TODO
Revision Changes Path
1.13 +5 -7
xml-xindice/java/tests/src/org/apache/xindice/integration/client/basic/CollectionTest.java
Index: CollectionTest.java
===================================================================
RCS file:
/home/cvs/xml-xindice/java/tests/src/org/apache/xindice/integration/client/basic/CollectionTest.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- CollectionTest.java 11 Dec 2003 14:07:49 -0000 1.12
+++ CollectionTest.java 12 Dec 2003 01:28:38 -0000 1.13
@@ -88,7 +88,7 @@
}
}
- /* This is just to make sure that the system is up and running. */
+ // This is just to make sure that the system is up and running.
public void testListInitialCollections() throws Exception {
String[] collections =
this.client.listCollections(XmlDbClientSetup.INSTANCE_NAME);
List col = new Vector(Arrays.asList(collections));
@@ -243,11 +243,9 @@
parent = parent.getParentCollection();
- // TODO: is this assertion correct? The xml rpc driver exposes the
"db" collection
- // the embeded doesn't. I think the xmlrpc driver is correct, and
the test
- // is wrong, just looking for someone to confirm this.
- // http://marc.theaimsgroup.com/?l=xindice-dev&m=106040091508016&w=2
+ // Must return root database collection
assertNotNull(parent);
+ assertEquals("", parent.getName());
this.client.dropCollection(TEST_COLLECTION_PATH, "childcol");
}