Java Doc for AccountRuleTest.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.AccountRuleTest

AccountRuleTest
public class AccountRuleTest extends ChartRuleTestBase (Code)


Field Summary
 AccountnewAccount
    


Method Summary
protected  voidsetUp()
    
public  voidtestAccountNumberStartsWithAllowedPrefix()
    
public  voidtestAreTwoUsersTheSame_BothNull()
    
public  voidtestAreTwoUsersTheSame_User1Null()
    
public  voidtestAreTwoUsersTheSame_User2Null()
    
public  voidtestAreTwoUsersTheSame_UsersDifferent()
    
public  voidtestAreTwoUsersTheSame_UsersTheSame()
    
public  voidtestCGFields_AccountCanBeCGAccount()
    
public  voidtestCGFields_AccountMustBeReal()
    
public  voidtestCGFields_NotCGSubFund_NoFieldsPresent()
    
public  voidtestCGFields_RequiredCGFields_AllPresent()
    
public  voidtestCGFields_RequiredCGFields_Missing()
     Note that we are not testing any of the other elements in the AccountRule.checkCloseAccount().
public  voidtestCheckAccountExpirationDateTodayOrEarlier_FutureDate()
    
public  voidtestCheckAccountExpirationDateTodayOrEarlier_NullDate()
    
public  voidtestCheckAccountExpirationDateTodayOrEarlier_PastDate()
    
public  voidtestCheckAccountExpirationDateTodayOrEarlier_TodaysDate()
    
public  voidtestCheckCgIncomeStreamRequired_CGAcctInvalidIncomeStreamAccount()
    
public  voidtestCheckCgIncomeStreamRequired_CGAcctNoIncomeStreamFields()
    
public  voidtestCheckCgIncomeStreamRequired_GFAcctNoIncomeStreamFields()
    
public  voidtestCheckCgIncomeStreamRequired_GFMPRACTException()
    
public  voidtestCheckCgIncomeStreamRequired_NotApplicableAccount()
    
public  voidtestCheckCloseAccountContinuation_NullContinuationAccountNumber()
    
public  voidtestCheckCloseAccountContinuation_NullContinuationCoaCode()
    
public  voidtestCheckCloseAccountContinuation_ValidContinuationAccount()
    
public  voidtestCheckFringeBenefitAccountRule_FringeBenefitAccountClosed()
    
public  voidtestCheckFringeBenefitAccountRule_FringeBenefitAccountDoesntExist()
    
public  voidtestCheckFringeBenefitAccountRule_FringeBenefitAccountNumberMissing()
    
public  voidtestCheckFringeBenefitAccountRule_FringeBenefitChartCodeMissing()
    
public  voidtestCheckFringeBenefitAccountRule_FringeBenefitFlagTrue()
    
public  voidtestCheckFringeBenefitAccountRule_FringeBenefitGood()
    
public  voidtestCheckUserStatusAndType_ActiveAndProfessional()
    
public  voidtestCheckUserStatusAndType_ActiveButNonProfessional()
    
public  voidtestCheckUserStatusAndType_NullUser()
    
public  voidtestCheckUserStatusAndType_TermdAndNonProfessional()
    
public  voidtestCheckUserStatusAndType_TermdButProfessional()
    
public  voidtestDataDictionaryValidation_AccountPurpose_GoodLength()
    
public  voidtestDataDictionaryValidation_AccountPurpose_TooLong()
    
public  voidtestDefaultExistenceChecks_AccountPhysicalCampus_KnownBad()
    
public  voidtestDefaultExistenceChecks_AccountPhysicalCampus_KnownGood()
    
public  voidtestDefaultExistenceChecks_AccountState_KnownBad()
    
public  voidtestDefaultExistenceChecks_AccountState_KnownGood()
    
public  voidtestDefaultExistenceChecks_AccountType_KnownBad()
    
public  voidtestDefaultExistenceChecks_AccountType_KnownGood()
    
public  voidtestDefaultExistenceChecks_Org_KnownBad()
    
public  voidtestDefaultExistenceChecks_Org_KnownGood()
    
public  voidtestDefaultExistenceChecks_PostalZipCode_KnownBad()
    
