org.kuali.rice.krad.datadictionary.validation.constraint
Class AlphaNumericPatternConstraintTest

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.constraint.AlphaNumericPatternConstraintTest

public class AlphaNumericPatternConstraintTest
extends Object

Things this test should check: 1. value with all valid characters. (success) testValueAllValidChars() 2. value with invalid characters. (failure) testValueNotValidChars() 3. value with all valid characters. Allowing white space.(success) testValueAllValidCharsAllowWhitespace() 4. value with invalid characters. Allowing white space. (failure) testValueNotValidCharsAllowWhitespace() 5. value with all valid characters. Allowing white space, period, underscore and parenthesis. (success) testValueAllValidCharsAllowWhitespaceAndPeriodAndUnderscoreAndParenthesis() 6. value with invalid characters. Allowing white space, period, underscore and parenthesis. (failure) testValueNotValidCharsAllowWhitespaceAndPeriodAndUnderscoreAndParenthesis()

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
AlphaNumericPatternConstraintTest()
           
 
Method Summary
 void setUp()
           
 void testValueAllValidChars()
           
 void testValueAllValidCharsAllowWhitespace()
           
 void testValueAllValidCharsAllowWhitespaceAndPeriodAndUnderscoreAndParenthesis()
           
 void testValueNotValidChars()
           
 void testValueNotValidCharsAllowWhitespace()
           
 void testValueNotValidCharsAllowWhitespaceAndPeriodAndUnderscoreAndParenthesis()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlphaNumericPatternConstraintTest

public AlphaNumericPatternConstraintTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testValueAllValidChars

public void testValueAllValidChars()

testValueNotValidChars

public void testValueNotValidChars()

testValueAllValidCharsAllowWhitespace

public void testValueAllValidCharsAllowWhitespace()

testValueNotValidCharsAllowWhitespace

public void testValueNotValidCharsAllowWhitespace()

testValueAllValidCharsAllowWhitespaceAndPeriodAndUnderscoreAndParenthesis

public void testValueAllValidCharsAllowWhitespaceAndPeriodAndUnderscoreAndParenthesis()

testValueNotValidCharsAllowWhitespaceAndPeriodAndUnderscoreAndParenthesis

public void testValueNotValidCharsAllowWhitespaceAndPeriodAndUnderscoreAndParenthesis()


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.