Implement new JDO 2 query tests cases concerning other language changes.
------------------------------------------------------------------------
Key: JDO-162
URL: http://issues.apache.org/jira/browse/JDO-162
Project: JDO
Type: New Feature
Components: tck20
Reporter: Michael Watzek
Assigned to: Michael Watzek
We need 5 new test classes, one for each of the following assertions:
- A14.6.2-42: There is no distinction made between character literals and
String literals. Single character String literals can be used wherever
character literals are permitted. String literals are allowed to be delimited
by single quote marks or double quote marks. This allows String literal filters
to use single quote marks instead of escaped double quote marks.
- A14.6.2-43: Identifiers that are persistent field names or public final
static field names are required to be supported by JDO implementations.
- A14.6.8-1: setRange(long fromIncl, long toExcl).
- A14.6.8-2: If ((toExcl - fromIncl) <= 0) evaluates to true, if the result of
the query execution is a List, the returned List contains no instances, and an
Iterator obtained from the List returns false to hasNext(). If the result of
the query execution is a single instance (setUnique(true)), it will have a
value of null.
- A14.6.8-3: setRange(String range).
Details can be found on Wiki page
http://wiki.apache.org/jdo/QueryTests#OtherLanguageChanges.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira