org.kuali.rice.testtools.selenium
Class AutomatedFunctionalTestRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
          extended by org.junit.runners.BlockJUnit4ClassRunner
              extended by org.kuali.rice.testtools.selenium.AutomatedFunctionalTestRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class AutomatedFunctionalTestRunner
extends org.junit.runners.BlockJUnit4ClassRunner

JUnit Test Runner to run test Automated Functional Tests. Enables bookmark mode for test methods ending in Bookmark and navigation mode for test methods ending in Nav. AutomatedFunctionalTestBase.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
AutomatedFunctionalTestRunner(Class<?> type)
          AutomatedFunctionalTestRunner constructor.
 
Method Summary
protected  org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method, Object test)
          Test methods ending with Bookmark will have AutomatedFunctionalTestBase.enableBookmarkMode() called, test methods ending with Nav will have AutomatedFunctionalTestBase.enableNavigationMode() called.
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, methodBlock, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses
 
Methods inherited from class org.junit.runner.Runner
testCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutomatedFunctionalTestRunner

public AutomatedFunctionalTestRunner(Class<?> type)
                              throws org.junit.runners.model.InitializationError
AutomatedFunctionalTestRunner constructor.

Parameters:
type -
Throws:
org.junit.runners.model.InitializationError
Method Detail

methodInvoker

protected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method,
                                                          Object test)
Test methods ending with Bookmark will have AutomatedFunctionalTestBase.enableBookmarkMode() called, test methods ending with Nav will have AutomatedFunctionalTestBase.enableNavigationMode() called.

Overrides:
methodInvoker in class org.junit.runners.BlockJUnit4ClassRunner
Parameters:
method - test method to check for ending in Bookmark or Nav
test - which extends AutomatedFunctionalTestBase
Returns:
BlockJUnit4ClassRunner.methodInvoker(org.junit.runners.model.FrameworkMethod, java.lang.Object)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.