jxUtil 0.6

org.sourceforge.jxutil.dbtest
Class RunAllTests

java.lang.Object
  |
  +--org.sourceforge.jxutil.dbtest.RunAllTests

public class RunAllTests
extends Object

Provides a static suite() method which loads all tests.

Author:
Peter Brant, Keve Müller

Field Summary
private static Category cat
           
 
Constructor Summary
RunAllTests()
           
 
Method Summary
private static void reloadTestResources()
           
private static void setConnection(TestSuite suite, Connection conn)
           
static Test suite()
          Return a TestSuite populated with the tests (which are all subclasses of DatabaseTest).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

private static final Category cat
Constructor Detail

RunAllTests

public RunAllTests()
Method Detail

reloadTestResources

private static void reloadTestResources()

setConnection

private static void setConnection(TestSuite suite,
                                  Connection conn)

suite

public static Test suite()
                  throws Exception
Return a TestSuite populated with the tests (which are all subclasses of DatabaseTest). This method is called by the JUnit testui to obtain a Test instance.

Exception

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.