Package jp.vmi.selenium.selenese
Class ErrorTestCase
java.lang.Object
jp.vmi.selenium.selenese.ErrorSource
jp.vmi.selenium.selenese.ErrorTestCase
- All Implemented Interfaces:
IHtmlResultTestCase,IHtmlResultTestTarget,ITestCase,ITestTarget,Selenese
public class ErrorTestCase extends ErrorSource implements ITestCase, IHtmlResultTestCase
Test-case with errrors.
-
Nested Class Summary
Nested classes/interfaces inherited from interface jp.vmi.selenium.selenese.Selenese
Selenese.Type -
Constructor Summary
Constructors Constructor Description ErrorTestCase() -
Method Summary
Modifier and Type Method Description Resultexecute(Selenese parent, Context context)Execute script.CommandListgetCommandList()Get command list.LogRecordergetLogRecorder()Get log recorder.CommandResultListgetResultList()Get test-case result list.Selenese.TypegetType()Get selenese type.ErrorTestCaseinitialize(String filename, InvalidSeleneseException e)Initialize.voidsetLogRecorder(LogRecorder logRecorder)Set log recorder.Methods inherited from class jp.vmi.selenium.selenese.ErrorSource
getBaseName, getFilename, getId, getName, getResult, getStopWatch, isError, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jp.vmi.html.result.IHtmlResultTestCase
getFilenameMethods inherited from interface jp.vmi.html.result.IHtmlResultTestTarget
getName, getResultMethods inherited from interface jp.vmi.junit.result.ITestTarget
getBaseName, getName, getStopWatch, isError
-
Constructor Details
-
ErrorTestCase
public ErrorTestCase()
-
-
Method Details
-
setLogRecorder
Description copied from interface:ITestCaseSet log recorder.- Specified by:
setLogRecorderin interfaceITestCase- Parameters:
logRecorder- log recorder.
-
getLogRecorder
Description copied from interface:ITestCaseGet log recorder.- Specified by:
getLogRecorderin interfaceITestCase- Returns:
- log recorder.
-
initialize
Description copied from class:ErrorSourceInitialize.- Overrides:
initializein classErrorSource- Parameters:
filename- Selenese script file.e- InvalidSeleneseException or null.- Returns:
- this.
-
getType
Description copied from interface:IHtmlResultTestTargetGet selenese type.- Specified by:
getTypein interfaceIHtmlResultTestTarget- Specified by:
getTypein interfaceSelenese- Returns:
- selenese type.
-
execute
Description copied from interface:SeleneseExecute script.- Specified by:
executein interfaceSelenese- Overrides:
executein classErrorSource- Parameters:
parent- parent selenese instance or null.context- Selenese Runner context.- Returns:
- result.
- Throws:
InvalidSeleneseException- failed in parsing or executing selenese.
-
getCommandList
Get command list.- Specified by:
getCommandListin interfaceIHtmlResultTestCase- Returns:
- command list.
-
getResultList
Get test-case result list.- Specified by:
getResultListin interfaceIHtmlResultTestCase- Returns:
- test-case result list.
-