org.powermock.modules.junit4.legacy.internal.impl.testcaseworkaround
Class PowerMockJUnit4LegacyTestIntrospector

java.lang.Object
  extended by org.junit.internal.runners.TestIntrospector
      extended by org.powermock.modules.junit4.legacy.internal.impl.testcaseworkaround.PowerMockJUnit4LegacyTestIntrospector

public class PowerMockJUnit4LegacyTestIntrospector
extends org.junit.internal.runners.TestIntrospector

A custom TestIntrospector that supports methods not annotated by the Test annotation but should still be executed in the test case. This is actually a workaround for the JUnit 4 test runner when the test case extends from the TestCase class.


Constructor Summary
PowerMockJUnit4LegacyTestIntrospector(Class<?> testClass)
           
 
Method Summary
 Class<? extends Throwable> expectedException(Method method)
           
 long getTimeout(Method method)
           
 
Methods inherited from class org.junit.internal.runners.TestIntrospector
getTestMethods, isIgnored
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerMockJUnit4LegacyTestIntrospector

public PowerMockJUnit4LegacyTestIntrospector(Class<?> testClass)
Method Detail

getTimeout

public long getTimeout(Method method)

expectedException

public Class<? extends Throwable> expectedException(Method method)


Copyright © 2007-2014. All Rights Reserved.