org.kuali.rice.kns.datadictionary.validation.fieldlevel
Class ZipcodeValidationPatternTest

java.lang.Object
  extended by org.kuali.rice.test.BaseRiceTestCase
      extended by org.kuali.rice.test.RiceTestCase
          extended by org.kuali.rice.test.RiceInternalSuiteDataTestCase
              extended by org.kuali.rice.test.BaseModuleTestCase
                  extended by org.kuali.rice.test.BaselineTestCase
                      extended by org.kuali.test.KNSTestCase
                          extended by org.kuali.rice.kns.datadictionary.validation.fieldlevel.ZipcodeValidationPatternTest
All Implemented Interfaces:
MethodAware

public class ZipcodeValidationPatternTest
extends KNSTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
private  ZipcodeValidationPattern pattern
           
 
Fields inherited from class org.kuali.rice.test.BaselineTestCase
dirty
 
Fields inherited from class org.kuali.rice.test.BaseModuleTestCase
LOG, moduleName
 
Fields inherited from class org.kuali.rice.test.RiceTestCase
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
 
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase
log, method
 
Constructor Summary
ZipcodeValidationPatternTest()
           
 
Method Summary
 void setUp()
           
 void testMatches_5digit_valid()
           
 void testMatches_9digit_valid()
           
 void testMatches_invalid1()
           
 void testMatches_invalid2()
           
 void testMatches_invalid3()
           
 void testMatches_invalid4()
           
 
Methods inherited from class org.kuali.test.KNSTestCase
getLoadApplicationLifecycle, getSuiteLifecycles, loadSuiteTestData
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
 
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase
getModuleName
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKNSDefaultSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
 
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pattern

private ZipcodeValidationPattern pattern
Constructor Detail

ZipcodeValidationPatternTest

public ZipcodeValidationPatternTest()
Method Detail

setUp

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

testMatches_5digit_valid

public final void testMatches_5digit_valid()

testMatches_9digit_valid

public final void testMatches_9digit_valid()

testMatches_invalid1

public final void testMatches_invalid1()

testMatches_invalid2

public final void testMatches_invalid2()

testMatches_invalid3

public final void testMatches_invalid3()

testMatches_invalid4

public final void testMatches_invalid4()


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