JDO TCK 1.1 Query Test Cases
The current JDO TCK (as implemented in the tck11 sub-project) does not implement all the JDO TCK assertions. For some of these assertions the unimpl_tests directory of the Sun cvs repository includes test classes where the test method need to be implemented. There is a spreadsheet listing the JDO TCK assertions (details under TechnologyCompatibilityKit, section JDO TCK Assertions).
The working copy 2005-03-08 of the Apache JDO code (see SubversionRepository) implements the remaining JDO TCK 1 query tests:
Assertion No. |
TCK Class under org.apache.jdo.tck |
Comment |
A14.4-5 |
Multiple{{`Identical}}`Imports |
implemented |
A14.6-15 |
Setter{{`Replaces}} |
implemented |
A14.6.1-7 |
Immutable{{`Query}}`Result |
implemented |
A14.6.1-8 |
ParameterBoundToDifferentPM |
implemented |
A14.6.1-10 |
Ignore{{`Cache}}`False |
implemented |
A14.6.2-2 |
Denote{{`Uniqueness}} |
renamed and implemented the unimpl test |
A14.6.2-4 |
operators.Equality{{`And}} |
implemented |
A14.6.2-5 |
operators.Equality{{`And}} |
implemented |
A14.6.2-9 |
Navigation{{`ThroughANull}} |
implemented |
A14.6.2-10 |
Navigation{{`ThroughACollection}}`Field |
implemented |
A14.6.2-11 |
Namespace{{`Of}}`Identifiers |
implemented |
A14.6.2-12 |
This{{`Is}} |
Tested elsewhere => skip test case |
A14.6.2-13 |
Navigation{{`Through}} |
implemented |
A14.6.2-20 |
operators.Boolean{{`Logical}}`AND |
implemented |
A14.6.2-21 |
operators.ConditionalAND |
implemented |
A14.6.2-22 |
operators.Boolean{{`Logical}}`OR |
implemented |
A14.6.2-23 |
operators.ConditionalOR |
implemented |
A14.6.2-24 |
operators.BitwiseComplement |
implemented |
A14.6.2-25 |
operators.UnaryPlus |
renamed and implemented the unimpl test |
A14.6.2-27 |
operators.StringConcatentation |
implemented |
A14.6.2-28 |
operators.BinarySubtraction |
implemented |
A14.6.2-29 |
operators.SignInversion |
implemented |
A14.6.2-30 |
operators.Multiplication |
implemented |
A14.6.2-31 |
operators.Division |
implemented |
A14.6.2-32 |
operators.LogicalComplement |
implemented |
A14.6.2-33 |
Starts{{`With}} |
implemented |
A14.6.2-34 |
Null{{`Collections}} |
implemented |
A14.6.2-35 |
Null{{`Collections}} |
implemented |
A14.6.2-36 |
Comparing{{`Collection}} |
implemented |
A14.6.2-38 |
Cast |
implemented |
A14.6.2-39 |
operators.Promotion{{`Of}} |
implemented |
The following test cases in the unimpl_tests directory are not implemented in tck11:
Assertion No. |
TCK Class |
Comment |
A5.4.3-9 |
Queries{{`Of}} |
Not testable with JDO RI |
A14.6.5-1 |
Scope{{`Of}} |
JDO 2.0 test case |
A14.6.5-2 |
Scope{{`Of}} |
JDO 2.0 test case |