|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnet.thucydides.core.annotations.TestCaseAnnotations
public final class TestCaseAnnotations
Utility class used to inject fields into a test case.
| Method Summary | |
|---|---|
static TestCaseAnnotations |
forTestCase(Object testCase)
|
void |
injectDriver(org.openqa.selenium.WebDriver driver)
Instantiate the @Managed-annotated WebDriver instance with current WebDriver if the annotated field is present. |
boolean |
isUniqueSession()
|
static boolean |
isUniqueSession(Class<?> testClass)
|
static boolean |
isWebTest(Class<?> testClass)
|
static boolean |
supportsWebTests(Class clazz)
Does this class support web tests? Test cases that support web tests need to have at least a WebDriver field annotated with the @Managed annotation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TestCaseAnnotations forTestCase(Object testCase)
public void injectDriver(org.openqa.selenium.WebDriver driver)
public static boolean supportsWebTests(Class clazz)
public boolean isUniqueSession()
public static boolean isUniqueSession(Class<?> testClass)
public static boolean isWebTest(Class<?> testClass)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||