org.powermock.modules.junit4.legacy.internal.impl
Class PowerMockJUnit4LegacyFilter

java.lang.Object
  extended by org.junit.runner.manipulation.Filter
      extended by org.powermock.modules.junit4.legacy.internal.impl.PowerMockJUnit4LegacyFilter

public class PowerMockJUnit4LegacyFilter
extends org.junit.runner.manipulation.Filter

A JUnit filter that will filter the methods specified in String[] passed to the constructor (i.e. these are the only tests that will be run for a particular test class).

Author:
Johan Haleby

Field Summary
 
Fields inherited from class org.junit.runner.manipulation.Filter
ALL
 
Constructor Summary
PowerMockJUnit4LegacyFilter(String[] methodNamesToRun)
           
 
Method Summary
 String describe()
          
 boolean shouldRun(org.junit.runner.Description description)
          
 
Methods inherited from class org.junit.runner.manipulation.Filter
apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerMockJUnit4LegacyFilter

public PowerMockJUnit4LegacyFilter(String[] methodNamesToRun)
Method Detail

describe

public String describe()

Specified by:
describe in class org.junit.runner.manipulation.Filter

shouldRun

public boolean shouldRun(org.junit.runner.Description description)

Specified by:
shouldRun in class org.junit.runner.manipulation.Filter


Copyright © 2007-2014. All Rights Reserved.