Package jp.vmi.selenium.selenese
Class ErrorTestSuite
java.lang.Object
jp.vmi.selenium.selenese.ErrorSource
jp.vmi.selenium.selenese.ErrorTestSuite
- All Implemented Interfaces:
IHtmlResultTestSuite,IHtmlResultTestTarget,ITestSuite,ITestTarget,ITreedFileGenerator,Selenese
- Direct Known Subclasses:
ErrorTestProject
public class ErrorTestSuite extends ErrorSource implements ITreedFileGenerator, ITestSuite, IHtmlResultTestSuite
Test-suite with errors.
-
Nested Class Summary
Nested classes/interfaces inherited from interface jp.vmi.selenium.selenese.Selenese
Selenese.Type -
Constructor Summary
Constructors Constructor Description ErrorTestSuite() -
Method Summary
Modifier and Type Method Description Resultexecute(Selenese parent, Context context)Execute script.intgetIndex()Get index of this object in the parent object.ITreedFileGeneratorgetParent()Get parent object.Selenese.TypegetType()Get selenese type.ErrorTestSuiteinitialize(String filename, InvalidSeleneseException e)Initialize.voidsetIndex(int index)Set index of this object in the parent object.voidsetParent(ITreedFileGenerator parent)Set parent object.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.IHtmlResultTestTarget
getName, getResultMethods inherited from interface jp.vmi.junit.result.ITestTarget
getBaseName, getName, getStopWatch, isErrorMethods inherited from interface jp.vmi.selenium.selenese.ITreedFileGenerator
getBaseName, getFileBaseName, getFileBaseName, getIndexes, getName
-
Constructor Details
-
ErrorTestSuite
public ErrorTestSuite()
-
-
Method Details
-
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.
-
getParent
Description copied from interface:ITreedFileGeneratorGet parent object.- Specified by:
getParentin interfaceITreedFileGenerator- Returns:
- parent object.
-
setParent
Description copied from interface:ITreedFileGeneratorSet parent object.- Specified by:
setParentin interfaceITreedFileGenerator- Parameters:
parent- parent object.
-
getIndex
public int getIndex()Description copied from interface:ITreedFileGeneratorGet index of this object in the parent object.- Specified by:
getIndexin interfaceITreedFileGenerator- Returns:
- index.
-
setIndex
public void setIndex(int index)Description copied from interface:ITreedFileGeneratorSet index of this object in the parent object.- Specified by:
setIndexin interfaceITreedFileGenerator- Parameters:
index- index.
-
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.
-