Java Doc for VendorRuleTest.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » vendor » rules » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » Kuali Financial System » org.kuali.module.vendor.rules 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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.




Method Summary
protected  voidsetUp()
    
protected  voidtearDown()
    
public  voidtestCheckAddressCountryEmptyStateZip_WithUSWithBothStatesWithBothZips()
    
public  voidtestCheckAddressCountryEmptyStateZip_WithUSWithBothStatesWithOneZipOneEmpty()
    
public  voidtestCheckAddressCountryEmptyStateZip_WithUSWithBothStatesWithOneZipOneNull()
    
public  voidtestCheckAddressCountryEmptyStateZip_WithUSWithEmptyStatesEmptyZips()
    
public  voidtestCheckAddressCountryEmptyStateZip_WithUSWithoutStatesWithoutZips()
    
public  voidtestCheckAddressCountryEmptyStateZip_WithoutUSBothStatesWithBothZips()
    
public  voidtestCheckAddressCountryEmptyStateZip_WithoutUSBothStatesWithEmptyZips()
    
public  voidtestCheckAddressCountryEmptyStateZip_WithoutUSBothStatesWithoutZips()
    
public  voidtestCheckFaxNumber_WithDefaultFormats()
    
public  voidtestCheckFaxNumber_WithOneDefaultOneShortFax()
    
public  voidtestCheckFaxNumber_WithShortNumber()
    
public  voidtestProcessAddressValidation_WithDVTypeAndRMAddrTypes()
    
public  voidtestProcessAddressValidation_WithPOTypeAndOnePOAndOneRMAddrTypes()
    
public  voidtestProcessAddressValidation_WithPOTypeAndPOAddrTypes()
    
public  voidtestProcessAddressValidation_WithPOTypeAndRMAddrTypes()
    
public  voidtestValidateTaxTypeAndTaxNumberBlankness_EmptyStrTaxNumber()
    
public  voidtestValidateTaxTypeAndTaxNumberBlankness_EmptyStrTaxType()
    
public  voidtestValidateTaxTypeAndTaxNumberBlankness_NullTaxNumber()
    
public  voidtestValidateTaxTypeAndTaxNumberBlankness_NullTaxType()
    
public  voidtestValidateTaxTypeAndTaxNumberBlankness_WithTaxType()
    
public  voidtestValidateVendorContractBeginEndDates_RightOrderRightOrder()
    
public  voidtestValidateVendorContractBeginEndDates_RightOrderWrongOrder()
    
public  voidtestValidateVendorContractBeginEndDates_WrongOrder()
    
public  voidtestValidateVendorContractPurchaseOrderLimitAmountPresence_NoExcludes()
    
public  voidtestValidateVendorContractPurchaseOrderLimitAmountPresence_OneYExcludeOnFirstNoLimitOnFirst()
    
public  voidtestValidateVendorContractPurchaseOrderLimitAmountPresence_TwoNExcludesOnFirstLimitOnFirst()
    
public  voidtestValidateVendorContractPurchaseOrderLimitAmountPresence_TwoNExcludesOnFirstTwoLimits()
    
public  voidtestValidateVendorNames_BothKinds()
    
public  voidtestValidateVendorNames_EmptyStrFirstLast()
    
public  voidtestValidateVendorNames_EmptyStrVendorName()
    
public  voidtestValidateVendorNames_HalfBoth()
    
public  voidtestValidateVendorNames_NoNames()
    
public  voidtestValidateVendorNames_WithFirstAndLast()
    
public  voidtestValidateVendorNames_WithVendorName()
    
protected  VendorRulevalidateAddressType_TestHelper(VendorRuleAddressTypeFixture vratf)
     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.
protected  VendorRulevalidateVendorContractBeginEndDates_TestHelper(VendorContractBeginEndDatesFixture vcbedf)
     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.



Method Detail
setUp
protected void setUp() throws Exception(Code)



tearDown
protected void tearDown() throws Exception(Code)



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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.