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


org.kuali.kfs.context.KualiTestBase
   org.kuali.module.gl.service.SufficientFundsServiceTest

SufficientFundsServiceTest
public class SufficientFundsServiceTest extends KualiTestBase (Code)
Tests the sufficient funds service
See Also:   org.kuali.module.gl.service.SufficientFundsService




Method Summary
protected  voidsetUp()
    
public  voidtestSufficientFunds_AccountInsufficientFunds()
    
public  voidtestSufficientFunds_AccountNegativeBalanceCreditExpense()
    
public  voidtestSufficientFunds_AccountNegativeBalanceDebitExpense()
    
public  voidtestSufficientFunds_AccountPendingLedgerEntriesInsufficientFunds()
    
public  voidtestSufficientFunds_AccountPendingLedgerEntriesSufficientFunds()
    
public  voidtestSufficientFunds_AccountSameAccountNegativeBalanceNetZeroChange()
    
public  voidtestSufficientFunds_AccountSameAccountPositiveBalanceNetZeroChange()
    
public  voidtestSufficientFunds_AccountSufficientFunds()
    
public  voidtestSufficientFunds_CashInsufficientFunds()
    
public  voidtestSufficientFunds_CashNegativeBalanceCreditExpense()
    
public  voidtestSufficientFunds_CashNegativeBalanceDebitExpense()
    
public  voidtestSufficientFunds_CashPendingLedgerEntriesInsufficientFunds()
    
public  voidtestSufficientFunds_CashPendingLedgerEntriesSufficientFunds()
    
public  voidtestSufficientFunds_CashSameAccountNegativeBalanceNetZeroChange()
    
public  voidtestSufficientFunds_CashSameAccountPositiveBalanceNetZeroChange()
    
public  voidtestSufficientFunds_CashSufficientFunds()
    
public  voidtestSufficientFunds_ConsolidationInsufficientFunds()
    
public  voidtestSufficientFunds_ConsolidationNegativeBalanceCreditExpense()
    
public  voidtestSufficientFunds_ConsolidationNegativeBalanceDebitExpense()
    
public  voidtestSufficientFunds_ConsolidationPendingLedgerEntriesInsufficientFunds()
    
public  voidtestSufficientFunds_ConsolidationPendingLedgerEntriesSufficientFunds()
    
public  voidtestSufficientFunds_ConsolidationSameAccountNegativeBalanceNetZeroChange()
    
public  voidtestSufficientFunds_ConsolidationSameAccountPositiveBalanceNetZeroChange()
    
public  voidtestSufficientFunds_ConsolidationSufficientFunds()
    
public  voidtestSufficientFunds_LevelInsufficientFunds()
    
public  voidtestSufficientFunds_LevelNegativeBalanceCreditExpense()
    
public  voidtestSufficientFunds_LevelNegativeBalanceDebitExpense()
    
public  voidtestSufficientFunds_LevelPendingLedgerEntriesInsufficientFunds()
    
public  voidtestSufficientFunds_LevelPendingLedgerEntriesSufficientFunds()
    
public  voidtestSufficientFunds_LevelSameAccountNegativeBalanceNetZeroChange()
    
public  voidtestSufficientFunds_LevelSameAccountPositiveBalanceNetZeroChange()
    
public  voidtestSufficientFunds_LevelSufficientFunds()
    
public  voidtestSufficientFunds_ObjectInsufficientFunds()
    
public  voidtestSufficientFunds_ObjectNegativeBalanceCreditExpense()
    
public  voidtestSufficientFunds_ObjectNegativeBalanceDebitExpense()
    
public  voidtestSufficientFunds_ObjectPendingLedgerEntriesInsufficientFunds()
    
public  voidtestSufficientFunds_ObjectPendingLedgerEntriesSufficientFunds()
    
public  voidtestSufficientFunds_ObjectSameAccountNegativeBalanceNetZeroChange()
    
public  voidtestSufficientFunds_ObjectSameAccountPositiveBalanceNetZeroChange()
    
public  voidtestSufficientFunds_ObjectSufficientFunds()
    



Method Detail
setUp
protected void setUp() throws Exception(Code)
Initializes the services needed by this test
See Also:   junit.framework.TestCase.setUp



