net.sf.jzeno.unittesting
Class TestCaseLoader

java.lang.Object
  extended by net.sf.jzeno.unittesting.TestCaseLoader
All Implemented Interfaces:
junit.runner.TestSuiteLoader

public class TestCaseLoader
extends java.lang.Object
implements junit.runner.TestSuiteLoader


Constructor Summary
TestCaseLoader(java.lang.ClassLoader loader)
          Create a new instance and set the classloader to be used to load test classes.
 
Method Summary
 java.lang.Class load(java.lang.String className)
           
 java.lang.Class reload(java.lang.Class aClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCaseLoader

public TestCaseLoader(java.lang.ClassLoader loader)
Create a new instance and set the classloader to be used to load test classes.

Parameters:
loader - classloader to load test classes
Method Detail

load

public java.lang.Class load(java.lang.String className)
                     throws java.lang.ClassNotFoundException
Specified by:
load in interface junit.runner.TestSuiteLoader
Throws:
java.lang.ClassNotFoundException

reload

public java.lang.Class reload(java.lang.Class aClass)
                       throws java.lang.ClassNotFoundException
Specified by:
reload in interface junit.runner.TestSuiteLoader
Throws:
java.lang.ClassNotFoundException