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 String
ITestContext
attribute holding the application's base URL.static final String
XmlTest
parameter holding the browser command to pass to Selenium.static final String
TheITestContext
attribute holding an instance ofCommandProcessor
, with enhanced exception reporting control.static final String
XmlTest
parameter holding the context path.static final String
ITestContext
attribute updated to store the current test method (as aMethod
instance).static final String
ITestContext
attribute holding an instance ofErrorReporter
.static final String
XmlTest
parameter holding the web server port.static final String
ITestContext
attribute holding an instance ofSelenium
.static final String
XmlTest
parameter holding the servlet container to run for the integration tests.static final String
ITestContext
attribute holding an instance ofErrorReporter
, used to shutdown Selenium and the Web Server at the end of the test.static final String
XmlTest
parameter holding the web server ssl port.static final String
XmlTest
parameter holding an absolute or relative path to a web app folder. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SELENIUM_ATTRIBUTE
ITestContext
attribute holding an instance ofSelenium
. -
ERROR_REPORTER_ATTRIBUTE
ITestContext
attribute holding an instance ofErrorReporter
. -
SHUTDOWN_ATTRIBUTE
ITestContext
attribute 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
TheITestContext
attribute holding an instance ofCommandProcessor
, with enhanced exception reporting control. This allows tests that wish to, to bypass theSelenium
interface and execute commands directly on the Selenium RC server.- Since:
- 5.2.0
- See Also:
-
BASE_URL_ATTRIBUTE
ITestContext
attribute holding the application's base URL.- Since:
- 5.2.0
- See Also:
-
CURRENT_TEST_METHOD_ATTRIBUTE
ITestContext
attribute updated to store the current test method (as aMethod
instance).- See Also:
-
WEB_APP_FOLDER_PARAMETER
XmlTest
parameter holding an absolute or relative path to a web app folder.- See Also:
-
CONTEXT_PATH_PARAMETER
XmlTest
parameter holding the context path.- See Also:
-
PORT_PARAMETER
XmlTest
parameter holding the web server port.- See Also:
-
SSL_PORT_PARAMETER
XmlTest
parameter holding the web server ssl port.- See Also:
-
BROWSER_START_COMMAND_PARAMETER
XmlTest
parameter holding the browser command to pass to Selenium.- See Also:
-
SERVLET_CONTAINER_PARAMETER
XmlTest
parameter holding the servlet container to run for the integration tests.- Since:
- 5.3
- See Also:
-
-
Constructor Details
-
TapestryTestConstants
public TapestryTestConstants()
-