| |
|
| org.kuali.core.maintenance.MaintenanceRuleTestBase org.kuali.module.vendor.rules.VendorRuleTest
VendorRuleTest | public class VendorRuleTest extends MaintenanceRuleTestBase (Code) | | This class should contain all tests of methods implementing Vendor rules. For this purpose, we need to set up the parts of a
MaintenanceDocument.
|
testCheckAddressCountryEmptyStateZip_WithUSWithBothStatesWithBothZips | public void testCheckAddressCountryEmptyStateZip_WithUSWithBothStatesWithBothZips()(Code) | | |
testCheckAddressCountryEmptyStateZip_WithUSWithBothStatesWithOneZipOneEmpty | public void testCheckAddressCountryEmptyStateZip_WithUSWithBothStatesWithOneZipOneEmpty()(Code) | | |
testCheckAddressCountryEmptyStateZip_WithUSWithBothStatesWithOneZipOneNull | public void testCheckAddressCountryEmptyStateZip_WithUSWithBothStatesWithOneZipOneNull()(Code) | | |
testCheckAddressCountryEmptyStateZip_WithUSWithEmptyStatesEmptyZips | public void testCheckAddressCountryEmptyStateZip_WithUSWithEmptyStatesEmptyZips()(Code) | | |
testCheckAddressCountryEmptyStateZip_WithUSWithoutStatesWithoutZips | public void testCheckAddressCountryEmptyStateZip_WithUSWithoutStatesWithoutZips()(Code) | | |
testCheckAddressCountryEmptyStateZip_WithoutUSBothStatesWithBothZips | public void testCheckAddressCountryEmptyStateZip_WithoutUSBothStatesWithBothZips()(Code) | | |
testCheckAddressCountryEmptyStateZip_WithoutUSBothStatesWithEmptyZips | public void testCheckAddressCountryEmptyStateZip_WithoutUSBothStatesWithEmptyZips()(Code) | | |
testCheckAddressCountryEmptyStateZip_WithoutUSBothStatesWithoutZips | public void testCheckAddressCountryEmptyStateZip_WithoutUSBothStatesWithoutZips()(Code) | | |
testCheckFaxNumber_WithDefaultFormats | public void testCheckFaxNumber_WithDefaultFormats()(Code) | | |
testCheckFaxNumber_WithOneDefaultOneShortFax | public void testCheckFaxNumber_WithOneDefaultOneShortFax()(Code) | | |
testCheckFaxNumber_WithShortNumber | public void testCheckFaxNumber_WithShortNumber()(Code) | | |
testProcessAddressValidation_WithDVTypeAndRMAddrTypes | public void testProcessAddressValidation_WithDVTypeAndRMAddrTypes()(Code) | | |
testProcessAddressValidation_WithPOTypeAndOnePOAndOneRMAddrTypes | public void testProcessAddressValidation_WithPOTypeAndOnePOAndOneRMAddrTypes()(Code) | | |
testProcessAddressValidation_WithPOTypeAndPOAddrTypes | public void testProcessAddressValidation_WithPOTypeAndPOAddrTypes()(Code) | | |
testProcessAddressValidation_WithPOTypeAndRMAddrTypes | public void testProcessAddressValidation_WithPOTypeAndRMAddrTypes()(Code) | | |
testValidateTaxTypeAndTaxNumberBlankness_EmptyStrTaxNumber | public void testValidateTaxTypeAndTaxNumberBlankness_EmptyStrTaxNumber()(Code) | | |
testValidateTaxTypeAndTaxNumberBlankness_EmptyStrTaxType | public void testValidateTaxTypeAndTaxNumberBlankness_EmptyStrTaxType()(Code) | | |
testValidateTaxTypeAndTaxNumberBlankness_NullTaxNumber | public void testValidateTaxTypeAndTaxNumberBlankness_NullTaxNumber()(Code) | | |
testValidateTaxTypeAndTaxNumberBlankness_NullTaxType | public void testValidateTaxTypeAndTaxNumberBlankness_NullTaxType()(Code) | | |
testValidateTaxTypeAndTaxNumberBlankness_WithTaxType | public void testValidateTaxTypeAndTaxNumberBlankness_WithTaxType()(Code) | | |
testValidateVendorContractBeginEndDates_RightOrderRightOrder | public void testValidateVendorContractBeginEndDates_RightOrderRightOrder()(Code) | | |
testValidateVendorContractBeginEndDates_RightOrderWrongOrder | public void testValidateVendorContractBeginEndDates_RightOrderWrongOrder()(Code) | | |
testValidateVendorContractBeginEndDates_WrongOrder | public void testValidateVendorContractBeginEndDates_WrongOrder()(Code) | | |
testValidateVendorContractPurchaseOrderLimitAmountPresence_NoExcludes | public void testValidateVendorContractPurchaseOrderLimitAmountPresence_NoExcludes()(Code) | | |
testValidateVendorContractPurchaseOrderLimitAmountPresence_OneYExcludeOnFirstNoLimitOnFirst | public void testValidateVendorContractPurchaseOrderLimitAmountPresence_OneYExcludeOnFirstNoLimitOnFirst()(Code) | | |
testValidateVendorContractPurchaseOrderLimitAmountPresence_TwoNExcludesOnFirstLimitOnFirst | public void testValidateVendorContractPurchaseOrderLimitAmountPresence_TwoNExcludesOnFirstLimitOnFirst()(Code) | | |
testValidateVendorContractPurchaseOrderLimitAmountPresence_TwoNExcludesOnFirstTwoLimits | public void testValidateVendorContractPurchaseOrderLimitAmountPresence_TwoNExcludesOnFirstTwoLimits()(Code) | | |
testValidateVendorNames_BothKinds | public void testValidateVendorNames_BothKinds()(Code) | | |
testValidateVendorNames_EmptyStrFirstLast | public void testValidateVendorNames_EmptyStrFirstLast()(Code) | | |
testValidateVendorNames_EmptyStrVendorName | public void testValidateVendorNames_EmptyStrVendorName()(Code) | | |
testValidateVendorNames_HalfBoth | public void testValidateVendorNames_HalfBoth()(Code) | | |
testValidateVendorNames_NoNames | public void testValidateVendorNames_NoNames()(Code) | | |
testValidateVendorNames_WithFirstAndLast | public void testValidateVendorNames_WithFirstAndLast()(Code) | | |
testValidateVendorNames_WithVendorName | public void testValidateVendorNames_WithVendorName()(Code) | | |
validateAddressType_TestHelper | protected VendorRule validateAddressType_TestHelper(VendorRuleAddressTypeFixture vratf)(Code) | | This method does the setup for the tests which examine the implementation of the requirement that certain vendor type codes
require certain address type codes. Address type codes are in the collection of VendorAddresses.
Parameters: typeCode - A VendorTypeCode, which here could be any String Parameters: addrTypeCode1 - A VendorAddressTypeCode, which here could be any String Parameters: addrTypeCode2 - The VendorAddressTypeCode for the second VendorAddress of the collection |
validateVendorContractBeginEndDates_TestHelper | protected VendorRule validateVendorContractBeginEndDates_TestHelper(VendorContractBeginEndDatesFixture vcbedf)(Code) | | This method does the setup for the tests which examine the implementation of the requirement that vendor contracts be
validated so that their begin date comes before their end date. Uses two contracts.
Parameters: vcbedf - |
Methods inherited from org.kuali.core.maintenance.MaintenanceRuleTestBase | protected void assertErrorCount(int expectedErrorCount)(Code)(Java Doc) protected void assertFieldErrorDoesNotExist(String fieldName, String errorKey)(Code)(Java Doc) protected void assertFieldErrorExistence(String fieldName, String errorKey, boolean expectedResult)(Code)(Java Doc) protected void assertFieldErrorExists(String fieldName, String errorKey)(Code)(Java Doc) protected void assertGlobalErrorExists(String errorKey)(Code)(Java Doc) protected boolean doesFieldErrorExist(String fieldName, String errorKey)(Code)(Java Doc) protected MaintenanceDocument newMaintDoc(PersistableBusinessObject newBo)(Code)(Java Doc) protected MaintenanceDocument newMaintDoc(PersistableBusinessObject oldBo, PersistableBusinessObject newBo)(Code)(Java Doc) protected MaintenanceDocumentRule setupMaintDocRule(PersistableBusinessObject newBo, Class ruleClass)(Code)(Java Doc) protected MaintenanceDocumentRule setupMaintDocRule(PersistableBusinessObject oldBo, PersistableBusinessObject newBo, Class ruleClass)(Code)(Java Doc) protected MaintenanceDocumentRule setupMaintDocRule(MaintenanceDocument maintDoc, Class ruleClass)(Code)(Java Doc) protected void showErrorMap()(Code)(Java Doc) protected void testDefaultExistenceCheck(PersistableBusinessObject bo, String fieldName, boolean shouldFail)(Code)(Java Doc)
|
|
|
|