org.kuali.rice.krad.service.impl
Class DictionaryValidationServiceImplTest
java.lang.Object
org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.rice.test.BaseModuleTestCase
org.kuali.rice.test.BaselineTestCase
org.kuali.test.KRADTestCase
org.kuali.rice.krad.service.impl.DictionaryValidationServiceImplTest
- All Implemented Interfaces:
- MethodAware
public class DictionaryValidationServiceImplTest
- extends KRADTestCase
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.test.RiceTestCase |
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
org.springframework.context.support.ClassPathXmlApplicationContext context
service
private DictionaryValidationServiceImpl service
dataDictionary
DataDictionary dataDictionary
street1Definition
protected AttributeDefinition street1Definition
street2Definition
protected AttributeDefinition street2Definition
stateDefinition
protected AttributeDefinition stateDefinition
postalCodeDefinition
protected AttributeDefinition postalCodeDefinition
countryDefinition
protected AttributeDefinition countryDefinition
addressEntry
protected DataObjectEntry addressEntry
countryIsUSACaseConstraint
protected CaseConstraint countryIsUSACaseConstraint
topLevelConstraint
protected MustOccurConstraint topLevelConstraint
validLondonAddress
private Address validLondonAddress
validUSAddress
private Address validUSAddress
noStateUSAddress
private Address noStateUSAddress
noZipNoCityUSAddress
private Address noZipNoCityUSAddress
validNonDCUSAddress
private Address validNonDCUSAddress
invalidDCUSAddress
private Address invalidDCUSAddress
DictionaryValidationServiceImplTest
public DictionaryValidationServiceImplTest()
setUp
public void setUp()
throws Exception
- Overrides:
setUp
in class BaselineTestCase
- Throws:
Exception
testValidNonUSAddress
public void testValidNonUSAddress()
testValidUSAddress
public void testValidUSAddress()
testInvalidUSAddress
public void testInvalidUSAddress()
testValidNonDCAddress
public void testValidNonDCAddress()
testInvalidDCAddress
public void testInvalidDCAddress()
testNoStateNoZipUSAddress
public void testNoStateNoZipUSAddress()
testRequiredNestedAttribute
public void testRequiredNestedAttribute()
throws IOException
- Throws:
IOException
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.