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

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

public class AlphaPatternConstraintTest
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 invalid characters(Special Characters) Allowing white space. (failure) testValueWithSpecialCharsAllowWhitespace()

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

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

Constructor Detail

AlphaPatternConstraintTest

public AlphaPatternConstraintTest()
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()

testValueWithSpecialCharsAllowWhitespace

public void testValueWithSpecialCharsAllowWhitespace()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.