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
All Methods Static Methods Concrete Methods Deprecated Methods 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 Detail
-
replaceBindModule
public static void replaceBindModule(BindModule module)
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 public static TestCase newTestCase(String filename, String name, String baseURL)
Deprecated.Constructs TestCase applied aspect.- Parameters:
filename- Selenese script file.name- test-case name.baseURL- base URL in script.- Returns:
- TestCase instance.
-
newTestSuite
public static TestSuite newTestSuite(String filename, String name)
Constructs TestSuite applied aspect.- Parameters:
filename- Selenese script file.name- test-suite name.- Returns:
- TestSuite instance.
-
newTestProject
public static TestProject newTestProject(String filename, String name)
Constructs TestProject applied aspect.- Parameters:
filename- Selenese script file.name- test-project name.- Returns:
- TestProject instance.
-
newErrorTestCase
public static ErrorTestCase newErrorTestCase(String filename, InvalidSeleneseException e)
Constructs ErrorTestCase applied aspect.- Parameters:
filename- Selenese script file.e- InvalidSeleneseException instance.- Returns:
- ErrorTestCase instance.
-
newErrorTestSuite
public static ErrorTestSuite newErrorTestSuite(String filename, InvalidSeleneseException e)
Constructs ErrorTestSuite applied aspect.- Parameters:
filename- Selenese script file.e- InvalidSeleneseException instance.- Returns:
- ErrorTestSuite instance.
-
newErrorTestProject
public static ErrorTestProject newErrorTestProject(String filename, InvalidSeleneseException e)
Constructs ErrorTestProject applied aspect.- Parameters:
filename- Selenese script file.e- InvalidSeleneseException instance.- Returns:
- ErrorTestProject instance.
-
newCommandList
public static CommandList newCommandList()
Constructs CommandList applied aspect.- Returns:
- CommandList instance.
-
-