public  voidtestDefaultExistenceChecks_PostalZipCode_KnownGood()
    
public  voidtestGuidelinesConditionallyRequired_FarFutureDate()
    
public  voidtestGuidelinesConditionallyRequired_FarPastDate()
    
public  voidtestGuidelinesConditionallyRequired_NullExpirationDate()
    
public  voidtestGuidelinesConditionallyRequired_TodaysDate()
    
public  voidtestHasTemporaryRestrictedStatusCodeButNoRestrictedStatusDate_BothNull()
    
public  voidtestHasTemporaryRestrictedStatusCodeButNoRestrictedStatusDate_NonTCodeAndNullDate()
    
public  voidtestHasTemporaryRestrictedStatusCodeButNoRestrictedStatusDate_TCodeAndNullDate()
    
public  voidtestHasTemporaryRestrictedStatusCodeButNoRestrictedStatusDate_TCodeAndRealDate()
    
public  voidtestIsContinuationAccountExpired_InvalidContinuationAccount()
    
public  voidtestIsContinuationAccountExpired_MissingAccountNumber()
    
public  voidtestIsContinuationAccountExpired_MissingChartCode()
    
public  voidtestIsContinuationAccountExpired_ValidExpiredContinuationAccount()
    
public  voidtestIsContinuationAccountExpired_ValidNonExpiredContinuationAccount()
    
public  voidtestIsUpdateExpirationDateInvalid_BothExpirationDatesNull()
    
public  voidtestIsUpdateExpirationDateInvalid_ChangedNewInPast_CGSubFund()
    
public  voidtestIsUpdateExpirationDateInvalid_ChangedNewInPast_NonCGSubFund()
    
public  voidtestIsUpdateExpirationDateInvalid_ExpirationDatesSame()
    
public  voidtestIsUpdateExpirationDateInvalid_NewExpDateNull()
    
public  voidtestIsUpdateExpirationDateInvalid_SubFundGroupNull()
    

Field Detail
newAccount
Account newAccount(Code)





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

See Also:   org.kuali.module.chart.rules.ChartRuleTestBase.setUp



testAccountNumberStartsWithAllowedPrefix
public void testAccountNumberStartsWithAllowedPrefix()(Code)



testAreTwoUsersTheSame_BothNull
public void testAreTwoUsersTheSame_BothNull()(Code)



testAreTwoUsersTheSame_User1Null
public void testAreTwoUsersTheSame_User1Null()(Code)



testAreTwoUsersTheSame_User2Null
public void testAreTwoUsersTheSame_User2Null()(Code)



testAreTwoUsersTheSame_UsersDifferent
public void testAreTwoUsersTheSame_UsersDifferent()(Code)



testAreTwoUsersTheSame_UsersTheSame
public void testAreTwoUsersTheSame_UsersTheSame()(Code)



testCGFields_AccountCanBeCGAccount
public void testCGFields_AccountCanBeCGAccount()(Code)



testCGFields_AccountMustBeReal
public void testCGFields_AccountMustBeReal()(Code)



testCGFields_NotCGSubFund_NoFieldsPresent
public void testCGFields_NotCGSubFund_NoFieldsPresent()(Code)



testCGFields_RequiredCGFields_AllPresent
public void testCGFields_RequiredCGFields_AllPresent()(Code)



testCGFields_RequiredCGFields_Missing
public void testCGFields_RequiredCGFields_Missing()(Code)
Note that we are not testing any of the other elements in the AccountRule.checkCloseAccount(). This is because there is no logic to them. They simple exercise GL service methods, and if those GL service methods return false, they add an error.



testCheckAccountExpirationDateTodayOrEarlier_FutureDate
public void testCheckAccountExpirationDateTodayOrEarlier_FutureDate()(Code)



testCheckAccountExpirationDateTodayOrEarlier_NullDate
public void testCheckAccountExpirationDateTodayOrEarlier_NullDate()(Code)



testCheckAccountExpirationDateTodayOrEarlier_PastDate
public void testCheckAccountExpirationDateTodayOrEarlier_PastDate()(Code)



