Issue Details (XML | Word | Printable)

Key: JDO-157
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Michael Watzek
Reporter: Michael Watzek
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

Implement new JDO 2 query tests cases concerning keywords.

Created: 04/Oct/05 07:56 PM   Updated: 13/Oct/05 01:38 AM
Return to search
Component/s: tck2
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works JDO-157.patch 2005-10-06 07:12 PM Michael Watzek 28 kB
File Licensed for inclusion in ASF works JDO-157.patch2 2005-10-13 12:33 AM Michael Watzek 27 kB

Resolution Date: 13/Oct/05 01:38 AM


 Description  « Hide
We need 4 new test classes, one for each of the following assertions:

- A14.4-6: Keywords must not be used as package names, class names, parameter names, or variable names in queries.
- A14.4-7: Keywords are permitted as field names only if they are on the right side of the "." in field access expressions.
- A14.6.13-1: The String version of Query represents all query elements using a single string. The string contains the following structure.
- A14.6.13-2: Keywords, identified above in bold, are either all upper-case or all lower-case. Keywords cannot be mixed case.

Details can be found on Wiki page http://wiki.apache.org/jdo/QueryTests#Keywords.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #314949 Wed Oct 12 15:44:50 UTC 2005 brazil JDO-157: Implement new JDO 2 query tests cases concerning keywords.
Files Changed
MODIFY /incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema.sql
ADD /incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/query/package-derby.orm
ADD /incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/query/package.jdo
ADD /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/keywords/SingleString.java
ADD /incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/query
ADD /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/result/classes
ADD /incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/query/package-derby.orm
ADD /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/keywords/InvalidUseOfKeywords.java
ADD /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/query/JDOQLKeywordsAsFieldNames.java
ADD /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/result/classes/FullName.java
MODIFY /incubator/jdo/trunk/tck20/project.properties
ADD /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/keywords/KeywordsAsFieldNames.java
ADD /incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/query
ADD /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/query
MODIFY /incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema.sql
ADD /incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/query
ADD /incubator/jdo/trunk/tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/query/package.jdo
MODIFY /incubator/jdo/trunk/tck20/test/conf/alltests.conf
ADD /incubator/jdo/trunk/tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/query
ADD /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/keywords/UppercaseLowercase.java