Java Doc for F_FamilyEC2.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.util.JTestCase
   org.objectweb.jonas.jtests.clients.entity.F_FamilyEC2

F_FamilyEC2
public class F_FamilyEC2 extends JTestCase (Code)
This test suite tests relations on beans of the same type. Relations used are OOB, OMU, OMB. It uses the bean family only. Each test is independant from each other, since DataBase is cleaned up after each test (See teardown).
author:
   Philippe Durieux


Field Summary
protected  booleanisInit
    

Constructor Summary
public  F_FamilyEC2(String name)
    

Method Summary
protected static  voidcallTest(String testname)
    
public static  voidmain(String args)
    
protected static  voidperfs()
    
protected  voidsetUp()
     setup is called before each test case.
public static  Testsuite()
     Run all the tests of this suite.
public static  Testsuite1()
    
public static  Testsuite2()
    
protected  voidtearDown()
     teardown is called after each test case.
public  voidtest1920()
    
public  voidtest1920co()
    
public  voidtest1920rb()
    
public  voidtest1920rb1()
    
public  voidtest1920rb2()
    
public  voidtest1940()
    
public  voidtest1940co()
    
public  voidtest1940co2()
    
public  voidtest1940rb()
    
public  voidtest1940rb2()
    
public  voidtest1940rb3()
    
public  voidtest1940rb4()
    
public  voidtest1960()
    
public  voidtest1960co()
    
public  voidtest1960co1()
    
public  voidtest1960co2()
    
public  voidtest1960rb()
    
public  voidtest1960rb1()
    
public  voidtest1960rb2()
    
public  voidtest1960rb3()
    
public  voidtest1960rb4()
    
public  voidtest1980()
    
public  voidtest1980co()
    
public  voidtest1980co1()
    
public  voidtest1980co2()
    
public  voidtest1980rb()
    
public  voidtest1980rb2()
    
public  voidtest1980rb3()
    
public  voidtest1980rb4()
    
public  voidtest1980rb5()
    
public  voidtest1980rb5s()
    
public  voidtest1980rb5s2()
    
public  voidtest1980rb5s3()
    
public  voidtest1990()
    
public  voidtest1990co()
    
public  voidtest1990co1()
    
public  voidtest1990co2()
    
public  voidtest1990co3()
    
public  voidtest1990rb()
    
public  voidtest1990rb2()
    
public  voidtest1990rb3()
    
public  voidtest2000()
    
public  voidtest2000co()
    
public  voidtest2000co2()
    
public  voidtest2000co3()
    
public  voidtest2000co4()
    
public  voidtest2000co5()
    
public  voidtestCreateHomeRB()
    
public  voidtestDivorce()
     This test should pass.
public  voidtestFindAll()
     Test the findAll without transaction.
public  voidtestManChildren()
     This test should pass now.
public  voidtestRemoveFather()
     This test should pass.
public  voidtestRemoveFatherTx()
     This test should pass.
public  voidtestRemoveHTCreateIT()
     Test that a create can be done after a remove outside tx.
public  voidtestRemoveHTCreateIT1()
     Test that a create can be done after a remove outside tx.
public  voidtestRemoveMother()
     This test should pass.
public  voidtestRemoveMotherTx()
     This test should pass.
public  voidtestRemoveRb()
    
public  voidtestRemoveRb2()
    
public  voidtestRemoveRb3()
    
public  voidtestRemoveRbSync()
     Same than testRemoveRb, with a sync before transaction.
public  voidtestRollbackDivorce()
     This test should pass.
public  voidtestRollbackUnion()
    
public  voidvtestP1()
    
public  voidvtestP2()
    
public  voidvtestP3()
    

Field Detail
isInit
protected boolean isInit(Code)




Constructor Detail
F_FamilyEC2
public F_FamilyEC2(String name)(Code)
Standard constructor




Method Detail
callTest
protected static void callTest(String testname) throws Exception(Code)



main
public static void main(String args) throws Exception(Code)



perfs
protected static void perfs() throws Exception(Code)
Run tests for perf mesures



setUp
protected void setUp()(Code)
setup is called before each test case. If not initialized, load the family bean and lookup the Home.



suite
public static Test suite()(Code)
Run all the tests of this suite.



suite1
public static Test suite1()(Code)
Run a selected set of the test cases



suite2
public static Test suite2()(Code)
Run a selected set of the test cases F10 pass (should fails) but cleanup fails !!!



tearDown
protected void tearDown() throws Exception(Code)
teardown is called after each test case. Notes for debugging : To see DataBase state after a test is passed : Replace the cleanall() by sync(false).



test1920
public void test1920() throws Exception(Code)



test1920co
public void test1920co() throws Exception(Code)



test1920rb
public void test1920rb() throws Exception(Code)



test1920rb1
public void test1920rb1() throws Exception(Code)



test1920rb2
public void test1920rb2() throws Exception(Code)



test1940
public void test1940() throws Exception(Code)



test1940co
public void test1940co() throws Exception(Code)



test1940co2
public void test1940co2() throws Exception(Code)



test1940rb
public void test1940rb() throws Exception(Code)



test1940rb2
public void test1940rb2() throws Exception(Code)



test1940rb3
public void test1940rb3() throws Exception(Code)



test1940rb4
public void test1940rb4() throws Exception(Code)



test1960
public void test1960() throws Exception(Code)



