Class GdxTestRunner

  • All Implemented Interfaces:
    com.badlogic.gdx.ApplicationListener, org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Orderable, org.junit.runner.manipulation.Sortable

    public class GdxTestRunner
    extends org.junit.runners.BlockJUnit4ClassRunner
    implements com.badlogic.gdx.ApplicationListener
    • Constructor Summary

      Constructors 
      Constructor Description
      GdxTestRunner​(java.lang.Class<?> klass)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void create()  
      void dispose()  
      void pause()  
      void render()  
      void resize​(int width, int height)  
      void resume()  
      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, createTest, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
      • Methods inherited from class org.junit.runners.ParentRunner

        childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
      • 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

      • GdxTestRunner

        public GdxTestRunner​(java.lang.Class<?> klass)
                      throws org.junit.runners.model.InitializationError
        Throws:
        org.junit.runners.model.InitializationError
    • Method Detail

      • create

        public void create()
        Specified by:
        create in interface com.badlogic.gdx.ApplicationListener
      • resume

        public void resume()
        Specified by:
        resume in interface com.badlogic.gdx.ApplicationListener
      • render

        public void render()
        Specified by:
        render in interface com.badlogic.gdx.ApplicationListener
      • resize

        public void resize​(int width,
                           int height)
        Specified by:
        resize in interface com.badlogic.gdx.ApplicationListener
      • pause

        public void pause()
        Specified by:
        pause in interface com.badlogic.gdx.ApplicationListener
      • dispose

        public void dispose()
        Specified by:
        dispose in interface com.badlogic.gdx.ApplicationListener
      • runChild

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