Package jp.vmi.selenium.selenese.inject
Class Binder
java.lang.Object
jp.vmi.selenium.selenese.inject.Binder
public class Binder extends Object
Apply aspect.
-
Method Summary
Modifier and Type Method Description static CommandListnewCommandList()Constructs CommandList applied aspect.static ErrorTestCasenewErrorTestCase(String filename, InvalidSeleneseException e)Constructs ErrorTestCase applied aspect.static ErrorTestProjectnewErrorTestProject(String filename, InvalidSeleneseException e)Constructs ErrorTestProject applied aspect.static ErrorTestSuitenewErrorTestSuite(String filename, InvalidSeleneseException e)Constructs ErrorTestSuite applied aspect.static TestCasenewTestCase(String filename, String name, String baseURL)Deprecated.static TestCasenewTestCase(SourceType sourceType, String filename, String name, String baseURL)Constructs TestCase applied aspect.static TestProjectnewTestProject(String filename, String name)Constructs TestProject applied aspect.static TestSuitenewTestSuite(String filename, String name)Constructs TestSuite applied aspect.static voidreplaceBindModule(BindModule module)Replace customized BindModule.
-
Method Details
-
replaceBindModule
Replace customized BindModule. You need call this before instanciate TestCase/TestSuite.- Parameters:
module- BindModule instance.
-
newTestCase
public static TestCase newTestCase(SourceType sourceType, String filename, String name, String baseURL)Constructs TestCase applied aspect.- Parameters:
sourceType- test-case source type.filename- Selenese script file.name- test-case name.baseURL- base URL in script.- Returns:
- TestCase instance.
-
newTestCase
Deprecated.Constructs TestCase applied aspect.- Parameters:
filename- Selenese script file.name- test-case name.baseURL- base URL in script.- Returns:
- TestCase instance.
-
newTestSuite
Constructs TestSuite applied aspect.- Parameters:
filename- Selenese script file.name- test-suite name.- Returns:
- TestSuite instance.
-
newTestProject
Constructs TestProject applied aspect.- Parameters:
filename- Selenese script file.name- test-project name.- Returns:
- TestProject instance.
-
newErrorTestCase
Constructs ErrorTestCase applied aspect.- Parameters:
filename- Selenese script file.e- InvalidSeleneseException instance.- Returns:
- ErrorTestCase instance.
-
newErrorTestSuite
Constructs ErrorTestSuite applied aspect.- Parameters:
filename- Selenese script file.e- InvalidSeleneseException instance.- Returns:
- ErrorTestSuite instance.
-
newErrorTestProject
Constructs ErrorTestProject applied aspect.- Parameters:
filename- Selenese script file.e- InvalidSeleneseException instance.- Returns:
- ErrorTestProject instance.
-
newCommandList
Constructs CommandList applied aspect.- Returns:
- CommandList instance.
-