net.thucydides.junit.runners
Class TestCaseAnnotations

Package class diagram package TestCaseAnnotations
java.lang.Object
  extended by net.thucydides.junit.runners.TestCaseAnnotations

public final class TestCaseAnnotations
extends Object

Utility class used to inject fields into a test case.

Author:
johnsmart

Method Summary
static void checkThatTestCaseIsCorrectlyAnnotated(Class<?> testCase)
           
static void injectDriverInto(Object testCase, org.openqa.selenium.WebDriver driver)
          Instantiate the @Managed-annotated WebDriver instance with current WebDriver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkThatTestCaseIsCorrectlyAnnotated

public static void checkThatTestCaseIsCorrectlyAnnotated(Class<?> testCase)

injectDriverInto

public static void injectDriverInto(Object testCase,
                                    org.openqa.selenium.WebDriver driver)
Instantiate the @Managed-annotated WebDriver instance with current WebDriver.



Copyright © 2011 Wakaleo Consulting. All Rights Reserved.