| Package | Description |
|---|---|
| org.evosuite.contracts |
| Modifier and Type | Class and Description |
|---|---|
class |
AssertionErrorContract
No method should throw an AssertionError
Note: this case is bit tricky, because assertions are disabled by default.
|
class |
EqualsContract
An object always has to equal itself
|
class |
EqualsHashcodeContract
o1.equals(o2) => o1.hashCode() == o2.hashCode()
|
class |
EqualsNullContract
An object must never equal null
|
class |
EqualsSymmetricContract
EqualsSymmetricContract class.
|
class |
HashCodeReturnsNormallyContract
HashCodeReturnsNormallyContract class.
|
class |
JCrasherExceptionContract
JCrasherExceptionContract class.
|
class |
JUnitTheoryContract |
class |
NullPointerExceptionContract
NullPointerExceptionContract class.
|
class |
ToStringReturnsNormallyContract
ToStringReturnsNormallyContract class.
|
class |
UndeclaredExceptionContract
UndeclaredExceptionContract class.
|
| Modifier and Type | Method and Description |
|---|---|
Contract |
ContractViolation.getContract()
Getter for contract that was violated
|
| Modifier and Type | Method and Description |
|---|---|
static int |
FailingTestSet.getNumberOfViolations(Contract contract)
How many violations of this contract have we observed in total?
|
| Constructor and Description |
|---|
ContractViolation(Contract contract,
Statement statement,
Throwable exception,
VariableReference... variables)
Constructor for ContractViolation.
|
SingleContractChecker(Contract contract)
Constructor for SingleContractChecker.
|
Copyright © 2010–2017 EvoSuite. All rights reserved.