public class TestGenerationContext extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
doneWithExecutingSUTCode() |
static ClassLoader |
getClassLoader()
Deprecated.
use
getInstance().getClassLoaderForSUT() |
InstrumentingClassLoader |
getClassLoaderForSUT() |
static TestGenerationContext |
getInstance() |
InstrumentingClassLoader |
getRegressionClassLoaderForSUT() |
void |
goingToExecuteSUTCode()
This is pretty important if the SUT use classloader of the running
thread.
|
void |
resetContext() |
public static TestGenerationContext getInstance()
public void goingToExecuteSUTCode()
Note, an example in which this happens is in
org.dom4j.bean.BeanAttribute
in SF100 project 62_dom4j
public void doneWithExecutingSUTCode()
public InstrumentingClassLoader getClassLoaderForSUT()
public InstrumentingClassLoader getRegressionClassLoaderForSUT()
public static ClassLoader getClassLoader()
getInstance().getClassLoaderForSUT()public void resetContext()
Copyright © 2010–2017 EvoSuite. All rights reserved.