|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jwebunit.util.TestingEngineRegistry
public class TestingEngineRegistry
This will maintain a registry of known testing engines to be used by JWebUnit.
Field Summary | |
---|---|
static java.lang.String |
TESTING_ENGINE_HTMLUNIT
Key of HtmlUnit testing engine. |
static java.lang.String |
TESTING_ENGINE_SELENIUM
Key of HtmlUnit testing engine. |
Constructor Summary | |
---|---|
TestingEngineRegistry()
|
Method Summary | |
---|---|
static void |
addTestingEngine(java.lang.String key,
java.lang.String classpath)
Add a new testing engine. |
static java.lang.String |
getFirstAvailable()
Get first available testing engine key. |
static java.lang.Class<?> |
getTestingEngineClass(java.lang.String aKey)
Gets the class based on the key of the class. |
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 TESTING_ENGINE_HTMLUNIT
public static final java.lang.String TESTING_ENGINE_SELENIUM
Constructor Detail |
---|
public TestingEngineRegistry()
Method Detail |
---|
public static java.lang.Class<?> getTestingEngineClass(java.lang.String aKey) throws java.lang.ClassNotFoundException
aKey
- Key of the testing engine
java.lang.ClassNotFoundException
public static void addTestingEngine(java.lang.String key, java.lang.String classpath) throws java.lang.ClassNotFoundException
key
- A string to identify the testing engine.classpath
- The full class name.
java.lang.ClassNotFoundException
- If the class is not in the classpath.public static java.lang.String getFirstAvailable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |