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}}Previous`Values

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}}In`Filter

renamed and implemented the unimpl test

A14.6.2-4

operators.Equality{{`And}}ComparisonsBetweenDateFieldsAnd`Parameters

implemented

A14.6.2-5

operators.Equality{{`And}}ComparisonsBetweenStringFieldsAnd`Parameters

implemented

A14.6.2-9

Navigation{{`ThroughANull}}Valued`Field

implemented

A14.6.2-10

Navigation{{`ThroughACollection}}`Field

implemented

A14.6.2-11

Namespace{{`Of}}`Identifiers

implemented

A14.6.2-12

This{{`Is}}ReservedWordForElementOf`Collection

Tested elsewhere => skip test case

A14.6.2-13

Navigation{{`Through}}ReferencesUsesDot`Operator

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}}AndEnds`With

implemented

A14.6.2-34

Null{{`Collections}}AndIs`Empty

implemented

A14.6.2-35

Null{{`Collections}}AndContains`Method

implemented

A14.6.2-36

Comparing{{`Collection}}FieldTo`Null

implemented

A14.6.2-38

Cast

implemented

A14.6.2-39

operators.Promotion{{`Of}}Numeric`Operands

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}}InstancesWithNondatstore`Identity

Not testable with JDO RI

A14.6.5-1

Scope{{`Of}}VariableNotNamedInContains`Clause

JDO 2.0 test case

A14.6.5-2

Scope{{`Of}}VariableNotNamedInContainsClauseAndNo`Extent

JDO 2.0 test case

  • No labels