public class BranchCondition extends Object
BranchCondition class.
| 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 | Method and Description |
|---|---|
int |
getBranchIndex() |
String |
getClassName() |
Constraint<?> |
getConstraint()
Returns the constraint for actual branch.
|
String |
getFullName() |
int |
getInstructionIndex() |
String |
getMethodName() |
List<Constraint<?>> |
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
|
String |
toString() |
public BranchCondition(String className, String methodName, int branchIndex, Constraint<?> constraint, List<Constraint<?>> supportingConstraints)
public String getClassName()
public int getInstructionIndex()
public String getFullName()
public Constraint<?> getConstraint()
public List<Constraint<?>> getSupportingConstraints()
public String getMethodName()
public int getBranchIndex()
Copyright © 2010–2017 EvoSuite. All rights reserved.