public abstract class BaseRiceTestCase extends Object implements MethodAware
RiceUnitTestClassRunner
4) Sets the PerTestDataLoaderLifecycle that will load sql for the currently running test.Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Logger |
log |
protected Method |
method |
Constructor and Description |
---|
BaseRiceTestCase() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
protected PerTestDataLoaderLifecycle |
getPerTestDataLoaderLifecycle() |
Method |
getTestMethod() |
protected void |
resetLogLevels()
Restores the logging-levels changed through calls to setLogLevel to their
original values.
|
protected void |
setLogLevel(String loggerName,
org.apache.log4j.Level newLevel)
Changes the logging-level associated with the given loggerName to the
given level.
|
void |
setName(String name) |
void |
setTestMethod(Method testMethod) |
void |
setUp() |
void |
tearDown() |
public BaseRiceTestCase()
protected void setLogLevel(String loggerName, org.apache.log4j.Level newLevel)
loggerName
- name of the logger whose level to changenewLevel
- the level to change toprotected void resetLogLevels()
public void setTestMethod(Method testMethod)
setTestMethod
in interface MethodAware
MethodAware.setTestMethod(java.lang.reflect.Method)
public Method getTestMethod()
protected PerTestDataLoaderLifecycle getPerTestDataLoaderLifecycle()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.