public class GUITestRunner
extends org.junit.runners.BlockJUnit4ClassRunner
Constructor and Description |
---|
GUITestRunner(Class<?> testClass)
Creates a new
. |
Modifier and Type | Method and Description |
---|---|
protected org.junit.runners.model.Statement |
methodInvoker(org.junit.runners.model.FrameworkMethod method,
Object test)
Returns a
that invokes method on test . |
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, methodBlock, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
public GUITestRunner(Class<?> testClass) throws org.junit.runners.model.InitializationError
GUITestRunner
.testClass
- the class containing the tests to run.org.junit.runners.model.InitializationError
- if something goes wrong when creating this runner.protected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method, Object test)
Statement
that invokes method
on test
. The created statement will
take and save the screenshot of the desktop in case of a failure.methodInvoker
in class org.junit.runners.BlockJUnit4ClassRunner
Copyright © 2009-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.