|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectavignon.AvignonProperties
Provides access to the properties file being used for Avignon. You may start JUnit with a Java system property defining the full path name of the properties file (-DAvignonProperties=full name of properties file). If this property is not defined, the system will look for a file called "avignon.properties" using the method Class.getResourceAsStream.
| Field Summary | |
static java.lang.String |
PROPERTY_FILE
The name of the Java system property (java -D property) to use when determining which property file to use. |
static java.lang.String |
SCRIPT_ROOT
The name of the property to use for determining where to look for scripts. |
| Constructor Summary | |
AvignonProperties()
|
|
| Method Summary | |
static java.lang.String |
getAppStart()
Deprecated. This feature is being deprecated to reduce complexity. It does not work with the IE browser, please use an OpenBrowser tag in each acceptance test instead. |
static java.lang.String[] |
getHandlerPaths()
Used by the standard JavaTagLoader to prefix class names when searching for AvignonTagHandlers. |
static java.lang.String |
getHtmlTransform()
Returns the value of the HtmlTransform property. |
static java.lang.String |
getPageDescriptionRoot()
Returns the value of the PageDescriptionRoot property. |
static java.lang.String |
getProperty(java.lang.String propertyName)
Allow access to the currently defined avignon.properties file. |
static java.lang.String |
getScriptRoot()
Determines the directory in which Avignon should look for test suites. |
static java.lang.String |
getSetupScriptName()
Determines the script that should be run at the start of every AcceptanceTest tag. |
static TagLoader[] |
getTagLoaders()
Determines the TagLoaders to use when searching for tag handlers. |
static java.lang.String |
getTearDownScriptName()
Determines the script that should be run at the end of every AcceptanceTest tag. |
static java.lang.String |
getValue(java.lang.String property)
Gets a named property value. |
static void |
setHandlerPaths(java.lang.String[] value)
Allows the programmer to override the FQNs that will be used by the standard JavaTagLoader when searching for AvignonTagHandlers. |
static void |
setProperties(java.util.ResourceBundle value)
Allows the programmer to override the properties that Avignon will see. |
static void |
setTagLoaderNames(java.lang.String value)
Deprecated. Deprecated in favor of the setProperties method. |
static void |
setTagLoaders(TagLoader[] value)
Allows the programmer to override the TagLoaders that will be used, |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String PROPERTY_FILE
public static final java.lang.String SCRIPT_ROOT
| Constructor Detail |
public AvignonProperties()
| Method Detail |
public static void setProperties(java.util.ResourceBundle value)
value - The properties to use.public static void setTagLoaders(TagLoader[] value)
value - TagLoaders to use when searching for tag handlers.public static TagLoader[] getTagLoaders()
public static void setTagLoaderNames(java.lang.String value)
value - Vertical bar (|) separated list of TagLoader class names to use.public static java.lang.String getValue(java.lang.String property)
property - Name of the property to return.
public static java.lang.String getScriptRoot()
public static java.lang.String getSetupScriptName()
public static java.lang.String getTearDownScriptName()
public static java.lang.String getAppStart()
OpenBrowser tag in each acceptance test instead.
http: type URL or a java:fully qualified name of a Java class that extends java.awt.Frame. This value will be used as the application used in the test state.
- Returns:
- The value of the AppStart property.
public static java.lang.String getPageDescriptionRoot()
public static java.lang.String getHtmlTransform()
public static java.lang.String getProperty(java.lang.String propertyName)
propertyName - The name of the property.
public static java.lang.String[] getHandlerPaths()
public static void setHandlerPaths(java.lang.String[] value)
value - The FQN prefixes to use.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||