org.powermock.modules.junit4.common.internal.impl
Class AbstractCommonPowerMockRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
Direct Known Subclasses:
PowerMockRunner

public abstract class AbstractCommonPowerMockRunner
extends Runner
implements org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable


Constructor Summary
AbstractCommonPowerMockRunner(Class<?> klass, Class<? extends PowerMockJUnitRunnerDelegate> runnerDelegateImplClass)
           
 
Method Summary
 void filter(org.junit.runner.manipulation.Filter filter)
           
 org.junit.runner.Description getDescription()
           
 void run(org.junit.runner.notification.RunNotifier notifier)
          Run the tests for this runner.
 void sort(org.junit.runner.manipulation.Sorter sorter)
           
 int testCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCommonPowerMockRunner

public AbstractCommonPowerMockRunner(Class<?> klass,
                                     Class<? extends PowerMockJUnitRunnerDelegate> runnerDelegateImplClass)
                              throws Exception
Throws:
Exception
Method Detail

getDescription

public org.junit.runner.Description getDescription()
Specified by:
getDescription in interface org.junit.runner.Describable
Specified by:
getDescription in class Runner

run

public void run(org.junit.runner.notification.RunNotifier notifier)
Description copied from class: Runner
Run the tests for this runner.

Specified by:
run in class Runner
Parameters:
notifier - will be notified of events while tests are being run--tests being started, finishing, and failing

testCount

public int testCount()
Overrides:
testCount in class Runner
Returns:
the number of tests to be run by the receiver

filter

public void filter(org.junit.runner.manipulation.Filter filter)
            throws org.junit.runner.manipulation.NoTestsRemainException
Specified by:
filter in interface org.junit.runner.manipulation.Filterable
Throws:
org.junit.runner.manipulation.NoTestsRemainException

sort

public void sort(org.junit.runner.manipulation.Sorter sorter)
Specified by:
sort in interface org.junit.runner.manipulation.Sortable


Copyright © 2007-2012. All Rights Reserved.