Class AppTestRunner

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

    public class AppTestRunner
    extends org.junit.runners.BlockJUnit4ClassRunner
    Author:
    Tijs Rademakers
    • Constructor Summary

      Constructors 
      Constructor Description
      AppTestRunner​(Class<?> klass)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void assertDatabaseEmpty​(org.junit.runners.model.FrameworkMethod method)  
      protected void deleteDeployment​(String deploymentId)  
      protected String deployAppDefinition​(org.junit.runners.model.FrameworkMethod method)  
      protected String getAppDefinitionResource​(org.junit.runners.model.FrameworkMethod method)  
      static AppEngineConfiguration getAppEngineConfiguration()  
      protected void runChild​(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)  
      static void setAppEngineConfiguration​(AppEngineConfiguration appEngineConfiguration)  
      • 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
    • Constructor Detail

      • AppTestRunner

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

      • setAppEngineConfiguration

        public static void setAppEngineConfiguration​(AppEngineConfiguration appEngineConfiguration)
      • runChild

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

        protected String deployAppDefinition​(org.junit.runners.model.FrameworkMethod method)
      • getAppDefinitionResource

        protected String getAppDefinitionResource​(org.junit.runners.model.FrameworkMethod method)
      • deleteDeployment

        protected void deleteDeployment​(String deploymentId)
      • assertDatabaseEmpty

        protected void assertDatabaseEmpty​(org.junit.runners.model.FrameworkMethod method)