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


org.kuali.kfs.context.KualiTestBase
   org.kuali.module.financial.service.CashDrawerServiceTest

CashDrawerServiceTest
public class CashDrawerServiceTest extends KualiTestBase (Code)
This class tests the Check service.




Method Summary
final public  voidtestCloseCashDrawer_blankWorkgroup()
     This method tests that calling the closeCashDrawer method on a CashDrawerService with a blank workgroup name generates an error.
final public  voidtestCloseCashDrawer_existent()
     This method tests the closeCashDrawer method under valid conditions.
final public  voidtestCloseCashDrawer_nonexistent()
     This method tests that calling the closeCashDrawer method on a CashDrawerService, when the cash drawer doesn't exist, will create a new cash drawer and closes it.
final public  voidtestGetByWorkgroupName_blankWorkgroup()
     This method tests that trying to retrieve a cash drawer by a workgroup name, when the workgroup name provided is blank, will generate an error.
final public  voidtestGetByWorkgroupName_existingWorkgroup()
     This method tests the getByWorkgroupName method under valid conditions.
final public  voidtestGetByWorkgroupName_nonexistentWorkgroup()
     This method tests that trying to retrieve a cash drawer by a workgroup name, when the workgroup does not exist, will generate an error.
final public  voidtestLifeCycle()
     This method tests that all the possible steps during the lifecycle of a cash drawer function properly and are achievable with the expected results.
final public  voidtestLockCashDrawer_alreadyLocked()
     This method tests that calling the lockCashDrawer method on a CashDrawerService, when the cash drawer is already locked, an error is generated.
final public  voidtestLockCashDrawer_blankWorkgroup()
     This method tests that calling the lockCashDrawer method on a CashDrawerService with a blank workgroup name generates an error.
final public  voidtestLockCashDrawer_closed()
     This method tests that calling the lockCashDrawer method on a CashDrawerService, when the cash drawer is closed, an error is generated.
final public  voidtestLockCashDrawer_nonexistent()
     This method tests that calling the lockCashDrawer method on a CashDrawerService, when the cash drawer doesn't exist, an error is generated.
final public  voidtestLockCashDrawer_open()
     This method tests the lockCashDrawer method under valid conditions.
final public  voidtestLockCashDrawer_openedByDifferentDocument()
     This method tests that calling the lockCashDrawer method on a CashDrawerService, when the cash drawer is already opened by another document, an error is generated.
final public  voidtestOpenCashDrawer()
     This method tests the openCashDrawer method under valid conditions.
final public  voidtestOpenCashDrawer_blankDocId()
     This method tests that calling the openCashDrawer method on a CashDrawerService with a blank document id generates an error.
final public  voidtestOpenCashDrawer_blankWorkgroup()
     This method tests that calling the openCashDrawer method on a CashDrawerService with a blank workgroup name generates an error.
final public  voidtestOpenCashDrawer_nonexistent()
     This method tests that calling the openCashDrawer method on a CashDrawerService, when the cash drawer doesn't exist, will create a new cash drawer and open it.
final public  voidtestUnlockCashDrawer_blankWorkgroup()
     This method tests that calling the unlockCashDrawer method on a CashDrawerService with a blank workgroup name generates an error.
final public  voidtestUnlockCashDrawer_locked()
     This method tests the unlockCashDrawer method under valid conditions.
final public  voidtestUnlockCashDrawer_lockedByDifferentDocumentId()
     This method tests that calling the unlockCashDrawer method on a CashDrawerService, when the cash drawer is already locked by another document, an error is generated.
final public  voidtestUnlockCashDrawer_nonexistent()
     This method tests that calling the unlockCashDrawer method on a CashDrawerService, when the cash drawer doesn't exist, an error is generated.
final public  voidtestUnlockCashDrawer_open()
     This method tests that calling the lockCashDrawer method on a CashDrawerService, when the cash drawer is already open, an error is generated.



Method Detail
testCloseCashDrawer_blankWorkgroup
final public void testCloseCashDrawer_blankWorkgroup()(Code)
This method tests that calling the closeCashDrawer method on a CashDrawerService with a blank workgroup name generates an error.



testCloseCashDrawer_existent
final public void testCloseCashDrawer_existent()(Code)
This method tests the closeCashDrawer method under valid conditions.



