public class JUnitClassloaderRunner
extends org.junit.runners.BlockJUnit4ClassRunner
Constructor and Description |
---|
JUnitClassloaderRunner(Class<?> klass) |
Modifier and Type | Method and Description |
---|---|
static void |
forceGc()
Make sure Garbage Collection has been run
|
static void |
forceGc(int n)
Make sure Garbage Collection has been run N no of times
|
protected org.junit.runners.model.Statement |
methodInvoker(org.junit.runners.model.FrameworkMethod method,
Object test) |
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
public JUnitClassloaderRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
protected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method, Object test)
methodInvoker
in class org.junit.runners.BlockJUnit4ClassRunner
public static void forceGc(int n)
public static void forceGc()
Copyright © 2019. All rights reserved.