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


org.kuali.kfs.context.KualiTestBase
   org.kuali.core.service.impl.PersistenceServiceImplTest

PersistenceServiceImplTest
public class PersistenceServiceImplTest extends KualiTestBase (Code)
This class tests that the PersistenceServices functionality works as intended and as expected.




Method Summary
public  voidtestGetForeignKeyFieldsPopulationState_Chart_AllPopulated()
    
public  voidtestGetForeignKeyFieldsPopulationState_Chart_NonePopulated()
    
public  voidtestGetForeignKeyFieldsPopulationState_NullParams()
    
public  voidtestGetForeignKeyFieldsPopulationState_Org_AllPopulated()
    
public  voidtestGetForeignKeyFieldsPopulationState_Org_NonePopulated()
    
public  voidtestGetForeignKeyFieldsPopulationState_Org_OnePopulated()
    
public  voidtestListReferenceObjectFields_DelegateGlobalDetail()
    
public  voidtestListReferenceObjectFields_IllegalArguments()
    
final public  voidtestRefreshAllNonUpdatingReferences_Account()
    
final public  voidtestRefreshAllNonUpdatingReferences_SubAccount()
    
final public  voidtestRetrieveNonKeyFields_brokenMultiPartKeysReferences()
     This method tests what happens when you change one of the keys on a multi-part foreign key reference.
final public  voidtestRetrieveNonKeyFields_fkAndNonkeyChanged()
     Tests that refresh/retrieveNonKeyFields updates foreign key references, but not other non-key fields (often called "primitives", altho AccountingLine actually has no primitives, only Java (not database) references such as String and KualiDecimal).
final public  voidtestRetrieveNonKeyFields_fkButNullReferences()
     This method tests what happens when you call refresh/retrieveNonKeyFields on an object that has the primitive FKs set in the parent object, and null reference objects.
final public  voidtestRetrieveNonKeyFields_fkDiffersFromReference()
     This method tests what happens when you call refresh/retrieveNonKeyFields on an object that has the primitive FKs set in the parent object, and the references objects have different PKs, and empty on all the other fields.
final public  voidtestRetrieveNonKeyFields_pkChanged()
     Tests that refresh/retrieveNonKeyFields ignores PKs.



Method Detail
testGetForeignKeyFieldsPopulationState_Chart_AllPopulated
public void testGetForeignKeyFieldsPopulationState_Chart_AllPopulated()(Code)



testGetForeignKeyFieldsPopulationState_Chart_NonePopulated
public void testGetForeignKeyFieldsPopulationState_Chart_NonePopulated()(Code)



testGetForeignKeyFieldsPopulationState_NullParams
public void testGetForeignKeyFieldsPopulationState_NullParams()(Code)



testGetForeignKeyFieldsPopulationState_Org_AllPopulated
public void testGetForeignKeyFieldsPopulationState_Org_AllPopulated()(Code)



testGetForeignKeyFieldsPopulationState_Org_NonePopulated
public void testGetForeignKeyFieldsPopulationState_Org_NonePopulated()(Code)



testGetForeignKeyFieldsPopulationState_Org_OnePopulated
public void testGetForeignKeyFieldsPopulationState_Org_OnePopulated()(Code)



testListReferenceObjectFields_DelegateGlobalDetail
public void testListReferenceObjectFields_DelegateGlobalDetail()(Code)



testListReferenceObjectFields_IllegalArguments
public void testListReferenceObjectFields_IllegalArguments()(Code)



testRefreshAllNonUpdatingReferences_Account
final public void testRefreshAllNonUpdatingReferences_Account()(Code)



testRefreshAllNonUpdatingReferences_SubAccount
final public void testRefreshAllNonUpdatingReferences_SubAccount()(Code)



testRetrieveNonKeyFields_brokenMultiPartKeysReferences
final public void testRetrieveNonKeyFields_brokenMultiPartKeysReferences() throws Exception(Code)
This method tests what happens when you change one of the keys on a multi-part foreign key reference. For example (and the test being done), SubAccount is keyed on Chart, AccountNumber and SubAccountNumber. In this test, we change one of those foreign key parts (SubAccountNumber) such that the resulting multi-part foreign key no longer matches any SubAccount in the database. This then attempts to show that the reference object becomes nullified, but the primitives in the parent objects are not modified by the refresh method.



testRetrieveNonKeyFields_fkAndNonkeyChanged
final public void testRetrieveNonKeyFields_fkAndNonkeyChanged() throws Exception(Code)
Tests that refresh/retrieveNonKeyFields updates foreign key references, but not other non-key fields (often called "primitives", altho AccountingLine actually has no primitives, only Java (not database) references such as String and KualiDecimal).



testRetrieveNonKeyFields_fkButNullReferences
final public void testRetrieveNonKeyFields_fkButNullReferences() throws Exception(Code)
This method tests what happens when you call refresh/retrieveNonKeyFields on an object that has the primitive FKs set in the parent object, and null reference objects.



testRetrieveNonKeyFields_fkDiffersFromReference
final public void testRetrieveNonKeyFields_fkDiffersFromReference() throws Exception(Code)
This method tests what happens when you call refresh/retrieveNonKeyFields on an object that has the primitive FKs set in the parent object, and the references objects have different PKs, and empty on all the other fields. If this works, it shows that when running refresh with non-matching/different primitives and references, the primitives win.



testRetrieveNonKeyFields_pkChanged
final public void testRetrieveNonKeyFields_pkChanged() throws Exception(Code)
Tests that refresh/retrieveNonKeyFields ignores PKs. We should not change primary keys.



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.