public abstract class AssertionGenerator extends Object
Abstract AssertionGenerator class.
| Modifier and Type | Field and Description |
|---|---|
protected static ArrayTraceObserver |
arrayObserver
Constant
null_observer |
protected static ComparisonTraceObserver |
comparisonObserver
Constant
comparison_observer |
protected static PrimitiveFieldTraceObserver |
fieldObserver
Constant
field_observer |
protected static InspectorTraceObserver |
inspectorObserver
Constant
inspector_observer |
protected static org.slf4j.Logger |
logger
Constant
logger |
protected static NullTraceObserver |
nullObserver
Constant
null_observer |
protected static PrimitiveTraceObserver |
primitiveObserver
Constant
primitive_observer |
protected static SameTraceObserver |
sameObserver
Constant
same_observer |
| Constructor and Description |
|---|
AssertionGenerator()
Constructor for AssertionGenerator.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addAssertions(TestCase test)
addAssertions
|
void |
addAssertions(TestSuiteChromosome suite)
Add assertions to all tests in a test suite
|
protected void |
changeClassLoader(TestSuiteChromosome suite) |
void |
filterFailingAssertions(List<TestCase> testCases) |
protected void |
filterFailingAssertions(TestCase test) |
void |
filterFailingAssertions(TestSuiteChromosome testSuite) |
protected ExecutionResult |
runTest(TestCase test)
Execute a test case on the original unit
|
void |
setupClassLoader(TestSuiteChromosome suite)
Reinstrument to make sure final fields are removed
|
protected static final org.slf4j.Logger logger
loggerprotected static final PrimitiveTraceObserver primitiveObserver
primitive_observerprotected static final ComparisonTraceObserver comparisonObserver
comparison_observerprotected static final SameTraceObserver sameObserver
same_observerprotected static final InspectorTraceObserver inspectorObserver
inspector_observerprotected static final PrimitiveFieldTraceObserver fieldObserver
field_observerprotected static final NullTraceObserver nullObserver
null_observerprotected static final ArrayTraceObserver arrayObserver
null_observerpublic AssertionGenerator()
Constructor for AssertionGenerator.
public abstract void addAssertions(TestCase test)
addAssertions
test - a TestCase object.public void addAssertions(TestSuiteChromosome suite)
suite - protected ExecutionResult runTest(TestCase test)
test - The test case that should be executedExecutionResult object.protected void filterFailingAssertions(TestCase test)
public void filterFailingAssertions(TestSuiteChromosome testSuite)
public void setupClassLoader(TestSuiteChromosome suite)
suite - protected void changeClassLoader(TestSuiteChromosome suite)
Copyright © 2010–2017 EvoSuite. All rights reserved.