Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.test.runners
Class ApplCoreJUnit4ClassRunner

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 oracle.apps.fnd.applcore.test.runners.ApplCoreJUnit4ClassRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class ApplCoreJUnit4ClassRunner
extends org.junit.runners.BlockJUnit4ClassRunner

ApplCoreJUnit4ClassRunner is a custom extension of BlockJUnit4ClassRunner, which provides functionality of the ApplCore to standard JUnit 4.5+ tests by means of annotations.

The following list constitutes all annotations currently supported directly by ApplCoreJUnit4ClassRunner.


Constructor Summary
ApplCoreJUnit4ClassRunner(java.lang.Class<?> klazz)
           
 
Method Summary
protected  void runChild(org.junit.runners.model.FrameworkMethod fwkMethod, org.junit.runner.notification.RunNotifier notifier)
          Performs the same logic as BlockJUnit4ClassRunner.runChild(FrameworkMethod, RunNotifier), except the custom ApplCore logic to determine whether a test method should be executed as part of test.
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, methodBlock, methodInvoker, possiblyExpectingExceptions, testName, validateInstanceMethods, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, filter, getDescription, getName, getTestClass, run, 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
 
Methods inherited from interface org.junit.runner.manipulation.Filterable
filter
 
Methods inherited from interface org.junit.runner.manipulation.Sortable
sort
 

Constructor Detail

ApplCoreJUnit4ClassRunner

public ApplCoreJUnit4ClassRunner(java.lang.Class<?> klazz)
                          throws org.junit.runners.model.InitializationError
Parameters:
klazz - the test class to be run.
Throws:
org.junit.runners.model.InitializationError
Method Detail

runChild

protected void runChild(org.junit.runners.model.FrameworkMethod fwkMethod,
                        org.junit.runner.notification.RunNotifier notifier)
Performs the same logic as BlockJUnit4ClassRunner.runChild(FrameworkMethod, RunNotifier), except the custom ApplCore logic to determine whether a test method should be executed as part of test.

Overrides:
runChild in class org.junit.runners.BlockJUnit4ClassRunner
Parameters:
fwkMethod -
notifier -

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.