| Package | Description |
|---|---|
| org.evosuite.assertion | |
| org.evosuite.testcase | |
| org.evosuite.testcase.statements |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayEqualsAssertion |
class |
CompareAssertion
Assertion on comparison value of two objects
|
class |
EqualsAssertion |
class |
InspectorAssertion |
class |
NullAssertion |
class |
PrimitiveAssertion |
class |
PrimitiveFieldAssertion |
class |
SameAssertion
SameAssertion class.
|
| Modifier and Type | Method and Description |
|---|---|
Assertion |
Assertion.clone()
Return a copy of the assertion
|
Assertion |
Assertion.clone(TestCase newTestCase)
Return a copy of the assertion, which is valid in newTestCase
|
Assertion |
SameAssertion.copy(TestCase newTestCase,
int offset)
Return a copy of the assertion, which is valid in newTestCase
|
Assertion |
PrimitiveFieldAssertion.copy(TestCase newTestCase,
int offset)
Return a copy of the assertion, which is valid in newTestCase
|
Assertion |
PrimitiveAssertion.copy(TestCase newTestCase,
int offset)
Return a copy of the assertion, which is valid in newTestCase
|
Assertion |
NullAssertion.copy(TestCase newTestCase,
int offset)
Return a copy of the assertion, which is valid in newTestCase
|
Assertion |
InspectorAssertion.copy(TestCase newTestCase,
int offset)
Return a copy of the assertion, which is valid in newTestCase
|
Assertion |
EqualsAssertion.copy(TestCase newTestCase,
int offset)
Return a copy of the assertion, which is valid in newTestCase
|
Assertion |
CompareAssertion.copy(TestCase newTestCase,
int offset)
Return a copy of the assertion, which is valid in newTestCase
|
abstract Assertion |
Assertion.copy(TestCase newTestCase,
int offset)
Return a copy of the assertion, which is valid in newTestCase
|
Assertion |
ArrayEqualsAssertion.copy(TestCase newTestCase,
int offset)
Return a copy of the assertion, which is valid in newTestCase
|
| Modifier and Type | Method and Description |
|---|---|
Set<Assertion> |
SameTraceEntry.getAssertions()
getAssertions
|
Set<Assertion> |
PrimitiveTraceEntry.getAssertions()
getAssertions
|
Set<Assertion> |
PrimitiveFieldTraceEntry.getAssertions()
getAssertions
|
Set<Assertion> |
OutputTraceEntry.getAssertions()
getAssertions
|
Set<Assertion> |
NullTraceEntry.getAssertions()
getAssertions
|
Set<Assertion> |
InspectorTraceEntry.getAssertions()
getAssertions
|
Set<Assertion> |
ComparisonTraceEntry.getAssertions()
getAssertions
|
Set<Assertion> |
ArrayTraceEntry.getAssertions() |
Set<Assertion> |
SameTraceEntry.getAssertions(OutputTraceEntry other)
getAssertions
|
Set<Assertion> |
PrimitiveTraceEntry.getAssertions(OutputTraceEntry other)
getAssertions
|
Set<Assertion> |
PrimitiveFieldTraceEntry.getAssertions(OutputTraceEntry other)
getAssertions
|
Set<Assertion> |
OutputTraceEntry.getAssertions(OutputTraceEntry other)
getAssertions
|
Set<Assertion> |
NullTraceEntry.getAssertions(OutputTraceEntry other)
getAssertions
|
Set<Assertion> |
InspectorTraceEntry.getAssertions(OutputTraceEntry other)
getAssertions
|
Set<Assertion> |
ComparisonTraceEntry.getAssertions(OutputTraceEntry other)
getAssertions
|
Set<Assertion> |
ArrayTraceEntry.getAssertions(OutputTraceEntry other) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SameTraceEntry.isDetectedBy(Assertion assertion)
isDetectedBy
|
boolean |
PrimitiveTraceEntry.isDetectedBy(Assertion assertion)
isDetectedBy
|
boolean |
PrimitiveFieldTraceEntry.isDetectedBy(Assertion assertion)
isDetectedBy
|
boolean |
OutputTraceEntry.isDetectedBy(Assertion assertion)
isDetectedBy
|
boolean |
OutputTrace.isDetectedBy(Assertion assertion)
Check if this trace makes the assertion fail
|
boolean |
NullTraceEntry.isDetectedBy(Assertion assertion)
isDetectedBy
|
boolean |
InspectorTraceEntry.isDetectedBy(Assertion assertion)
isDetectedBy
|
boolean |
ComparisonTraceEntry.isDetectedBy(Assertion assertion)
isDetectedBy
|
boolean |
ArrayTraceEntry.isDetectedBy(Assertion assertion) |
| Modifier and Type | Method and Description |
|---|---|
List<Assertion> |
TestCase.getAssertions()
Get all assertions that exist for this test case
|
List<Assertion> |
DefaultTestCase.getAssertions()
Get all assertions that exist for this test case
|
| Modifier and Type | Method and Description |
|---|---|
void |
TestCase.removeAssertion(Assertion assertion)
Remove assertion from test case
|
void |
DefaultTestCase.removeAssertion(Assertion assertion) |
protected void |
TestCodeVisitor.visitAssertion(Assertion assertion) |
protected void |
StructuredTestCodeVisitor.visitAssertion(Assertion assertion) |
| Modifier and Type | Field and Description |
|---|---|
protected Set<Assertion> |
AbstractStatement.assertions |
| Modifier and Type | Method and Description |
|---|---|
Set<Assertion> |
Statement.copyAssertions(TestCase newTestCase,
int offset)
copyAssertions
|
Set<Assertion> |
AbstractStatement.copyAssertions(TestCase newTestCase,
int offset)
copyAssertions
|
Set<Assertion> |
Statement.getAssertions()
Return list of assertions
|
Set<Assertion> |
AbstractStatement.getAssertions()
Return list of assertions
|
| Modifier and Type | Method and Description |
|---|---|
void |
Statement.addAssertion(Assertion assertion)
Add a new assertion to statement
|
void |
FunctionalMockStatement.addAssertion(Assertion assertion) |
void |
AbstractStatement.addAssertion(Assertion assertion)
Add a new assertion to statement
|
void |
Statement.removeAssertion(Assertion assertion)
Delete assertion attached to this statement
|
void |
AbstractStatement.removeAssertion(Assertion assertion)
Delete assertion attached to this statement
|
| Modifier and Type | Method and Description |
|---|---|
void |
Statement.setAssertions(Set<Assertion> assertions)
Sets the set of assertions to statement
|
void |
AbstractStatement.setAssertions(Set<Assertion> assertions)
Sets the set of assertions to statement
|
Copyright © 2010–2017 EvoSuite. All rights reserved.