Java Doc for A_mnu.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » jtests » clients » entity » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.jtests.clients.entity 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.jonas.jtests.clients.entity.A_Cmp2Util
   org.objectweb.jonas.jtests.clients.entity.A_mnu

All known Subclasses:   org.objectweb.jonas.jtests.clients.entity.F_mnu_CRW_EC2,  org.objectweb.jonas.jtests.clients.entity.F_mnu_CS_EC2,
A_mnu
abstract public class A_mnu extends A_Cmp2Util (Code)
For testing many-to-many unidirectional relationships
author:
   Ph Durieux


Field Summary
protected  booleanisInit
    
static  HashtabletbRelationA2B
    

Constructor Summary
public  A_mnu(String name)
    

Method Summary
public  void_testBasicClear(int tx)
    
public  void_testBasicGetEmpty(int tx)
     Check that the bean 'a3' has no relation.
public  void_testBasicSetEmpty(int tx)
    
public  void_testBasicSetFirst(int tx)
    
public  void_testBasicSetRemove(int tx)
    
public  void_testBasicSetSecond(int tx)
    
public  void_testCohBeanRemove(int tx)
     Test of coherence b2.remove() => a1.retrieveB()=null && a2.retrieveB()=null && a3.retrieveB()=null Same as _testCohRemove except that the called remove method is on the bean instead of the home.
public  void_testCohRemove(int tx)
    
public  void_testCohRemoveInRel(int tx)
     Remove an element in a relation.
abstract public  AHomeRemotegetAHome()
    
abstract public  BHomeRemotegetBHome()
    
 booleaninitStateOK()
    
protected  voidsetUp()
    
public  voidtestBasicClearTxCall()
    
public  voidtestBasicClearTxCont()
    
public  voidtestBasicClearTxNo()
    
public  voidtestBasicClearTxRb()
    
public  voidtestBasicGetEmptyTxCall()
    
public  voidtestBasicGetEmptyTxCont()
    
public  voidtestBasicGetEmptyTxNo()
    
public  voidtestBasicSetEmptyTxCall()
    
public  voidtestBasicSetEmptyTxCont()
    
public  voidtestBasicSetEmptyTxNo()
    
public  voidtestBasicSetEmptyTxRb()
    
public  voidtestBasicSetFirstTxCall()
    
public  voidtestBasicSetFirstTxCont()
    
public  voidtestBasicSetFirstTxNo()
    
public  voidtestBasicSetFirstTxRb()
    
public  voidtestBasicSetRemoveTxCall()
    
public  voidtestBasicSetRemoveTxCont()
    
public  voidtestBasicSetRemoveTxNo()
    
public  voidtestBasicSetRemoveTxRb()
    
public  voidtestBasicSetSecondTxCall()
    
public  voidtestBasicSetSecondTxCont()
    
public  voidtestBasicSetSecondTxNo()
    
public  voidtestBasicSetSecondTxRb()
    
public  voidtestCohBeanRemoveTxCall()
    
public  voidtestCohBeanRemoveTxNo()
    
public  voidtestCohBeanRemoveTxRb()
    
public  voidtestCohRemoveInRelTxCall()
    
public  voidtestCohRemoveInRelTxCont()
    
public  voidtestCohRemoveInRelTxNo()
    
public  voidtestCohRemoveInRelTxRb()
    
public  voidtestCohRemoveTxCall()
    
public  voidtestCohRemoveTxNo()
    
public  voidtestCohRemoveTxRb()
    
public  voidtestRemoveSeries()
    
public  voidtestRemoves1()
    
public  voidtestRemoves2()
    
public  voidtestRemoves3()
    
public  voidtestRemoves4()
    

Field Detail
isInit
protected boolean isInit(Code)



tbRelationA2B
static Hashtable tbRelationA2B(Code)
predefined relations between a and b beans




Constructor Detail
A_mnu
public A_mnu(String name)(Code)




Method Detail
_testBasicClear
public void _testBasicClear(int tx) throws Exception(Code)
Ckeck clear function



_testBasicGetEmpty
public void _testBasicGetEmpty(int tx) throws Exception(Code)
Check that the bean 'a3' has no relation.



_testBasicSetEmpty
public void _testBasicSetEmpty(int tx) throws Exception(Code)
Ckeck the new relation a0-b0



_testBasicSetFirst
public void _testBasicSetFirst(int tx) throws Exception(Code)
See 10.3.7.7 of spec : a1.assignB(a3.retrieveB()) => a1.retreiveB().contains("b2") && a1.retreiveB().contains("b3") && a1.retreiveB().contains("b4") && a3.retreiveB().contains("b2") && a3.retreiveB().contains("b3") && a3.retreiveB().contains("b4") &&



_testBasicSetRemove
public void _testBasicSetRemove(int tx) throws Exception(Code)
See 10.3.7.7 of spec : a2.getB().remove(b2) => a2.retreiveB().contains("b1") && a2.retreiveB().contains("b3") &&



_testBasicSetSecond
public void _testBasicSetSecond(int tx) throws Exception(Code)
See 10.3.7.7 of spec : a1.getB().add(b3) => a1.retreiveB().contains("b1") && a1.retreiveB().contains("b2") && a1.retreiveB().contains("b3") &&



