org.unitils
Class UnitilsJUnit4TestBase
java.lang.Object
org.unitils.UnitilsJUnit4
org.unitils.UnitilsJUnit4TestBase
- Direct Known Subclasses:
- UnitilsJUnit4Test_TestClass1, UnitilsJUnit4Test_TestClass2
public abstract class UnitilsJUnit4TestBase
- extends UnitilsJUnit4
Base class for the JUnit4 test listener tests.
- Author:
- Filip Neven, Tim Ducheyne
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnitilsJUnit4TestBase
public UnitilsJUnit4TestBase()
setTracingTestListener
public static void setTracingTestListener(TracingTestListener testListener)
- Sets the tracing test listener that will record all invocations.
- Parameters:
testListener
- the listener
registerTestInvocation
protected static void registerTestInvocation(TracingTestListener.TestInvocation invocation,
Class<?> testClass,
String testMethodName)
- Records an invocation.
- Parameters:
invocation
- The invocation type, not nulltestClass
- The test class, not nulltestMethodName
- The called method, null if not applicable
Copyright © 2011. All Rights Reserved.