org.junitee.runner
Class TestSuiteLoader

java.lang.Object
  extended byorg.junitee.runner.TestSuiteLoader
All Implemented Interfaces:
junit.runner.TestSuiteLoader

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

This is an implementation of the junit.runner.TestSuiteLoader interface. The classloader used to load test classes is set in the constructor.

Since:
1.5
Version:
$Revision: 1.2 $
Author:
Oliver Rossmueller

Constructor Summary
TestSuiteLoader(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

TestSuiteLoader

public TestSuiteLoader(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