Java Doc for DelegateRuleTest.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » chart » 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.chart.rules 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.kuali.module.chart.rules.ChartRuleTestBase
   org.kuali.module.chart.rules.DelegateRuleTest

DelegateRuleTest
public class DelegateRuleTest extends ChartRuleTestBase (Code)
This class...


Field Summary
protected static  org.apache.log4j.LoggerLOG
    


Method Summary
public  voidtestCheckOnlyOnePrimaryRoute_allPrimaryAlreadyExists()
    
public  voidtestCheckOnlyOnePrimaryRoute_allPrimaryDoesNotExist()
    
public  voidtestCheckOnlyOnePrimaryRoute_specificPrimaryAlreadyExistsAllFails()
    
public  voidtestCheckOnlyOnePrimaryRoute_specificPrimaryAlreadyExistsSpecificFails()
    
public  voidtestCheckOnlyOnePrimaryRoute_specificPrimaryDoesNotExist()
    
public  voidtestCheckSimpleRulesStartDateRule_invalidFromAmt()
    
public  voidtestCheckSimpleRulesStartDateRule_invalidToAmt()
    
public  voidtestCheckSimpleRulesStartDateRule_nullFromAmtZeroPlusToAmt()
    
public  voidtestCheckSimpleRulesStartDateRule_startDateToday()
    
public  voidtestCheckSimpleRulesStartDateRule_startDateTomorrow()
    
public  voidtestCheckSimpleRulesStartDateRule_startDateYesterday()
    
public  voidtestCheckSimpleRulesStartDateRule_validFromAmtLessThanToAmt()
    
public  voidtestCheckSimpleRulesStartDateRule_validFromAmtNullToAmt()
    
public  voidtestCheckSimpleRules_validDelegate()
     This method tests a Delegate that we have setup with all known good values for the required fields, and nothing or the default for the other fields.
public  voidtestcheckDelegateUserRules_badDelegate1()
    
public  voidtestcheckDelegateUserRules_badDelegate2()
    
public  voidtestcheckDelegateUserRules_badDelegate3()
    
public  voidtestcheckDelegateUserRules_goodDelegate()
    

Field Detail
LOG
protected static org.apache.log4j.Logger LOG(Code)





Method Detail
testCheckOnlyOnePrimaryRoute_allPrimaryAlreadyExists
public void testCheckOnlyOnePrimaryRoute_allPrimaryAlreadyExists()(Code)
This method simulates a user trying to create a delegate marked as primary when there is already an account with All Documents for the doctype for the chart/account combo



testCheckOnlyOnePrimaryRoute_allPrimaryDoesNotExist
public void testCheckOnlyOnePrimaryRoute_allPrimaryDoesNotExist()(Code)
This method will simulate a user who is trying to create a delegate that routes with a doctype of all and should succeed



testCheckOnlyOnePrimaryRoute_specificPrimaryAlreadyExistsAllFails
public void testCheckOnlyOnePrimaryRoute_specificPrimaryAlreadyExistsAllFails()(Code)
This method will simulate a user is trying to create a delegate that routes with DocumentType of ALL, but a chart/account combo that has a primary route for a specific doctype already exists



testCheckOnlyOnePrimaryRoute_specificPrimaryAlreadyExistsSpecificFails
public void testCheckOnlyOnePrimaryRoute_specificPrimaryAlreadyExistsSpecificFails()(Code)
This method will simulate a user who is trying to create a delegate that routes with a specific doctype that is already taken in the db



testCheckOnlyOnePrimaryRoute_specificPrimaryDoesNotExist
public void testCheckOnlyOnePrimaryRoute_specificPrimaryDoesNotExist()(Code)
This method will simulate a user who is trying to create a delegate that routes with a doctype of a21 should succeed



testCheckSimpleRulesStartDateRule_invalidFromAmt
public void testCheckSimpleRulesStartDateRule_invalidFromAmt()(Code)



testCheckSimpleRulesStartDateRule_invalidToAmt
public void testCheckSimpleRulesStartDateRule_invalidToAmt()(Code)



testCheckSimpleRulesStartDateRule_nullFromAmtZeroPlusToAmt
public void testCheckSimpleRulesStartDateRule_nullFromAmtZeroPlusToAmt()(Code)



testCheckSimpleRulesStartDateRule_startDateToday
public void testCheckSimpleRulesStartDateRule_startDateToday()(Code)



testCheckSimpleRulesStartDateRule_startDateTomorrow
public void testCheckSimpleRulesStartDateRule_startDateTomorrow()(Code)



testCheckSimpleRulesStartDateRule_startDateYesterday
public void testCheckSimpleRulesStartDateRule_startDateYesterday()(Code)



testCheckSimpleRulesStartDateRule_validFromAmtLessThanToAmt
public void testCheckSimpleRulesStartDateRule_validFromAmtLessThanToAmt()(Code)



testCheckSimpleRulesStartDateRule_validFromAmtNullToAmt
public void testCheckSimpleRulesStartDateRule_validFromAmtNullToAmt()(Code)



testCheckSimpleRules_validDelegate
public void testCheckSimpleRules_validDelegate()(Code)
This method tests a Delegate that we have setup with all known good values for the required fields, and nothing or the default for the other fields. This test should always pass, if it does not, then none of the following tests are meaningful, as the baseline is broken.



testcheckDelegateUserRules_badDelegate1
public void testcheckDelegateUserRules_badDelegate1()(Code)



testcheckDelegateUserRules_badDelegate2
public void testcheckDelegateUserRules_badDelegate2()(Code)



testcheckDelegateUserRules_badDelegate3
public void testcheckDelegateUserRules_badDelegate3()(Code)



testcheckDelegateUserRules_goodDelegate
public void testcheckDelegateUserRules_goodDelegate()(Code)
This test makes sure that a good user delegate passes the Delegate User Rules




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