public class TapestryTestConstants extends Object
ITestContext
attributes meaninful to Tapestry for controlling application startup and shutdown.Modifier and Type | Field and Description |
---|---|
static String |
BASE_URL_ATTRIBUTE
ITestContext attribute holding the application's base URL. |
static String |
BROWSER_START_COMMAND_PARAMETER
XmlTest parameter holding the browser command to pass to Selenium. |
static String |
COMMAND_PROCESSOR_ATTRIBUTE
The
ITestContext attribute holding an instance of CommandProcessor , with
enhanced exception reporting control. |
static String |
CONTEXT_PATH_PARAMETER
XmlTest parameter holding the context path. |
static String |
CURRENT_TEST_METHOD_ATTRIBUTE
ITestContext attribute updated to store the current test method
(as a Method instance). |
static String |
ERROR_REPORTER_ATTRIBUTE
ITestContext attribute holding an instance of ErrorReporter . |
static String |
PORT_PARAMETER
XmlTest parameter holding the web server port. |
static String |
SELENIUM_ATTRIBUTE
ITestContext attribute holding an instance of Selenium . |
static String |
SERVLET_CONTAINER_PARAMETER
XmlTest parameter holding the servlet container to run for the integration tests. |
static String |
SHUTDOWN_ATTRIBUTE
ITestContext attribute holding an instance of ErrorReporter , used
to shutdown Selenium and the Web Server at the end of the test. |
static String |
SSL_PORT_PARAMETER
XmlTest parameter holding the web server ssl port. |
static String |
WEB_APP_FOLDER_PARAMETER
XmlTest parameter holding an absolute or relative path to a web app
folder. |
Constructor and Description |
---|
TapestryTestConstants() |
public static final String SELENIUM_ATTRIBUTE
ITestContext
attribute holding an instance of Selenium
.public static final String ERROR_REPORTER_ATTRIBUTE
ITestContext
attribute holding an instance of ErrorReporter
.public static final String SHUTDOWN_ATTRIBUTE
ITestContext
attribute holding an instance of ErrorReporter
, used
to shutdown Selenium and the Web Server at the end of the test.public static final String COMMAND_PROCESSOR_ATTRIBUTE
ITestContext
attribute holding an instance of CommandProcessor
, with
enhanced exception reporting control. This allows tests that wish to, to bypass the Selenium
interface
and execute commands directly on the Selenium RC server.public static final String BASE_URL_ATTRIBUTE
ITestContext
attribute holding the application's base URL.public static final String CURRENT_TEST_METHOD_ATTRIBUTE
ITestContext
attribute updated to store the current test method
(as a Method
instance).public static final String WEB_APP_FOLDER_PARAMETER
XmlTest
parameter holding an absolute or relative path to a web app
folder.public static final String CONTEXT_PATH_PARAMETER
XmlTest
parameter holding the context path.public static final String PORT_PARAMETER
XmlTest
parameter holding the web server port.public static final String SSL_PORT_PARAMETER
XmlTest
parameter holding the web server ssl port.public static final String BROWSER_START_COMMAND_PARAMETER
XmlTest
parameter holding the browser command to pass to Selenium.public static final String SERVLET_CONTAINER_PARAMETER
XmlTest
parameter holding the servlet container to run for the integration tests.public TapestryTestConstants()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.