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 |
MultipleIdenticalImports |
implemented |
A14.6-15 |
SetterReplacesPreviousValues |
implemented |
A14.6.1-7 |
ImmutableQueryResult |
implemented |
A14.6.1-8 |
ParameterBoundToDifferentPM |
implemented |
A14.6.1-10 |
IgnoreCacheFalse |
implemented |
A14.6.2-2 |
DenoteUniquenessInFilter |
renamed and implemented the unimpl test |
A14.6.2-4 |
operators.EqualityAndComparisonsBetweenDateFieldsAndParameters |
implemented |
A14.6.2-5 |
operators.EqualityAndComparisonsBetweenStringFieldsAndParameters |
implemented |
A14.6.2-9 |
NavigationThroughANullValuedField |
implemented |
A14.6.2-10 |
NavigationThroughACollectionField |
implemented |
A14.6.2-11 |
NamespaceOfIdentifiers |
implemented |
A14.6.2-12 |
ThisIsReservedWordForElementOfCollection |
Tested elsewhere => skip test case |
A14.6.2-13 |
NavigationThroughReferencesUsesDotOperator |
implemented |
A14.6.2-20 |
operators.BooleanLogicalAND |
implemented |
A14.6.2-21 |
operators.ConditionalAND |
implemented |
A14.6.2-22 |
operators.BooleanLogicalOR |
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 |
StartsWithAndEndsWith |
implemented |
A14.6.2-34 |
NullCollectionsAndIsEmpty |
implemented |
A14.6.2-35 |
NullCollectionsAndContainsMethod |
implemented |
A14.6.2-36 |
ComparingCollectionFieldToNull |
implemented |
A14.6.2-38 |
Cast |
implemented |
A14.6.2-39 |
operators.PromotionOfNumericOperands |
implemented |
The following test cases in the unimpl_tests directory are not implemented in tck11:
Assertion No. |
TCK Class |
Comment |
A5.4.3-9 |
QueriesOfInstancesWithNondatstoreIdentity |
Not testable with JDO RI |
A14.6.5-1 |
ScopeOfVariableNotNamedInContainsClause |
JDO 2.0 test case |
A14.6.5-2 |
ScopeOfVariableNotNamedInContainsClauseAndNoExtent |
JDO 2.0 test case |