testCheckAccountExpirationDateTodayOrEarlier_TodaysDate
public void testCheckAccountExpirationDateTodayOrEarlier_TodaysDate()(Code)



testCheckCgIncomeStreamRequired_CGAcctInvalidIncomeStreamAccount
public void testCheckCgIncomeStreamRequired_CGAcctInvalidIncomeStreamAccount()(Code)



testCheckCgIncomeStreamRequired_CGAcctNoIncomeStreamFields
public void testCheckCgIncomeStreamRequired_CGAcctNoIncomeStreamFields()(Code)



testCheckCgIncomeStreamRequired_GFAcctNoIncomeStreamFields
public void testCheckCgIncomeStreamRequired_GFAcctNoIncomeStreamFields()(Code)



testCheckCgIncomeStreamRequired_GFMPRACTException
public void testCheckCgIncomeStreamRequired_GFMPRACTException()(Code)



testCheckCgIncomeStreamRequired_NotApplicableAccount
public void testCheckCgIncomeStreamRequired_NotApplicableAccount()(Code)



testCheckCloseAccountContinuation_NullContinuationAccountNumber
public void testCheckCloseAccountContinuation_NullContinuationAccountNumber()(Code)



testCheckCloseAccountContinuation_NullContinuationCoaCode
public void testCheckCloseAccountContinuation_NullContinuationCoaCode()(Code)



testCheckCloseAccountContinuation_ValidContinuationAccount
public void testCheckCloseAccountContinuation_ValidContinuationAccount()(Code)



testCheckFringeBenefitAccountRule_FringeBenefitAccountClosed
public void testCheckFringeBenefitAccountRule_FringeBenefitAccountClosed()(Code)



testCheckFringeBenefitAccountRule_FringeBenefitAccountDoesntExist
public void testCheckFringeBenefitAccountRule_FringeBenefitAccountDoesntExist()(Code)



testCheckFringeBenefitAccountRule_FringeBenefitAccountNumberMissing
public void testCheckFringeBenefitAccountRule_FringeBenefitAccountNumberMissing()(Code)



testCheckFringeBenefitAccountRule_FringeBenefitChartCodeMissing
public void testCheckFringeBenefitAccountRule_FringeBenefitChartCodeMissing()(Code)



testCheckFringeBenefitAccountRule_FringeBenefitFlagTrue
public void testCheckFringeBenefitAccountRule_FringeBenefitFlagTrue()(Code)



testCheckFringeBenefitAccountRule_FringeBenefitGood
public void testCheckFringeBenefitAccountRule_FringeBenefitGood()(Code)



testCheckUserStatusAndType_ActiveAndProfessional
public void testCheckUserStatusAndType_ActiveAndProfessional()(Code)



testCheckUserStatusAndType_ActiveButNonProfessional
public void testCheckUserStatusAndType_ActiveButNonProfessional()(Code)



testCheckUserStatusAndType_NullUser
public void testCheckUserStatusAndType_NullUser()(Code)



testCheckUserStatusAndType_TermdAndNonProfessional
public void testCheckUserStatusAndType_TermdAndNonProfessional()(Code)



testCheckUserStatusAndType_TermdButProfessional
public void testCheckUserStatusAndType_TermdButProfessional()(Code)



testDataDictionaryValidation_AccountPurpose_GoodLength
public void testDataDictionaryValidation_AccountPurpose_GoodLength()(Code)



testDataDictionaryValidation_AccountPurpose_TooLong
public void testDataDictionaryValidation_AccountPurpose_TooLong()(Code)



testDefaultExistenceChecks_AccountPhysicalCampus_KnownBad
public void testDefaultExistenceChecks_AccountPhysicalCampus_KnownBad()(Code)



testDefaultExistenceChecks_AccountPhysicalCampus_KnownGood
public void testDefaultExistenceChecks_AccountPhysicalCampus_KnownGood()(Code)



testDefaultExistenceChecks_AccountState_KnownBad
public void testDefaultExistenceChecks_AccountState_KnownBad()(Code)



testDefaultExistenceChecks_AccountState_KnownGood
public void testDefaultExistenceChecks_AccountState_KnownGood()(Code)



