public class ParametricTestException extends AbstractTestException
Constructor and Description |
---|
ParametricTestException(String testName,
Object[] parameters,
Collection<AtomParametricTestException> testExceptions,
Collection<AtomParametricTestAssertionError> testAssumptionViolations)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Collection<AtomParametricTestAssertionError> |
getTestAssumptionViolations()
Gets the assumption violated exceptions thrown during a parametric test.
|
Collection<AtomParametricTestException> |
getTestExceptions()
Gets the exceptions thrown during a parametric test.
|
void |
setTestAssumptionViolations(Collection<AtomParametricTestAssertionError> testAssumptionViolations)
Sets the assumption violated exceptions thrown during a parametric test.
|
void |
setTestExceptions(Collection<AtomParametricTestException> testExceptions)
Sets the exceptions thrown during a parametric test.
|
getLocalizedMessage, getMessage, getMessageCommand, setMessageCommand
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ParametricTestException(String testName, Object[] parameters, Collection<AtomParametricTestException> testExceptions, Collection<AtomParametricTestAssertionError> testAssumptionViolations)
testName
- The test name.parameters
- Parameters for the exception (and message). The name of the test for the exception.testExceptions
- Exceptions thrown during a parametric test.testAssumptionViolations
- Assumption violated exceptions thrown during a parametric test.public Collection<AtomParametricTestException> getTestExceptions()
public void setTestExceptions(Collection<AtomParametricTestException> testExceptions)
testExceptions
- New exceptions thrown during a parametric test.public Collection<AtomParametricTestAssertionError> getTestAssumptionViolations()
public void setTestAssumptionViolations(Collection<AtomParametricTestAssertionError> testAssumptionViolations)
testAssumptionViolations
- New assumption violated exceptions thrown during a parametric test.Copyright © 2012. All Rights Reserved.