| Modifier and Type | Method and Description |
|---|---|
Constraint<?> |
BranchCondition.getConstraint()
Returns the constraint for actual branch.
|
| Modifier and Type | Method and Description |
|---|---|
List<Constraint<?>> |
PathCondition.getConstraints()
Returns the constraints for this path condition
|
List<Constraint<?>> |
BranchCondition.getSupportingConstraints()
Returns a list of implicit constraints (nullity checks, zero division,
index within bounds, negative size array length, etc.) collected before
the current branch condtion and after the last symbolic branch condition
|
| Modifier and Type | Method and Description |
|---|---|
void |
DSEStats.reportNewConstraints(Collection<Constraint<?>> constraints) |
| Constructor and Description |
|---|
BranchCondition(String className,
String methodName,
int branchIndex,
Constraint<?> constraint,
List<Constraint<?>> supportingConstraints)
A branch condition is identified by the className, methodName and
branchIndex belonging to the class in the SUT, the target constraint and
all the suporting constraint for that particular branch (zero checks,
etc)
|
| Constructor and Description |
|---|
BranchCondition(String className,
String methodName,
int branchIndex,
Constraint<?> constraint,
List<Constraint<?>> supportingConstraints)
A branch condition is identified by the className, methodName and
branchIndex belonging to the class in the SUT, the target constraint and
all the suporting constraint for that particular branch (zero checks,
etc)
|
| Modifier and Type | Class and Description |
|---|---|
class |
IntegerConstraint |
class |
RealConstraint |
class |
StringConstraint |
| Modifier and Type | Method and Description |
|---|---|
Constraint<String> |
StringConstraint.negate() |
Constraint<Double> |
RealConstraint.negate() |
Constraint<Long> |
IntegerConstraint.negate() |
abstract Constraint<T> |
Constraint.negate() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
Solver.checkSAT(Collection<Constraint<?>> constraints,
SolverResult satResult) |
static double |
DistanceEstimator.getDistance(Collection<Constraint<?>> constraints)
getDistance
|
protected static Set<Variable<?>> |
Solver.getVariables(Collection<Constraint<?>> constraints)
Creates a set with all the variables in the constraints.
|
abstract SolverResult |
Solver.solve(Collection<Constraint<?>> constraints) |
SolverResult |
SolverCache.solve(Solver solver,
Collection<Constraint<?>> constraints) |
| Modifier and Type | Method and Description |
|---|---|
SolverResult |
EvoSuiteSolver.solve(Collection<Constraint<?>> constraints) |
| Modifier and Type | Method and Description |
|---|---|
SolverResult |
CVC4Solver.solve(Collection<Constraint<?>> constraints) |
| Modifier and Type | Method and Description |
|---|---|
SolverResult |
Z3Solver.solve(Collection<Constraint<?>> constraints) |
| Modifier and Type | Method and Description |
|---|---|
SolverResult |
Z3Str2Solver.solve(Collection<Constraint<?>> constraints) |
| Modifier and Type | Method and Description |
|---|---|
static Constraint<?> |
ConstraintNormalizer.normalize(IntegerConstraint c)
Transforms an IntegerConstraint into a corresponding StringConstraint,
RealConstraint or IntegerConstraint.
|
Copyright © 2010–2017 EvoSuite. All rights reserved.