testCloseCashDrawer_nonexistent
final public void testCloseCashDrawer_nonexistent()(Code)
This method tests that calling the closeCashDrawer method on a CashDrawerService, when the cash drawer doesn't exist, will create a new cash drawer and closes it.



testGetByWorkgroupName_blankWorkgroup
final public void testGetByWorkgroupName_blankWorkgroup()(Code)
This method tests that trying to retrieve a cash drawer by a workgroup name, when the workgroup name provided is blank, will generate an error.



testGetByWorkgroupName_existingWorkgroup
final public void testGetByWorkgroupName_existingWorkgroup()(Code)
This method tests the getByWorkgroupName method under valid conditions.



testGetByWorkgroupName_nonexistentWorkgroup
final public void testGetByWorkgroupName_nonexistentWorkgroup()(Code)
This method tests that trying to retrieve a cash drawer by a workgroup name, when the workgroup does not exist, will generate an error.



testLifeCycle
final public void testLifeCycle()(Code)
This method tests that all the possible steps during the lifecycle of a cash drawer function properly and are achievable with the expected results.



testLockCashDrawer_alreadyLocked
final public void testLockCashDrawer_alreadyLocked()(Code)
This method tests that calling the lockCashDrawer method on a CashDrawerService, when the cash drawer is already locked, an error is generated.



testLockCashDrawer_blankWorkgroup
final public void testLockCashDrawer_blankWorkgroup()(Code)
This method tests that calling the lockCashDrawer method on a CashDrawerService with a blank workgroup name generates an error.



testLockCashDrawer_closed
final public void testLockCashDrawer_closed()(Code)
This method tests that calling the lockCashDrawer method on a CashDrawerService, when the cash drawer is closed, an error is generated.



testLockCashDrawer_nonexistent
final public void testLockCashDrawer_nonexistent()(Code)
This method tests that calling the lockCashDrawer method on a CashDrawerService, when the cash drawer doesn't exist, an error is generated.



testLockCashDrawer_open
final public void testLockCashDrawer_open()(Code)
This method tests the lockCashDrawer method under valid conditions.



testLockCashDrawer_openedByDifferentDocument
final public void testLockCashDrawer_openedByDifferentDocument()(Code)
This method tests that calling the lockCashDrawer method on a CashDrawerService, when the cash drawer is already opened by another document, an error is generated.



testOpenCashDrawer
final public void testOpenCashDrawer()(Code)
This method tests the openCashDrawer method under valid conditions.



testOpenCashDrawer_blankDocId
final public void testOpenCashDrawer_blankDocId()(Code)
This method tests that calling the openCashDrawer method on a CashDrawerService with a blank document id generates an error.



testOpenCashDrawer_blankWorkgroup
final public void testOpenCashDrawer_blankWorkgroup()(Code)
This method tests that calling the openCashDrawer method on a CashDrawerService with a blank workgroup name generates an error.



testOpenCashDrawer_nonexistent
final public void testOpenCashDrawer_nonexistent()(Code)
This method tests that calling the openCashDrawer method on a CashDrawerService, when the cash drawer doesn't exist, will create a new cash drawer and open it.



testUnlockCashDrawer_blankWorkgroup
final public void testUnlockCashDrawer_blankWorkgroup()(Code)
This method tests that calling the unlockCashDrawer method on a CashDrawerService with a blank workgroup name generates an error.



testUnlockCashDrawer_locked
final public void testUnlockCashDrawer_locked()(Code)
This method tests the unlockCashDrawer method under valid conditions.



testUnlockCashDrawer_lockedByDifferentDocumentId
final public void testUnlockCashDrawer_lockedByDifferentDocumentId()(Code)
This method tests that calling the unlockCashDrawer method on a CashDrawerService, when the cash drawer is already locked by another document, an error is generated.



testUnlockCashDrawer_nonexistent
final public void testUnlockCashDrawer_nonexistent()(Code)
This method tests that calling the unlockCashDrawer method on a CashDrawerService, when the cash drawer doesn't exist, an error is generated.



testUnlockCashDrawer_open
final public void testUnlockCashDrawer_open()(Code)
This method tests that calling the lockCashDrawer method on a CashDrawerService, when the cash drawer is already open, an error is generated.



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.