testDefaultExistenceChecks_AccountType_KnownBad
public void testDefaultExistenceChecks_AccountType_KnownBad()(Code)



testDefaultExistenceChecks_AccountType_KnownGood
public void testDefaultExistenceChecks_AccountType_KnownGood()(Code)



testDefaultExistenceChecks_Org_KnownBad
public void testDefaultExistenceChecks_Org_KnownBad()(Code)



testDefaultExistenceChecks_Org_KnownGood
public void testDefaultExistenceChecks_Org_KnownGood()(Code)



testDefaultExistenceChecks_PostalZipCode_KnownBad
public void testDefaultExistenceChecks_PostalZipCode_KnownBad()(Code)



testDefaultExistenceChecks_PostalZipCode_KnownGood
public void testDefaultExistenceChecks_PostalZipCode_KnownGood()(Code)



testGuidelinesConditionallyRequired_FarFutureDate
public void testGuidelinesConditionallyRequired_FarFutureDate()(Code)



testGuidelinesConditionallyRequired_FarPastDate
public void testGuidelinesConditionallyRequired_FarPastDate()(Code)



testGuidelinesConditionallyRequired_NullExpirationDate
public void testGuidelinesConditionallyRequired_NullExpirationDate()(Code)



testGuidelinesConditionallyRequired_TodaysDate
public void testGuidelinesConditionallyRequired_TodaysDate()(Code)



testHasTemporaryRestrictedStatusCodeButNoRestrictedStatusDate_BothNull
public void testHasTemporaryRestrictedStatusCodeButNoRestrictedStatusDate_BothNull()(Code)



testHasTemporaryRestrictedStatusCodeButNoRestrictedStatusDate_NonTCodeAndNullDate
public void testHasTemporaryRestrictedStatusCodeButNoRestrictedStatusDate_NonTCodeAndNullDate()(Code)



testHasTemporaryRestrictedStatusCodeButNoRestrictedStatusDate_TCodeAndNullDate
public void testHasTemporaryRestrictedStatusCodeButNoRestrictedStatusDate_TCodeAndNullDate()(Code)



testHasTemporaryRestrictedStatusCodeButNoRestrictedStatusDate_TCodeAndRealDate
public void testHasTemporaryRestrictedStatusCodeButNoRestrictedStatusDate_TCodeAndRealDate()(Code)



testIsContinuationAccountExpired_InvalidContinuationAccount
public void testIsContinuationAccountExpired_InvalidContinuationAccount()(Code)



testIsContinuationAccountExpired_MissingAccountNumber
public void testIsContinuationAccountExpired_MissingAccountNumber()(Code)



testIsContinuationAccountExpired_MissingChartCode
public void testIsContinuationAccountExpired_MissingChartCode()(Code)



testIsContinuationAccountExpired_ValidExpiredContinuationAccount
public void testIsContinuationAccountExpired_ValidExpiredContinuationAccount()(Code)



testIsContinuationAccountExpired_ValidNonExpiredContinuationAccount
public void testIsContinuationAccountExpired_ValidNonExpiredContinuationAccount()(Code)



testIsUpdateExpirationDateInvalid_BothExpirationDatesNull
public void testIsUpdateExpirationDateInvalid_BothExpirationDatesNull()(Code)



testIsUpdateExpirationDateInvalid_ChangedNewInPast_CGSubFund
public void testIsUpdateExpirationDateInvalid_ChangedNewInPast_CGSubFund()(Code)



testIsUpdateExpirationDateInvalid_ChangedNewInPast_NonCGSubFund
public void testIsUpdateExpirationDateInvalid_ChangedNewInPast_NonCGSubFund()(Code)



testIsUpdateExpirationDateInvalid_ExpirationDatesSame
public void testIsUpdateExpirationDateInvalid_ExpirationDatesSame()(Code)



testIsUpdateExpirationDateInvalid_NewExpDateNull
public void testIsUpdateExpirationDateInvalid_NewExpDateNull()(Code)



testIsUpdateExpirationDateInvalid_SubFundGroupNull
public void testIsUpdateExpirationDateInvalid_SubFundGroupNull()(Code)




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