_testCohBeanRemove
public void _testCohBeanRemove(int tx) throws Exception(Code)
Test of coherence b2.remove() => a1.retrieveB()=null && a2.retrieveB()=null && a3.retrieveB()=null Same as _testCohRemove except that the called remove method is on the bean instead of the home.



_testCohRemove
public void _testCohRemove(int tx) throws Exception(Code)
Test of coherence b2.remove() => a1.retrieveB()=null && a2.retrieveB()=null && a3.retrieveB()=null



_testCohRemoveInRel
public void _testCohRemoveInRel(int tx) throws Exception(Code)
Remove an element in a relation.



getAHome
abstract public AHomeRemote getAHome()(Code)



getBHome
abstract public BHomeRemote getBHome()(Code)



initStateOK
boolean initStateOK() throws Exception(Code)



setUp
protected void setUp()(Code)



testBasicClearTxCall
public void testBasicClearTxCall() throws Exception(Code)



testBasicClearTxCont
public void testBasicClearTxCont() throws Exception(Code)



testBasicClearTxNo
public void testBasicClearTxNo() throws Exception(Code)



testBasicClearTxRb
public void testBasicClearTxRb() throws Exception(Code)



testBasicGetEmptyTxCall
public void testBasicGetEmptyTxCall() throws Exception(Code)



testBasicGetEmptyTxCont
public void testBasicGetEmptyTxCont() throws Exception(Code)



testBasicGetEmptyTxNo
public void testBasicGetEmptyTxNo() throws Exception(Code)



testBasicSetEmptyTxCall
public void testBasicSetEmptyTxCall() throws Exception(Code)



testBasicSetEmptyTxCont
public void testBasicSetEmptyTxCont() throws Exception(Code)



testBasicSetEmptyTxNo
public void testBasicSetEmptyTxNo() throws Exception(Code)



testBasicSetEmptyTxRb
public void testBasicSetEmptyTxRb() throws Exception(Code)



testBasicSetFirstTxCall
public void testBasicSetFirstTxCall() throws Exception(Code)



testBasicSetFirstTxCont
public void testBasicSetFirstTxCont() throws Exception(Code)



testBasicSetFirstTxNo
public void testBasicSetFirstTxNo() throws Exception(Code)



testBasicSetFirstTxRb
public void testBasicSetFirstTxRb() throws Exception(Code)



testBasicSetRemoveTxCall
public void testBasicSetRemoveTxCall() throws Exception(Code)



testBasicSetRemoveTxCont
public void testBasicSetRemoveTxCont() throws Exception(Code)



testBasicSetRemoveTxNo
public void testBasicSetRemoveTxNo() throws Exception(Code)



testBasicSetRemoveTxRb
public void testBasicSetRemoveTxRb() throws Exception(Code)



testBasicSetSecondTxCall
public void testBasicSetSecondTxCall() throws Exception(Code)



testBasicSetSecondTxCont
public void testBasicSetSecondTxCont() throws Exception(Code)



testBasicSetSecondTxNo
public void testBasicSetSecondTxNo() throws Exception(Code)



testBasicSetSecondTxRb
public void testBasicSetSecondTxRb() throws Exception(Code)



testCohBeanRemoveTxCall
public void testCohBeanRemoveTxCall() throws Exception(Code)



testCohBeanRemoveTxNo
public void testCohBeanRemoveTxNo() throws Exception(Code)



testCohBeanRemoveTxRb
public void testCohBeanRemoveTxRb() throws Exception(Code)



testCohRemoveInRelTxCall
public void testCohRemoveInRelTxCall() throws Exception(Code)



testCohRemoveInRelTxCont
public void testCohRemoveInRelTxCont() throws Exception(Code)



testCohRemoveInRelTxNo
public void testCohRemoveInRelTxNo() throws Exception(Code)



testCohRemoveInRelTxRb
public void testCohRemoveInRelTxRb() throws Exception(Code)



testCohRemoveTxCall
public void testCohRemoveTxCall() throws Exception(Code)



testCohRemoveTxNo
public void testCohRemoveTxNo() throws Exception(Code)



testCohRemoveTxRb
public void testCohRemoveTxRb() throws Exception(Code)



testRemoveSeries
public void testRemoveSeries() throws Exception(Code)
These several tests linked fails on Oracle (testCohBeanRemoveTxCall)



testRemoves1
public void testRemoves1() throws Exception(Code)



testRemoves2
public void testRemoves2() throws Exception(Code)



testRemoves3
public void testRemoves3() throws Exception(Code)



testRemoves4
public void testRemoves4() throws Exception(Code)



Fields inherited from org.objectweb.jonas.jtests.clients.entity.A_Cmp2Util
final static int TX_CALL(Code)(Java Doc)
final static int TX_CONT(Code)(Java Doc)
final static int TX_NO(Code)(Java Doc)
final static int TX_RB(Code)(Java Doc)

Methods inherited from org.objectweb.jonas.jtests.clients.entity.A_Cmp2Util
void checkIsInitialState() throws Exception(Code)(Java Doc)
public static int getIntAfterDash(String s)(Code)(Java Doc)
public static String getStringBeforeDash(String s)(Code)(Java Doc)
abstract boolean initStateOK() throws Exception(Code)(Java Doc)
static boolean isCollectionEqual(Collection c1, Collection c2)(Code)(Java Doc)
protected void setUp()(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.