Package org.apache.tapestry5.test
Class TapestryTestConstants
java.lang.Object
org.apache.tapestry5.test.TapestryTestConstants
Defins
ITestContext attributes meaninful to Tapestry for controlling application startup and shutdown.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringITestContextattribute holding the application's base URL.static final StringXmlTestparameter holding the browser command to pass to Selenium.static final StringTheITestContextattribute holding an instance ofCommandProcessor, with enhanced exception reporting control.static final StringXmlTestparameter holding the context path.static final StringITestContextattribute updated to store the current test method (as aMethodinstance).static final StringITestContextattribute holding an instance ofErrorReporter.static final StringXmlTestparameter holding the web server port.static final StringITestContextattribute holding an instance ofSelenium.static final StringXmlTestparameter holding the servlet container to run for the integration tests.static final StringITestContextattribute holding an instance ofErrorReporter, used to shutdown Selenium and the Web Server at the end of the test.static final StringXmlTestparameter holding the web server ssl port.static final StringXmlTestparameter holding an absolute or relative path to a web app folder. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SELENIUM_ATTRIBUTE
ITestContextattribute holding an instance ofSelenium. -
ERROR_REPORTER_ATTRIBUTE
ITestContextattribute holding an instance ofErrorReporter. -
SHUTDOWN_ATTRIBUTE
ITestContextattribute holding an instance ofErrorReporter, used to shutdown Selenium and the Web Server at the end of the test.- Since:
- 5.2.2
- See Also:
-
COMMAND_PROCESSOR_ATTRIBUTE
TheITestContextattribute holding an instance ofCommandProcessor, with enhanced exception reporting control. This allows tests that wish to, to bypass theSeleniuminterface and execute commands directly on the Selenium RC server.- Since:
- 5.2.0
- See Also:
-
BASE_URL_ATTRIBUTE
ITestContextattribute holding the application's base URL.- Since:
- 5.2.0
- See Also:
-
CURRENT_TEST_METHOD_ATTRIBUTE
ITestContextattribute updated to store the current test method (as aMethodinstance).- See Also:
-
WEB_APP_FOLDER_PARAMETER
XmlTestparameter holding an absolute or relative path to a web app folder.- See Also:
-
CONTEXT_PATH_PARAMETER
XmlTestparameter holding the context path.- See Also:
-
PORT_PARAMETER
XmlTestparameter holding the web server port.- See Also:
-
SSL_PORT_PARAMETER
XmlTestparameter holding the web server ssl port.- See Also:
-
BROWSER_START_COMMAND_PARAMETER
XmlTestparameter holding the browser command to pass to Selenium.- See Also:
-
SERVLET_CONTAINER_PARAMETER
XmlTestparameter holding the servlet container to run for the integration tests.- Since:
- 5.3
- See Also:
-
-
Constructor Details
-
TapestryTestConstants
public TapestryTestConstants()
-