net.sf.csutils.core.tests
Class AbstractTestCase

java.lang.Object
  extended by net.sf.csutils.core.tests.AbstractTestCase

public abstract class AbstractTestCase
extends java.lang.Object

Abstract base class for implementing tests. This class is intentionally not dependent on JUnit, so that JUnit doesn't appear in the dependency list. OTOH, this means that any test class must contain something similar to


Constructor Summary
AbstractTestCase()
           
 
Method Summary
protected static java.net.URL getTopLevelResource(java.lang.String pResource)
           
static void init()
           
static void initProperties()
           
protected static RegistryFacade openConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTestCase

public AbstractTestCase()
Method Detail

getTopLevelResource

protected static java.net.URL getTopLevelResource(java.lang.String pResource)

init

public static void init()
                 throws java.io.IOException
Throws:
java.io.IOException

initProperties

public static void initProperties()
                           throws java.io.IOException
Throws:
java.io.IOException

openConnection

protected static RegistryFacade openConnection()
                                        throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException


Copyright © 2009-2010. All Rights Reserved.