Date: 2005-03-08T11:19:55 Editor: MichaelBouschen Wiki: Apache JDO Wiki Page: QueryTests11 URL: http://wiki.apache.org/jdo/QueryTests11
Implemented remaining JDO 1 TCK tests Change Log: ------------------------------------------------------------------------------ @@ -2,49 +2,44 @@ 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: +The working copy 2005-03-08 of the Apache JDO code (see SubversionRepository) implements the remaining JDO TCK 1 query tests: -||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|| +||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``Comparisons``Between``Date``Fields``And``Parameters||implemented|| +||A14.6.2-5 ||operators.Equality``And``Comparisons``Between``String``Fields``And``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``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: +||A14.6.2-13||Navigation``Through``References``Uses``Dot``Operator||implemented|| +||A14.6.2-20||operators.Boolean``Logical``AND||implemented|| +||A14.6.2-21||operators.Conditional``AND||implemented|| +||A14.6.2-22||operators.Boolean``Logical``OR||implemented|| +||A14.6.2-23||operators.Conditional``OR||implemented|| +||A14.6.2-24||operators.Bitwise``Complement||implemented|| +||A14.6.2-25||operators.Unary``Plus||renamed and implemented the unimpl test|| +||A14.6.2-27||operators.String``Concatentation||implemented|| +||A14.6.2-28||operators.Binary``Subtraction||implemented|| +||A14.6.2-29||operators.Sign``Inversion||implemented|| +||A14.6.2-30||operators.Multiplication||implemented|| +||A14.6.2-31||operators.Division||implemented|| +||A14.6.2-32||operators.Logical``Complement||implemented|| +||A14.6.2-33||Starts``With``And``Ends``With||implemented|| +||A14.6.2-34||Null``Collections``And``Is``Empty||implemented|| +||A14.6.2-35||Null``Collections``And``Contains``Method||implemented|| +||A14.6.2-36||Comparing``Collection``Field``To``Null||implemented|| +||A14.6.2-38||Cast||implemented|| +||A14.6.2-39||operators.Promotion``Of``Numeric``Operands||implemented|| -||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|| +The following test cases in the unimpl_tests directory are not implemented in tck11: -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|| +||Assertion No.||TCK Class||Comment|| +||A5.4.3-9 ||Queries``Of``Instances``With``Nondatstore``Identity||Not testable with JDO RI|| +||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||