cascading.test
Class PlatformRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<org.junit.runner.Runner>
          extended by cascading.test.PlatformRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class PlatformRunner
extends org.junit.runners.ParentRunner<org.junit.runner.Runner>


Nested Class Summary
static interface PlatformRunner.Platform
           
 
Field Summary
static String PLATFORM_INCLUDE
           
 
Constructor Summary
PlatformRunner(Class<PlatformTestCase> testClass)
           
 
Method Summary
protected  org.junit.runner.Description describeChild(org.junit.runner.Runner runner)
           
protected  List<org.junit.runner.Runner> getChildren()
           
static Set<String> getIncludes()
           
static boolean isNotIncluded(Set<String> includes, String platformName)
           
static cascading.test.TestPlatform makeInstance(Class<? extends cascading.test.TestPlatform> type)
           
protected  void runChild(org.junit.runner.Runner runner, org.junit.runner.notification.RunNotifier runNotifier)
           
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, collectInitializationErrors, 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
 

Field Detail

PLATFORM_INCLUDE

public static final String PLATFORM_INCLUDE
See Also:
Constant Field Values
Constructor Detail

PlatformRunner

public PlatformRunner(Class<PlatformTestCase> testClass)
               throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError
Method Detail

getIncludes

public static Set<String> getIncludes()

isNotIncluded

public static boolean isNotIncluded(Set<String> includes,
                                    String platformName)

makeInstance

public static cascading.test.TestPlatform makeInstance(Class<? extends cascading.test.TestPlatform> type)

getChildren

protected List<org.junit.runner.Runner> getChildren()
Specified by:
getChildren in class org.junit.runners.ParentRunner<org.junit.runner.Runner>

describeChild

protected org.junit.runner.Description describeChild(org.junit.runner.Runner runner)
Specified by:
describeChild in class org.junit.runners.ParentRunner<org.junit.runner.Runner>

runChild

protected void runChild(org.junit.runner.Runner runner,
                        org.junit.runner.notification.RunNotifier runNotifier)
Specified by:
runChild in class org.junit.runners.ParentRunner<org.junit.runner.Runner>


Copyright © 2007-2012 Concurrent, Inc. All Rights Reserved.