You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by jd...@db.apache.org on 2005/02/25 22:20:43 UTC

[Apache JDO Wiki] New: QueryTests11

   Date: 2005-02-25T13:20:43
   Editor: MichaelBouschen
   Wiki: Apache JDO Wiki
   Page: QueryTests11
   URL: http://wiki.apache.org/jdo/QueryTests11

   JDO 1 TCK query test classes  

New Page:

= 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).

Here are the unimpl tests for package org.apache.jdo.tck.query:

||Assertion No.||Class||Comment||
||A5.4.3-9  ||Queries``Of``Instances``With``Nondatstore``Identity||Not testable with JDO RI||
||A14.6.2-2 ||Element``Returned``In``Query``Result||prio 2, Rename class to Denote``Uniqueness``In``Filter||
||A14.6.2-4 ||Equality``And``Comparisons``Between``Date``Fields``And``Parameters||prio 2||
||A14.6.2-5 ||Equality``And``Comparisons``Between``String``Fields``And``Parameters||prio 2, String ordering is not portable||
||A14.6.2-9 ||Navigation``ThroughANull``Valued``Field||prio 2||
||A14.6.2-10||Navigation``ThroughACollection``Field||prio 3||
||A14.6.2-11||Namespace``Of``Identifiers||prio 3||
||A14.6.2-12||This``Is``Reserved``Word``For``Element``Of``Collection||Tested elsewhere => skip test case||
||A14.6.2-13||Navigation``Through``References``Uses``Dot``Operator||prio 2||
||A14.6.2-36||Comparing``Collection``Field``To``Null||prio 3||
||A14.6.2-38||Cast||prio 3||
||A14.6.2-39||Promotion``Of``Numeric``Operands``For``Comparisons||prio 3||
||A14.6.5-1 ||Scope``Of``Variable``Not``Named``In``Contains``Clause||JDO 2.0 test case||
||A14.6.5-2 ||Scope``Of``Variable``Not``Named``In``Contains``Clause``And``No``Extent||JDO 2.0 test case||

Here are the unimpl tests for package org.apache.jdo.tck.query.operators:

||Assertion No.||Class||Comment||
||A14.6.2-20||Boolean``Logical``AND||prio 2||
||A14.6.2-21||Conditional``AND||prio 1||
||A14.6.2-22||Boolean``Logical``OR||prio 2||
||A14.6.2-23||Conditional``OR||prio 1||
||A14.6.2-24||Bitwise``Complement||prio 3||
||A14.6.2-25||Unary``Addition||prio 3, rename class to Unary``Plus||
||A14.6.2-27||String``Concatentation||prio 3||
||A14.6.2-28||Binary``Subtraction||prio 3||
||A14.6.2-29||Sign``Inversion||prio 3||
||A14.6.2-30||Multiplication||prio 3||
||A14.6.2-31||Division||prio 3||
||A14.6.2-32||Logical``Complement||prio 2||
||A14.6.2-33||Starts``With``And``Ends``With||prio 3||
||A14.6.2-34||Null``Collections``And``Is``Empty||prio 3||
||A14.6.2-35||Null``Collections``And``Contains``Method||prio 3||

These are JDO 1.0 assertions w/o test class in the unimpl_tests directory.

||Assertion No.||Description||Comment||
||A14.4-5||Multiple identical imports||prio3||
||A14.6-15||Query.setXXX method replace previous values||prio3||
||A14.6.1-7||Changing query result collection fails||prio3||
||A14.6.1-8||pc parameter bound to different pm fails||prio3||
||A14.6.1-10||Query with ignoreCache=false||prio3||
||A14.6.2-11||Identifier name space||prio3||