JSF Test Framework: Mock 1.1.2

org.jboss.test.faces.mock
Class MockTestRunner

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.jboss.test.faces.mock.MockTestRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class MockTestRunner
extends org.junit.runners.BlockJUnit4ClassRunner

Author:
asmirnov@exadel.com

Nested Class Summary
protected static class MockTestRunner.Binding
          

Binding definition storage

protected static class MockTestRunner.FieldModule
           
 
Constructor Summary
MockTestRunner(Class<?> klass)
          

 
Method Summary
protected  Object createTest()
           
protected  Set<Field> getFields(Class<?> c)
          Gets all declared fields and all inherited fields.
protected  void runChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)
           
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, describeChild, getChildren, methodBlock, methodInvoker, possiblyExpectingExceptions, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, filter, getDescription, getName, getTestClass, run, 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

MockTestRunner

public MockTestRunner(Class<?> klass)
               throws org.junit.runners.model.InitializationError

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

getFields

protected Set<Field> getFields(Class<?> c)
Gets all declared fields and all inherited fields.


runChild

protected void runChild(org.junit.runners.model.FrameworkMethod method,
                        org.junit.runner.notification.RunNotifier notifier)
Overrides:
runChild in class org.junit.runners.BlockJUnit4ClassRunner

createTest

protected Object createTest()
                     throws Exception
Overrides:
createTest in class org.junit.runners.BlockJUnit4ClassRunner
Throws:
Exception

JSF Test Framework: Mock 1.1.2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.