org.xwiki.rendering.test.integration

Class RenderingTestSuite

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static interface  RenderingTestSuite.Initialized 
      static interface  RenderingTestSuite.Scope 
      • Nested classes/interfaces inherited from class org.junit.runners.Suite

        org.junit.runners.Suite.SuiteClasses
    • Constructor Summary

      Constructors 
      Constructor and Description
      RenderingTestSuite(Class<?> klass)
      Only called reflectively.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      protected List<org.junit.runner.Runner> getChildren() 
      org.junit.runner.Description getDescription()
      We override this method so that the JUnit results are not displayed in a test hierarchy with a single test result for each node (as it would be otherwise since RenderingTest has a single test method).
      • Methods inherited from class org.junit.runners.Suite

        describeChild, emptySuite, runChild
      • Methods inherited from class org.junit.runners.ParentRunner

        childrenInvoker, classBlock, classRules, collectInitializationErrors, createTestClass, filter, getName, getRunnerAnnotations, getTestClass, isIgnored, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses
      • Methods inherited from class org.junit.runner.Runner

        testCount
    • Constructor Detail

      • RenderingTestSuite

        public RenderingTestSuite(Class<?> klass)
                           throws Throwable
        Only called reflectively. Do not use programmatically.
        Throws:
        Throwable
    • Method Detail

      • getChildren

        protected List<org.junit.runner.Runner> getChildren()
        Overrides:
        getChildren in class org.junit.runners.Suite
      • getDescription

        public org.junit.runner.Description getDescription()
        We override this method so that the JUnit results are not displayed in a test hierarchy with a single test result for each node (as it would be otherwise since RenderingTest has a single test method).
        Specified by:
        getDescription in interface org.junit.runner.Describable
        Overrides:
        getDescription in class org.junit.runners.ParentRunner<org.junit.runner.Runner>

Copyright © 2004–2015 XWiki. All rights reserved.