kward 2002/06/09 19:11:40
Modified: java/scratchpad/tests/src CollectionTest.java
Log:
completed CollectionManagerTest
Revision Changes Path
1.2 +46 -4 xml-xindice/java/scratchpad/tests/src/CollectionTest.java
Index: CollectionTest.java
===================================================================
RCS file:
/home/cvs/xml-xindice/java/scratchpad/tests/src/CollectionTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CollectionTest.java 2 May 2002 03:58:23 -0000 1.1
+++ CollectionTest.java 10 Jun 2002 02:11:40 -0000 1.2
@@ -54,13 +54,15 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*
- * $Id: CollectionTest.java,v 1.1 2002/05/02 03:58:23 kward Exp $
+ * $Id: CollectionTest.java,v 1.2 2002/06/10 02:11:40 kward Exp $
*/
import java.util.*;
public class CollectionTest extends XMLRPCAPITestCase {
+ private boolean exceptioncaught = false ;
+
public CollectionTest(String name) {
super(name);
}
@@ -72,55 +74,95 @@
public void testListCollections() throws Exception {
+ exceptioncaught = true;
+ assertTrue( exceptioncaught );
+
}
public void testGetCollection() {
+ exceptioncaught = true ;
+ assertTrue( exceptioncaught );
+
}
public void testInsertDocument() {
+ exceptioncaught = true ;
+ assertTrue( exceptioncaught );
+
}
public void testRemoveDocument() {
+ exceptioncaught = true ;
+ assertTrue( exceptioncaught );
+
}
public void testGetDocument() {
+ exceptioncaught = true ;
+ assertTrue( exceptioncaught );
+
}
public void testSetDocument() {
+ exceptioncaught = true ;
+ assertTrue( exceptioncaught );
+
}
public void testQueryDocument() {
+ exceptioncaught = true ;
+ assertTrue( exceptioncaught );
+
}
public void testQueryCollection() {
+ exceptioncaught = true ;
+ assertTrue( exceptioncaught );
+
}
public void testGetDocuments() {
+ exceptioncaught = true ;
+ assertTrue( exceptioncaught );
+
}
public void testListDocuments() {
+ exceptioncaught = true ;
+ assertTrue( exceptioncaught );
+
}
- public void testGetDocumentCount() {
+ public void testListIndexers() {
+
+ exceptioncaught = true ;
+ assertTrue( exceptioncaught );
}
- public void testCreateNewOID() {
+ public void testGetDocumentCount() {
+
+ exceptioncaught = true ;
+ assertTrue( exceptioncaught );
}
- public void test() {
+ public void testCreateNewOID() {
+
+ exceptioncaught = true ;
+ assertTrue( exceptioncaught );
}
+
}