|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jackrabbit.tck.WebAppTestConfig
The WebAppTestConfig class reads and saves the config in the tck web app specific way.
| Field Summary | |
static java.lang.String[] |
propNames
default property names |
| Constructor Summary | |
WebAppTestConfig()
|
|
| Method Summary | |
static java.util.Map |
getConfig()
Reads the config entries from the repository |
static java.util.Map |
getCurrentConfig()
Returns the current configuration |
static java.util.Map |
getOriConfig()
Reads the original config from the property file. |
static java.util.Map |
getTestCaseSpecificConfigs(junit.framework.TestSuite suite)
Returns all test case specific configuration entries |
static void |
resetConfiguration()
Removes the custom config entries |
static void |
save(javax.servlet.http.HttpServletRequest request,
javax.jcr.Session repSession)
Saves the configuration entries which needs to be set. |
static void |
saveProperty(java.lang.String propName,
java.lang.String propValue,
javax.jcr.Session repSession)
This method saves a single property |
| 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[] propNames
| Constructor Detail |
public WebAppTestConfig()
| Method Detail |
public static java.util.Map getConfig()
public static java.util.Map getOriConfig()
public static void save(javax.servlet.http.HttpServletRequest request,
javax.jcr.Session repSession)
throws javax.jcr.RepositoryException
request - request with config changesrepSession - Session used to write config
javax.jcr.RepositoryException
public static void saveProperty(java.lang.String propName,
java.lang.String propValue,
javax.jcr.Session repSession)
throws javax.jcr.RepositoryException
propName - property namepropValue - property valuerepSession - session
javax.jcr.RepositoryExceptionpublic static java.util.Map getTestCaseSpecificConfigs(junit.framework.TestSuite suite)
suite - test suite
public static java.util.Map getCurrentConfig()
public static void resetConfiguration()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||