public class ERXWOTestInterface extends WOComponent implements ERXTestListener
WOComponent._EventLoggingEnabler, WOComponent.Event
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
NSKeyValueCoding._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.ValueAccessor
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
Modifier and Type | Field and Description |
---|---|
NSArray |
allTests |
ERXTestRunner |
aTestRunner |
String |
errorMessage |
long |
runTime |
Boolean |
showExceptions |
ERXTestResult |
testResult |
String |
theTest |
_Extension, _IsEventLoggingEnabled, _keyAssociations
_CLASS
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
_CLASS
Constructor and Description |
---|
ERXWOTestInterface(WOContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addError(junit.framework.Test test,
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(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, variableWithName
public String theTest
public String errorMessage
public 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 Exception
Exception
public ERXTestResult doRun(junit.framework.Test suite)
public void addError(junit.framework.Test test, Throwable t)
addError
in interface junit.framework.TestListener
public void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
addFailure
in interface junit.framework.TestListener
public void startTest(junit.framework.Test test)
startTest
in interface junit.framework.TestListener
public void endTest(junit.framework.Test test)
endTest
in interface junit.framework.TestListener
public void runFailed(String message)
runFailed
in interface ERXTestListener
public void clearStatus()
clearStatus
in interface ERXTestListener
public void appendToResponse(WOResponse r, WOContext c)
appendToResponse
in class WOComponent
Copyright © 2002 – 2024 Project Wonder.