public class TestConstraint
extends java.lang.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 static void setUpBeforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic void testConstraintPasses()
throws java.lang.Exception
java.lang.Exceptionpublic void testConstraintFails()
throws java.lang.Exception
java.lang.Exceptionpublic void testDisableConstraint()
throws java.lang.Throwable
java.lang.Throwablepublic void testDisableConstraints()
throws java.lang.Throwable
java.lang.Throwablepublic void testIsUnloaded()
throws java.lang.Exception
java.lang.Exceptionpublic void cleanup()
throws java.lang.Exception
java.lang.Exceptionpublic static void tearDownAfterClass()
throws java.lang.Exception
java.lang.Exception