public static enum ExceptionCoverageTestFitness.ExceptionType extends Enum<ExceptionCoverageTestFitness.ExceptionType>
| Enum Constant and Description |
|---|
DECLARED
Thrown exception which is expected, because declared in signature with "throws"
|
EXPLICIT
unexpected exception directly thrown with a "throw new..."
|
IMPLICIT
unexpected exception not thrown directly in the SUT, eg NPE on variable access
|
| Modifier and Type | Method and Description |
|---|---|
static ExceptionCoverageTestFitness.ExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionCoverageTestFitness.ExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExceptionCoverageTestFitness.ExceptionType EXPLICIT
public static final ExceptionCoverageTestFitness.ExceptionType IMPLICIT
public static final ExceptionCoverageTestFitness.ExceptionType DECLARED
public static ExceptionCoverageTestFitness.ExceptionType[] values()
for (ExceptionCoverageTestFitness.ExceptionType c : ExceptionCoverageTestFitness.ExceptionType.values()) System.out.println(c);
public static ExceptionCoverageTestFitness.ExceptionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2010–2017 EvoSuite. All rights reserved.