testSufficientFunds_AccountInsufficientFunds
public void testSufficientFunds_AccountInsufficientFunds() throws Exception(Code)
Tests account sufficient funds checking on a sufficient funds balance without sufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_AccountNegativeBalanceCreditExpense
public void testSufficientFunds_AccountNegativeBalanceCreditExpense() throws Exception(Code)
Tests account sufficient funds checking on a negative sufficient funds balance and a credit expense transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_AccountNegativeBalanceDebitExpense
public void testSufficientFunds_AccountNegativeBalanceDebitExpense() throws Exception(Code)
Tests account sufficient funds checking on a negative sufficient funds balance and a debit expense transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_AccountPendingLedgerEntriesInsufficientFunds
public void testSufficientFunds_AccountPendingLedgerEntriesInsufficientFunds() throws Exception(Code)
Tests account sufficient funds checking on a sufficient funds balance where pending ledger entries will not provide sufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_AccountPendingLedgerEntriesSufficientFunds
public void testSufficientFunds_AccountPendingLedgerEntriesSufficientFunds() throws Exception(Code)
Tests account sufficient funds checking on a sufficient funds balance where pending ledger entries will provide sufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_AccountSameAccountNegativeBalanceNetZeroChange
public void testSufficientFunds_AccountSameAccountNegativeBalanceNetZeroChange() throws Exception(Code)
Tests account sufficient funds checking on a negative sufficient funds balance and two transactions that will cancel each other out
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_AccountSameAccountPositiveBalanceNetZeroChange
public void testSufficientFunds_AccountSameAccountPositiveBalanceNetZeroChange() throws Exception(Code)
Tests account sufficient funds checking on a positive sufficient funds balance and two transactions that will cancel each other out
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_AccountSufficientFunds
public void testSufficientFunds_AccountSufficientFunds() throws Exception(Code)
Tests basic account sufficient funds checking
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_CashInsufficientFunds
public void testSufficientFunds_CashInsufficientFunds() throws Exception(Code)
Tests cash sufficient funds checking on a sufficient funds balance with insufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_CashNegativeBalanceCreditExpense
public void testSufficientFunds_CashNegativeBalanceCreditExpense() throws Exception(Code)
Tests cash sufficient funds checking on a negative sufficient funds balance and a transaction that is a credit expense
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_CashNegativeBalanceDebitExpense
public void testSufficientFunds_CashNegativeBalanceDebitExpense() throws Exception(Code)
Tests cash sufficient funds checking on a negative sufficient funds balance and a transaction that is a debit expense
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_CashPendingLedgerEntriesInsufficientFunds
public void testSufficientFunds_CashPendingLedgerEntriesInsufficientFunds() throws Exception(Code)
Tests cash sufficient funds checking on a sufficient funds balance where pending entries will not provide sufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_CashPendingLedgerEntriesSufficientFunds
public void testSufficientFunds_CashPendingLedgerEntriesSufficientFunds() throws Exception(Code)
Tests cash sufficient funds checking on a sufficient funds balance where pending entries will provide sufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_CashSameAccountNegativeBalanceNetZeroChange
public void testSufficientFunds_CashSameAccountNegativeBalanceNetZeroChange() throws Exception(Code)
Tests cash sufficient funds checking on a negative sufficient funds balance and two transactions that cancel each other out
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_CashSameAccountPositiveBalanceNetZeroChange
public void testSufficientFunds_CashSameAccountPositiveBalanceNetZeroChange() throws Exception(Code)
Tests cash sufficient funds checking on a positive sufficient funds balance and two transactions that cancel each other out
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_CashSufficientFunds
public void testSufficientFunds_CashSufficientFunds() throws Exception(Code)
Tests basic cash sufficient funds checking
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ConsolidationInsufficientFunds
public void testSufficientFunds_ConsolidationInsufficientFunds() throws Exception(Code)
Tests consolidation sufficient funds checking on a sufficient funds balance that do not have sufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ConsolidationNegativeBalanceCreditExpense
public void testSufficientFunds_ConsolidationNegativeBalanceCreditExpense() throws Exception(Code)
Tests consolidation sufficient funds checking on a negative sufficient funds balance and a credit expense transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ConsolidationNegativeBalanceDebitExpense
public void testSufficientFunds_ConsolidationNegativeBalanceDebitExpense() throws Exception(Code)
Tests consolidation sufficient funds checking on a negative sufficient funds balance and a debit expense transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ConsolidationPendingLedgerEntriesInsufficientFunds
public void testSufficientFunds_ConsolidationPendingLedgerEntriesInsufficientFunds() throws Exception(Code)
Tests consolidation sufficient funds checking on a sufficient funds balance where pending entries will not provide sufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ConsolidationPendingLedgerEntriesSufficientFunds
public void testSufficientFunds_ConsolidationPendingLedgerEntriesSufficientFunds() throws Exception(Code)
Tests consolidation sufficient funds checking on a sufficient funds balance where pending entries will provide sufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ConsolidationSameAccountNegativeBalanceNetZeroChange
public void testSufficientFunds_ConsolidationSameAccountNegativeBalanceNetZeroChange() throws Exception(Code)
Tests consolidation sufficient funds checking on a negative sufficient funds balance and two transactions that will cancel each other out
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ConsolidationSameAccountPositiveBalanceNetZeroChange
public void testSufficientFunds_ConsolidationSameAccountPositiveBalanceNetZeroChange() throws Exception(Code)
Tests consolidation sufficient funds checking on a positive sufficient funds balance and two transactions that will cancel each other out
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ConsolidationSufficientFunds
public void testSufficientFunds_ConsolidationSufficientFunds() throws Exception(Code)
Tests the basic consolidation sufficient funds checking
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_LevelInsufficientFunds
public void testSufficientFunds_LevelInsufficientFunds() throws Exception(Code)
Tests level sufficient funds checking on a sufficient funds balance with insufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_LevelNegativeBalanceCreditExpense
public void testSufficientFunds_LevelNegativeBalanceCreditExpense() throws Exception(Code)
Tests level sufficient funds checking on a negative sufficient funds balance and a transaction that is a credit expense
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_LevelNegativeBalanceDebitExpense
public void testSufficientFunds_LevelNegativeBalanceDebitExpense() throws Exception(Code)
Tests level sufficient funds checking on a negative sufficient funds balance and a transaction that is a debit expense
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_LevelPendingLedgerEntriesInsufficientFunds
public void testSufficientFunds_LevelPendingLedgerEntriesInsufficientFunds() throws Exception(Code)
Tests level sufficient funds checking on a sufficient funds balance where pending entries will not provide sufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_LevelPendingLedgerEntriesSufficientFunds
public void testSufficientFunds_LevelPendingLedgerEntriesSufficientFunds() throws Exception(Code)
Tests level sufficient funds checking on a sufficient funds balance where pending entries will provide the sufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_LevelSameAccountNegativeBalanceNetZeroChange
public void testSufficientFunds_LevelSameAccountNegativeBalanceNetZeroChange() throws Exception(Code)
Tests level sufficient funds checking on a negative sufficient funds balance and two transactions that cancel each other out
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_LevelSameAccountPositiveBalanceNetZeroChange
public void testSufficientFunds_LevelSameAccountPositiveBalanceNetZeroChange() throws Exception(Code)
Tests level sufficient funds checking on a positive sufficient funds balance and two transactions that cancel each other out
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_LevelSufficientFunds
public void testSufficientFunds_LevelSufficientFunds() throws Exception(Code)
Tests basic level sufficient funds checking
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ObjectInsufficientFunds
public void testSufficientFunds_ObjectInsufficientFunds() throws Exception(Code)
Tests object sufficient funds checking on a sufficient funds balance with insufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ObjectNegativeBalanceCreditExpense
public void testSufficientFunds_ObjectNegativeBalanceCreditExpense() throws Exception(Code)
Tests object sufficient funds checking on a negative sufficient funds balance and a credit expense transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ObjectNegativeBalanceDebitExpense
public void testSufficientFunds_ObjectNegativeBalanceDebitExpense() throws Exception(Code)
Tests object sufficient funds checking on a negative sufficient funds balance and a debit expense transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ObjectPendingLedgerEntriesInsufficientFunds
public void testSufficientFunds_ObjectPendingLedgerEntriesInsufficientFunds() throws Exception(Code)
Tests object sufficient funds checking on a sufficient funds balance where pending entries will not provide sufficient funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ObjectPendingLedgerEntriesSufficientFunds
public void testSufficientFunds_ObjectPendingLedgerEntriesSufficientFunds() throws Exception(Code)
Tests object sufficient funds checking on a sufficient funds balance where pending entries will provide sufficent funds for a transaction
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ObjectSameAccountNegativeBalanceNetZeroChange
public void testSufficientFunds_ObjectSameAccountNegativeBalanceNetZeroChange() throws Exception(Code)
Tests object sufficient funds checking on a negative sufficient funds balance and two transactions that cancel each other out
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ObjectSameAccountPositiveBalanceNetZeroChange
public void testSufficientFunds_ObjectSameAccountPositiveBalanceNetZeroChange() throws Exception(Code)
Tests object sufficient funds checking on a positive sufficient funds balance and two transactions that cancel each other out
throws:
  Exception - thrown if any exception is encountered for any reason



testSufficientFunds_ObjectSufficientFunds
public void testSufficientFunds_ObjectSufficientFunds() throws Exception(Code)
Tests basic object sufficient funds checking
throws:
  Exception - thrown if any exception is encountered for any reason



Fields inherited from org.kuali.kfs.context.KualiTestBase
final public static String SKIP_OPEN_OR_IN_PROGRESS_OR_REOPENED_JIRA_ISSUES(Code)(Java Doc)
protected static UserSession userSession(Code)(Java Doc)

Methods inherited from org.kuali.kfs.context.KualiTestBase
protected void changeCurrentUser(UserNameFixture sessionUser) throws Exception(Code)(Java Doc)
final public void runBare() throws Throwable(Code)(Java Doc)
protected boolean testTransactionIsRollbackOnly()(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.