public class TestConstraint extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestConstraint.CheckWasRunConstraint
Constraint to check that it was actually run (or not)
|
| Constructor and Description |
|---|
TestConstraint() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testConstraintFails()
Test that constraints will fail properly
|
void |
testConstraintPasses()
Test that we run a passing constraint
|
void |
testDisableConstraint()
Check that if we just disable one constraint, then
|
void |
testDisableConstraints()
Test that if we disable all constraints, then nothing gets run
|
void |
testIsUnloaded()
Check to make sure a constraint is unloaded when it fails
|
public void testConstraintPasses()
throws Exception
Exceptionpublic void testConstraintFails()
throws Exception
Exceptionpublic void testDisableConstraint()
throws Throwable
Throwablepublic void testDisableConstraints()
throws Throwable
Throwablepublic void testIsUnloaded()
throws Exception
Exception