org.kuali.rice.krad.datadictionary.validation.charlevel
Class AlphaNumericValidationPatternTest

java.lang.Object
  extended by org.kuali.rice.test.BaseRiceTestCase
      extended by org.kuali.rice.krad.datadictionary.validation.charlevel.AlphaNumericValidationPatternTest
All Implemented Interfaces:
MethodAware

public class AlphaNumericValidationPatternTest
extends BaseRiceTestCase

AlphaNumericValidationPatternTest tests AlphaNumericValidationPattern

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

Field Summary
 
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase
log, method
 
Constructor Summary
AlphaNumericValidationPatternTest()
           
 
Method Summary
 void setUp()
           
 void testMatch_allowDefault()
          tests that only numbers and letters of the alphabet are allowed
 void testMatch_allowPeriod()
          tests that periods, numbers and letters of the alphabet are allowed
 void testMatch_allowPeriodAndUnderscore()
          tests that periods, underscores, numbers and letters of the alphabet are allowed
 void testMatch_allowPeriodAndUnderscoreAndSpace()
          tests that periods, underscores, white space, numbers and letters of the alphabet are allowed
 void testMatch_allowUnderscore()
          tests that underscores, numbers and letters of the alphabet are allowed
 void testMatch_allowUnderScoreAndWhiteSpace()
          tests that white space, underscores, numbers and letters of the alphabet are allowed
 void testMatch_allowWhitespace()
          tests that white space, numbers and letters of the alphabet are allowed
 
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlphaNumericValidationPatternTest

public AlphaNumericValidationPatternTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class BaseRiceTestCase
Throws:
Exception

testMatch_allowDefault

public final void testMatch_allowDefault()
tests that only numbers and letters of the alphabet are allowed


testMatch_allowUnderscore

public final void testMatch_allowUnderscore()
tests that underscores, numbers and letters of the alphabet are allowed


testMatch_allowWhitespace

public final void testMatch_allowWhitespace()
tests that white space, numbers and letters of the alphabet are allowed


testMatch_allowUnderScoreAndWhiteSpace

public final void testMatch_allowUnderScoreAndWhiteSpace()
tests that white space, underscores, numbers and letters of the alphabet are allowed


testMatch_allowPeriod

public final void testMatch_allowPeriod()
tests that periods, numbers and letters of the alphabet are allowed


testMatch_allowPeriodAndUnderscore

public final void testMatch_allowPeriodAndUnderscore()
tests that periods, underscores, numbers and letters of the alphabet are allowed


testMatch_allowPeriodAndUnderscoreAndSpace

public final void testMatch_allowPeriodAndUnderscoreAndSpace()
tests that periods, underscores, white space, numbers and letters of the alphabet are allowed



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