org.codehaus.aspectwerkz
Class WeavedTestCase.WeaverTestRunner

java.lang.Object
  extended byorg.codehaus.aspectwerkz.WeavedTestCase.WeaverTestRunner
Enclosing class:
WeavedTestCase

public static class WeavedTestCase.WeaverTestRunner
extends Object

Allow to run WeaverTestCase thru a weaving ClassLoader


Constructor Summary
WeavedTestCase.WeaverTestRunner()
          Build weavin classloader with system class path and ext. classloader as parent
 
Method Summary
 void runTest(String testClassName, String testMethodName)
          Runs a single test (testXX) Takes care of not using the weaving class loader is online mode or weavingClassLoader.main() is already used (might fail under JRockit MAPI)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeavedTestCase.WeaverTestRunner

public WeavedTestCase.WeaverTestRunner()
Build weavin classloader with system class path and ext. classloader as parent

Method Detail

runTest

public void runTest(String testClassName,
                    String testMethodName)
             throws Throwable
Runs a single test (testXX) Takes care of not using the weaving class loader is online mode or weavingClassLoader.main() is already used (might fail under JRockit MAPI)

Parameters:
testClassName - test class
testMethodName - test method
Throws:
Throwable


Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.