|
MXUnit 2.1.3 (Generated: 09/27/2012) | ||||
FRAMES |
WEB-INF.cftags.componentmxunit.framework.TestDecorator
public class TestDecorator
Abstract decorator for extending when you want to have decorators for unit tests
Method Summary | |
---|---|
remote any |
TestCase(any aTestCase)
|
void |
afterTests()
|
void |
beforeTests()
|
any |
clearClassVariables()
|
void |
clearDebug()
|
any |
createRequestScopeDebug()
|
void |
debug(any var)
|
void |
disableAfterTests()
|
void |
disableBeforeTests()
|
void |
enableAfterTests()
|
void |
enableBeforeTests()
|
any |
getActual()
|
Any |
getAnnotation(Any methodName, Any annotationName, [Any defaultValue])
|
any |
getBaseTarget()
Get the absolute bottom target - the actual test case |
array |
getDebug()
|
any |
getExpected()
|
any |
getExpectedExceptionMessage()
|
any |
getExpectedExceptionType()
|
array |
getRunnableMethods()
|
any |
getTarget()
get the current Target |
any |
getVariablesScope()
Door into another component's variables scope |
any |
initDebug()
|
string |
invokeTestMethod(string methodName, [struct args])
|
any |
onMissingMethod(string missingMethodName, [any missingMethodArguments])
Delegates any missing method calls down the decorator chain, ending at the base target |
any |
setExpectedExceptionMessage(string expectedExceptionMessage)
|
any |
setExpectedExceptionType(string expectedExceptionType)
|
any |
setMockingFramework(Any name)
|
void |
setTarget(any target)
|
void |
setUp()
|
void |
tearDown()
|
Methods inherited from class WEB-INF.cftags.component |
---|
|
Method Detail |
---|
remote any TestCase(any aTestCase)
aTestCase
public void afterTests()
public void beforeTests()
public any clearClassVariables()
public void clearDebug()
public any createRequestScopeDebug()
public void debug(any var)
var
public void disableAfterTests()
public void disableBeforeTests()
public void enableAfterTests()
public void enableBeforeTests()
public any getActual()
public Any getAnnotation(Any methodName, Any annotationName, [Any defaultValue])
methodName
annotationName
defaultValue
public any getBaseTarget()
public array getDebug()
public any getExpected()
public any getExpectedExceptionMessage()
public any getExpectedExceptionType()
public array getRunnableMethods()
public any getTarget()
public any getVariablesScope()
public any initDebug()
public string invokeTestMethod(string methodName, [struct args])
methodName
- the name of the method to invokeargs
- Optional set of argumentspublic any onMissingMethod(string missingMethodName, [any missingMethodArguments])
missingMethodName
missingMethodArguments
public any setExpectedExceptionMessage(string expectedExceptionMessage)
expectedExceptionMessage
public any setExpectedExceptionType(string expectedExceptionType)
expectedExceptionType
public any setMockingFramework(Any name)
name
public void setTarget(any target)
target
public void setUp()
public void tearDown()
|
MXUnit 2.1.3 (Generated: 09/27/2012) | ||||
FRAMES |