public class TestingEngineRegistry extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TESTING_ENGINE_HTMLUNIT
Key of HtmlUnit testing engine.
|
static String |
TESTING_ENGINE_WEBDRIVER
Key of Webdriver testing engine.
|
| Constructor and Description |
|---|
TestingEngineRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addTestingEngine(String key,
String classpath)
Add a new testing engine.
|
static String |
getFirstAvailable()
Get first available testing engine key.
|
static Class<?> |
getTestingEngineClass(String aKey)
Gets the class based on the key of the class.
|
public static final String TESTING_ENGINE_HTMLUNIT
public static final String TESTING_ENGINE_WEBDRIVER
public static Class<?> getTestingEngineClass(String aKey) throws ClassNotFoundException
aKey - Key of the testing engineClassNotFoundExceptionpublic static void addTestingEngine(String key, String classpath) throws ClassNotFoundException
key - A string to identify the testing engine.classpath - The full class name.ClassNotFoundException - If the class is not in the classpath.public static String getFirstAvailable()
Copyright © 2002–2017 JWebUnit. All rights reserved.