Details
-
Type:
Task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Student programs
-
Labels:None
-
Environment:Maven project using castor-jdo with an Apache Derby database.
-
Testcase included:yes
-
Number of attachments :6
Description
The attached project, when it is finished, will contain 6 relationship tests & 4 tests used to chart sequence diagrams.
As of now, the project contains the 6 relationship tests with the following results:
OneToMany Unidirectional (AutoStore=true): error (PersistenceException: Column 'AUTHOR_ID' cannot accept a NULL value.)
OneToMany Unidirectional (AutoStore=false): error (PersistenceException: Column 'AUTHOR_ID' cannot accept a NULL value.)
OneToMany Bidirectional (AutoStore=true): pass (but only when explicitly setting both sides of the relation)
OneToMany Bidirectional (AutoStore=false) : pass (but only when explicitly setting both sides of the relation)
ManyToOne (AutoStore=true): pass
ManyToOne (AutoStore=false): pass
caching is turned off and key-generator MAX is used for all entities.
The 4 sequence diagram test cases will be added soon.
-
Hide
- RelationTests.zip
- 24/Nov/09 11:37 AM
- 217 kB
- Michael Schröder
-
- RelationTests/.classpath 3 kB
- RelationTests/.DS_Store 6 kB
- RelationTests/.project 0.3 kB
- RelationTests/.../org.eclipse.jdt.core.prefs 0.2 kB
- RelationTests/.../db.lck 0.0 kB
- RelationTests/.../dbex.lck 0.0 kB
- RelationTests/.../log.ctrl 0.0 kB
- RelationTests/.../log1.dat 1024 kB
- RelationTests/.../logmirror.ctrl 0.0 kB
- RelationTests/.../c10.dat 8 kB
- RelationTests/.../c101.dat 8 kB
- RelationTests/.../c111.dat 8 kB
- RelationTests/.../c121.dat 8 kB
- RelationTests/.../c130.dat 8 kB
- RelationTests/.../c141.dat 8 kB
- RelationTests/.../c150.dat 8 kB
- RelationTests/.../c161.dat 8 kB
- RelationTests/.../c171.dat 8 kB
- RelationTests/.../c180.dat 32 kB
- RelationTests/.../c191.dat 16 kB
- RelationTests/.../c1a1.dat 8 kB
- RelationTests/.../c1b1.dat 16 kB
- RelationTests/.../c1c0.dat 8 kB
- RelationTests/.../c1d1.dat 8 kB
- RelationTests/.../c1e0.dat 8 kB
- RelationTests/.../c1f1.dat 8 kB
- RelationTests/.../c20.dat 28 kB
- RelationTests/.../c200.dat 8 kB
- RelationTests/.../c211.dat 8 kB
- RelationTests/.../c221.dat 8 kB
-
Hide
- RelationTests.zip
- 21/Nov/09 3:58 PM
- 216 kB
- Michael Schröder
-
- RelationTests/.classpath 3 kB
- RelationTests/.DS_Store 6 kB
- __MACOSX/RelationTests/._.DS_Store 0.1 kB
- RelationTests/.project 0.3 kB
- RelationTests/.../org.eclipse.jdt.core.prefs 0.2 kB
- RelationTests/.../db.lck 0.0 kB
- RelationTests/.../dbex.lck 0.0 kB
- RelationTests/.../log.ctrl 0.0 kB
- RelationTests/.../log1.dat 1024 kB
- __MACOSX/RelationTests/.../log/._log1.dat 0.2 kB
- RelationTests/.../logmirror.ctrl 0.0 kB
- RelationTests/.../c10.dat 8 kB
- RelationTests/.../c101.dat 8 kB
- RelationTests/.../c111.dat 8 kB
- RelationTests/.../c121.dat 8 kB
- RelationTests/.../c130.dat 8 kB
- RelationTests/.../c141.dat 8 kB
- RelationTests/.../c150.dat 8 kB
- RelationTests/.../c161.dat 8 kB
- RelationTests/.../c171.dat 8 kB
- RelationTests/.../c180.dat 32 kB
- RelationTests/.../c191.dat 16 kB
- RelationTests/.../c1a1.dat 8 kB
- RelationTests/.../c1b1.dat 16 kB
- RelationTests/.../c1c0.dat 8 kB
- RelationTests/.../c1d1.dat 8 kB
- RelationTests/.../c1e0.dat 8 kB
- RelationTests/.../c1f1.dat 8 kB
- RelationTests/.../c20.dat 32 kB
- RelationTests/.../c200.dat 8 kB
Activity
These are the sequence diagrams for the first two test cases.
I have now added the 4 sequence diagram test cases, which are:
test 1: A (change a field of author)
test 2: A <-- B (change a field of author)
test 3: A <-- B (setting a new author)
test 4: A --> B (add a new book)
The diagrams themselves will follow soon.