test1960co
public void test1960co() throws Exception(Code)



test1960co1
public void test1960co1() throws Exception(Code)



test1960co2
public void test1960co2() throws Exception(Code)



test1960rb
public void test1960rb() throws Exception(Code)



test1960rb1
public void test1960rb1() throws Exception(Code)



test1960rb2
public void test1960rb2() throws Exception(Code)



test1960rb3
public void test1960rb3() throws Exception(Code)



test1960rb4
public void test1960rb4() throws Exception(Code)



test1980
public void test1980() throws Exception(Code)



test1980co
public void test1980co() throws Exception(Code)



test1980co1
public void test1980co1() throws Exception(Code)



test1980co2
public void test1980co2() throws Exception(Code)



test1980rb
public void test1980rb() throws Exception(Code)



test1980rb2
public void test1980rb2() throws Exception(Code)



test1980rb3
public void test1980rb3() throws Exception(Code)



test1980rb4
public void test1980rb4() throws Exception(Code)



test1980rb5
public void test1980rb5() throws Exception(Code)



test1980rb5s
public void test1980rb5s() throws Exception(Code)



test1980rb5s2
public void test1980rb5s2() throws Exception(Code)



test1980rb5s3
public void test1980rb5s3() throws Exception(Code)



test1990
public void test1990() throws Exception(Code)



test1990co
public void test1990co() throws Exception(Code)



test1990co1
public void test1990co1() throws Exception(Code)



test1990co2
public void test1990co2() throws Exception(Code)



test1990co3
public void test1990co3() throws Exception(Code)



test1990rb
public void test1990rb() throws Exception(Code)



test1990rb2
public void test1990rb2() throws Exception(Code)



test1990rb3
public void test1990rb3() throws Exception(Code)



test2000
public void test2000() throws Exception(Code)



test2000co
public void test2000co() throws Exception(Code)



test2000co2
public void test2000co2() throws Exception(Code)



test2000co3
public void test2000co3() throws Exception(Code)



test2000co4
public void test2000co4() throws Exception(Code)



test2000co5
public void test2000co5() throws Exception(Code)



testCreateHomeRB
public void testCreateHomeRB() throws Exception(Code)
This test a create followed by a home method that will be rolled back (pb with reusing of contexts)



testDivorce
public void testDivorce() throws Exception(Code)
This test should pass.



testFindAll
public void testFindAll() throws Exception(Code)
Test the findAll without transaction.



testManChildren
public void testManChildren() throws Exception(Code)
This test should pass now. The problem was that the finder method looks in the Database, and that the data has not been written, because outside transaction.



testRemoveFather
public void testRemoveFather() throws Exception(Code)
This test should pass.



testRemoveFatherTx
public void testRemoveFatherTx() throws Exception(Code)
This test should pass.



testRemoveHTCreateIT
public void testRemoveHTCreateIT() throws Exception(Code)
Test that a create can be done after a remove outside tx. This test should pass.



testRemoveHTCreateIT1
public void testRemoveHTCreateIT1() throws Exception(Code)
Test that a create can be done after a remove outside tx. This test should pass.



testRemoveMother
public void testRemoveMother() throws Exception(Code)
This test should pass.



testRemoveMotherTx
public void testRemoveMotherTx() throws Exception(Code)
This test should pass.



testRemoveRb
public void testRemoveRb() throws Exception(Code)
This test should pass



testRemoveRb2
public void testRemoveRb2() throws Exception(Code)
This test should pass



testRemoveRb3
public void testRemoveRb3() throws Exception(Code)
This test should pass



testRemoveRbSync
public void testRemoveRbSync() throws Exception(Code)
Same than testRemoveRb, with a sync before transaction. This test should pass



testRollbackDivorce
public void testRollbackDivorce() throws Exception(Code)
This test should pass.



testRollbackUnion
public void testRollbackUnion() throws Exception(Code)
This test should pass now (bug fixed in create HT)



vtestP1
public void vtestP1() throws Exception(Code)



vtestP2
public void vtestP2() throws Exception(Code)



vtestP3
public void vtestP3() throws Exception(Code)



Fields inherited from org.objectweb.jonas.jtests.util.JTestCase
final public static String PACKAGE(Code)(Java Doc)
protected static Context ictx(Code)(Java Doc)
protected static String jonasName(Code)(Java Doc)
protected StringBuffer msgerror(Code)(Java Doc)
protected static String testtorun(Code)(Java Doc)
public static UserTransaction utx(Code)(Java Doc)

Methods inherited from org.objectweb.jonas.jtests.util.JTestCase
protected static void callTest(String classname, String testname) throws Exception(Code)(Java Doc)
protected static void callrepeatedTest(String classname, String testname, int n) throws Exception(Code)(Java Doc)
public static void debug(String msg)(Code)(Java Doc)
public static void error(String msg)(Code)(Java Doc)
public DBEnv getDBEnv()(Code)(Java Doc)
public int random(int max) throws RemoteException(Code)(Java Doc)
protected void setUp()(Code)(Java Doc)
public void sleep(int msec)(Code)(Java Doc)
public void sync(boolean passivate)(Code)(Java Doc)
protected void tearDown() throws Exception(Code)(Java Doc)
public void testEmpty() throws Exception(Code)(Java Doc)
public void unloadBeans(String filename)(Code)(Java Doc)
public void useBeans(String filename, boolean create)(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.