Class RenderingTestClassRunner

  • All Implemented Interfaces:
    org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Orderable, org.junit.runner.manipulation.Sortable

    public class RenderingTestClassRunner
    extends org.junit.runners.BlockJUnit4ClassRunner
    Represents a Test Runner for a single Rendering Test to execute.
    Since:
    4.1M1
    Version:
    $Id: 67dcd83448b844cf2e2365c307934062d372425d $
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.junit.runners.model.Statement classBlock​(org.junit.runner.notification.RunNotifier notifier)  
      Object createTest()  
      protected String getName()  
      protected void runChild​(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)
      protected String testName​(org.junit.runners.model.FrameworkMethod method)  
      protected void validateConstructor​(List<Throwable> errors)  
      • Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner

        collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
      • Methods inherited from class org.junit.runners.ParentRunner

        childrenInvoker, classRules, createTestClass, filter, getDescription, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
      • Methods inherited from class org.junit.runner.Runner

        testCount
    • Method Detail

      • createTest

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

        protected String getName()
        Overrides:
        getName in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
      • testName

        protected String testName​(org.junit.runners.model.FrameworkMethod method)
        Overrides:
        testName in class org.junit.runners.BlockJUnit4ClassRunner
      • validateConstructor

        protected void validateConstructor​(List<Throwable> errors)
        Overrides:
        validateConstructor in class org.junit.runners.BlockJUnit4ClassRunner
      • classBlock

        protected org.junit.runners.model.Statement classBlock​(org.junit.runner.notification.RunNotifier notifier)
        Overrides:
        classBlock in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
      • runChild

        protected void runChild​(org.junit.runners.model.FrameworkMethod method,
                                org.junit.runner.notification.RunNotifier notifier)

        Initialize the Component Manager and call all methods annotated with Initialized in the suite, before each test is executed, to ensure test isolation.

        Overrides:
        runChild in class org.junit.runners.BlockJUnit4ClassRunner