com.mongodb.util
Class TestCase
java.lang.Object
com.mongodb.util.MyAsserts
com.mongodb.util.TestCase
public class TestCase
- extends MyAsserts
Methods inherited from class com.mongodb.util.MyAsserts |
_assertEquals, assertClose, assertClose, assertClose, assertEmptyString, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertLess, assertLess, assertNotEquals, assertNotNull, assertNull, assertTrue, assertTrue, isClose |
cleanupDB
public String cleanupDB
cleanupMongo
public Mongo cleanupMongo
TestCase
public TestCase()
- this is for normal class tests
TestCase
public TestCase(String name)
TestCase
public TestCase(Object o,
String m)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
TestCase
public TestCase(Object o,
Method m)
add
public void add(TestCase tc)
cleanup
public void cleanup()
runConsole
public boolean runConsole()
- Returns:
- true if everything succeeds
toString
public String toString()
- Overrides:
toString
in class Object
run
protected static void run(String[] args)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception