ozone core API

org.ozoneDB.test
Class OzoneTestSuiteLoader

java.lang.Object
  |
  +--org.ozoneDB.test.OzoneTestSuiteLoader
All Implemented Interfaces:
junit.runner.TestSuiteLoader

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

This is a TestSuiteLoader for Ozone's database.

The problem with standard JUnit is that it create new classloader for each test suite. This does not work well with Ozone. It case a lot of confusion in determining the equivlance of object.

Version:
$Revision: 1.1 $Date: 2001/12/18 10:31:31 $
Author:
SMB
, David Li

Field Summary
private  java.lang.ClassLoader fClassLoader
           
 
Constructor Summary
protected OzoneTestSuiteLoader()
           
 
Method Summary
 java.lang.Class load(java.lang.String suiteClassName)
           
 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
 

Field Detail

fClassLoader

private java.lang.ClassLoader fClassLoader
Constructor Detail

OzoneTestSuiteLoader

protected OzoneTestSuiteLoader()
Method Detail

load

public java.lang.Class load(java.lang.String suiteClassName)
                     throws java.lang.ClassNotFoundException
Specified by:
load in interface junit.runner.TestSuiteLoader
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
java.lang.ClassNotFoundException

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.