Java Doc for ObjectImageTest.java in » Database-ORM » db-ojb » org » apache » ojb » odmg » 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
»
Database ORM
»
db ojb
»
org.apache.ojb.odmg
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.apache.ojb.junit
.ODMGTestCase
org.apache.ojb.odmg
.ObjectImageTest
ObjectImageTest
public
class ObjectImageTest extends
ODMGTestCase
(Code)
Check the quality of object image comparison: - new referenced objects - deleted referenced objects - deleted referenced objects ...etc. Test cases for refactored odmg-api implementation. These tests asserts previously outstanding ODMG-issues and proxy object handling in the ODMG API.
author:
Armin Waibel
version:
$Id: ObjectImageTest.java,v 1.1.2.8 2005/12/13 18:18:25 arminw Exp $
Inner Class :final
public
static class Book implements
Serializable
Inner Class :final
public
static class Author implements
Serializable
Inner Class :
public
static interface Publisher extends
Serializable
Inner Class :final
public
static class PublisherImpl implements Publisher
Inner Class :final
public
static class Review implements
Serializable
Field Summary
final static
String
EOL
final static int
LINK
final static int
NONE
final static int
OBJECT
Method Summary
public
static void
main
(
String
[] args)
public
void
testAddCollectionObjectToExistingObject
()
public
void
testAddPersistentObjectTo1toN
()
public
void
testAddPersistentObjectToMtoN
()
public
void
testChangeMainFields
()
public
void
testChangeMainFields_2
()
public
void
testChangeMainFields_3
()
public
void
testChangeOneToOneReference_1
()
public
void
testChangeOneToOneReference_1b
()
public
void
testChangeOneToOneReference_2
()
public
void
testChangeOneToOneReference_3
()
public
void
testChangeOneToOneReference_4
()
public
void
testChangeOneToOneReference_5
()
public
void
testChangeOneToOneReference_6
()
public
void
testChangeOneToOneReference_7
()
public
void
testChangeOneToOneReference_8
()
public
void
testChangeOneToOneReference_8b
()
public
void
testCollectionReference_1
()
public
void
testCollectionReference_2a
()
public
void
testCollectionReference_2b
()
public
void
testCollectionReference_3
()
remove collection reference object this test expects that removed 1:n referenced objects only be "unlinked" instead of deleted.
public
void
testCollectionReference_3b
()
public
void
testCollectionReference_3c
()
public
void
testCollectionReference_4a
()
public
void
testCollectionReference_4b
()
public
void
testPersistenceByReachability_1
()
public
void
testPersistenceByReachability_2
()
public
void
testReplaceOneToOneReference
()
public
void
testReplaceOneToOneReference_1
()
public
void
testReplaceOneToOneReference_2
()
Field Detail
EOL
final static
String
EOL
(Code)
LINK
final static int LINK
(Code)
NONE
final static int NONE
(Code)
OBJECT
final static int OBJECT
(Code)
Method Detail
main
public
static void main(
String
[] args)
(Code)
testAddCollectionObjectToExistingObject
public
void testAddCollectionObjectToExistingObject() throws
Exception
(Code)
testAddPersistentObjectTo1toN
public
void testAddPersistentObjectTo1toN() throws
Exception
(Code)
testAddPersistentObjectToMtoN
public
void testAddPersistentObjectToMtoN() throws
Exception
(Code)
testChangeMainFields
public
void testChangeMainFields() throws
Exception
(Code)
only lock object, no changes made
testChangeMainFields_2
public
void testChangeMainFields_2() throws
Exception
(Code)
modify field of main object
testChangeMainFields_3
public
void testChangeMainFields_3() throws
Exception
(Code)
lock object and lock serialized unmodified version again
testChangeOneToOneReference_1
public
void testChangeOneToOneReference_1() throws
Exception
(Code)
Double lock object with reference
testChangeOneToOneReference_1b
public
void testChangeOneToOneReference_1b() throws
Exception
(Code)
Double lock object with reference and proxy reference
testChangeOneToOneReference_2
public
void testChangeOneToOneReference_2() throws
Exception
(Code)
lock object with reference and lock serialized version again
testChangeOneToOneReference_3
public
void testChangeOneToOneReference_3() throws
Exception
(Code)
lock object with reference, change reference only
testChangeOneToOneReference_4
public
void testChangeOneToOneReference_4() throws
Exception
(Code)
check materialization of proxy object
testChangeOneToOneReference_5
public
void testChangeOneToOneReference_5() throws
Exception
(Code)
replace proxy reference by new reference object
testChangeOneToOneReference_6
public
void testChangeOneToOneReference_6() throws
Exception
(Code)
update referenced object
testChangeOneToOneReference_7
public
void testChangeOneToOneReference_7() throws
Exception
(Code)
add new reference
testChangeOneToOneReference_8
public
void testChangeOneToOneReference_8() throws
Exception
(Code)
remove reference
testChangeOneToOneReference_8b
public
void testChangeOneToOneReference_8b() throws
Exception
(Code)
delete reference
testCollectionReference_1
public
void testCollectionReference_1() throws
Exception
(Code)
check materialzation of collection reference
testCollectionReference_2a
public
void testCollectionReference_2a() throws
Exception
(Code)
update collection reference object
testCollectionReference_2b
public
void testCollectionReference_2b() throws
Exception
(Code)
update proxy collection reference object
testCollectionReference_3
public
void testCollectionReference_3() throws
Exception
(Code)
remove collection reference object this test expects that removed 1:n referenced objects only be "unlinked" instead of deleted.
testCollectionReference_3b
public
void testCollectionReference_3b() throws
Exception
(Code)
remove collection reference object and explicit delete it
testCollectionReference_3c
public
void testCollectionReference_3c() throws
Exception
(Code)
remove collection reference object with enabled auto-delete
testCollectionReference_4a
public
void testCollectionReference_4a() throws
Exception
(Code)
delete Book object with existing references
testCollectionReference_4b
public
void testCollectionReference_4b() throws
Exception
(Code)
delete Book object with existing references and circular referencing objects
testPersistenceByReachability_1
public
void testPersistenceByReachability_1() throws
Exception
(Code)
test persistence by reachability of collection reference objects
testPersistenceByReachability_2
public
void testPersistenceByReachability_2() throws
Exception
(Code)
test persistence by reachability of collection reference objects
testReplaceOneToOneReference
public
void testReplaceOneToOneReference() throws
Exception
(Code)
testReplaceOneToOneReference_1
public
void testReplaceOneToOneReference_1() throws
Exception
(Code)
lock object with reference, replace reference only
testReplaceOneToOneReference_2
public
void testReplaceOneToOneReference_2() throws
Exception
(Code)
lock object with reference, replace reference only
Fields inherited from
org.apache.ojb.junit.ODMGTestCase
public
Database
database
(Code)
(Java Doc)
public
ImplementationExt
odmg
(Code)
(Java Doc)
Methods inherited from
org.apache.ojb.junit.ODMGTestCase
protected
void setUp() throws
Exception
(Code)
(Java Doc)
protected
void tearDown() throws
Exception
(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.