public class ERXWOTestInterface extends WOComponent implements ERXTestListener
WOComponent._EventLoggingEnabler, WOComponent.EventNSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.UtilityNSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessorNSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException| Modifier and Type | Field and Description |
|---|---|
NSArray |
allTests |
ERXTestRunner |
aTestRunner |
java.lang.String |
errorMessage |
static org.apache.log4j.Logger |
log
logging support
|
long |
runTime |
java.lang.Boolean |
showExceptions |
ERXTestResult |
testResult |
java.lang.String |
theTest |
_Extension, _IsEventLoggingEnabled, _keyAssociations_CLASS_CLASS, _KeyPathSeparatorChar, KeyPathSeparatorNullValue_CLASS| Constructor and Description |
|---|
ERXWOTestInterface(WOContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(junit.framework.Test test,
java.lang.Throwable t) |
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t) |
NSArray |
allTests() |
void |
appendToResponse(WOResponse r,
WOContext c) |
protected NSArray |
bundles() |
void |
clearStatus() |
ERXTestResult |
doRun(junit.framework.Test suite) |
void |
endTest(junit.framework.Test test) |
WOComponent |
performTest() |
void |
runFailed(java.lang.String message) |
ERXTestResult |
start() |
void |
startTest(junit.framework.Test test) |
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithNamepublic static final org.apache.log4j.Logger log
public java.lang.String theTest
public java.lang.String errorMessage
public java.lang.Boolean showExceptions
public ERXTestRunner aTestRunner
public ERXTestResult testResult
public long runTime
public NSArray allTests
public ERXWOTestInterface(WOContext context)
protected NSArray bundles()
public NSArray allTests()
public WOComponent performTest()
public ERXTestResult start() throws java.lang.Exception
java.lang.Exceptionpublic ERXTestResult doRun(junit.framework.Test suite)
public void addError(junit.framework.Test test,
java.lang.Throwable t)
addError in interface junit.framework.TestListenerpublic void addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
addFailure in interface junit.framework.TestListenerpublic void startTest(junit.framework.Test test)
startTest in interface junit.framework.TestListenerpublic void endTest(junit.framework.Test test)
endTest in interface junit.framework.TestListenerpublic void runFailed(java.lang.String message)
runFailed in interface ERXTestListenerpublic void clearStatus()
clearStatus in interface ERXTestListenerpublic void appendToResponse(WOResponse r, WOContext c)
appendToResponse in class WOComponentCopyright © 2002 – 2022 Project Wonder.