public class ConstraintsTest
extends junit.framework.TestCase
Constraint,
AbstractConstraint,
RegexConstraint| Constructor and Description |
|---|
ConstraintsTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testCollections()
ensure that the default handling of checks on collections will work
|
void |
testListOfValuesConstraint() |
void |
testNull() |
void |
testNumericRangeConstraint() |
void |
testRegexConstraint() |
void |
testRegexConstraintFilename() |
void |
testStringLengthConstraint() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, formatprotected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionpublic void testCollections()
throws java.lang.Exception
java.lang.Exceptionpublic void testNull()
throws java.lang.Exception
java.lang.Exceptionpublic void testStringLengthConstraint()
throws java.lang.Exception
java.lang.Exceptionpublic void testListOfValuesConstraint()
throws java.lang.Exception
java.lang.Exceptionpublic void testNumericRangeConstraint()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegexConstraint()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegexConstraintFilename()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.