db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JDO-304) Query failure should print the query that failed in addition to the expected and actual results
Date Tue, 21 Feb 2006 17:42:43 GMT
     [ http://issues.apache.org/jira/browse/JDO-304?page=all ]
     
Craig Russell resolved JDO-304:
-------------------------------

    Resolution: Fixed
     Assign To: Craig Russell

svn commit -m "JDO-304 updated query checking to include query filter"
Sending        query/api/CompileQuery.java
Sending        query/api/DeclareImports.java
Sending        query/api/DeclareParameters.java
Sending        query/api/ExecuteQuery.java
Sending        query/api/ExecuteQueryWithArray.java
Sending        query/api/ExecuteQueryWithMap.java
Sending        query/api/NewQueryFromRestoredSerializedQuery.java
Sending        query/api/NewQueryWithCandidateClassAndFilter.java
Sending        query/api/NewQueryWithCandidateClassCollectionFilter.java
Sending        query/api/NewQueryWithExtentAndFilter.java
Sending        query/api/SetFilter.java
Sending        query/jdoql/MultipleActiveQueryInstanceInSamePersistenceManager.java
Sending        query/jdoql/MultipleIdenticalImports.java
Sending        query/jdoql/OrderingSpecification.java
Sending        query/jdoql/ParenthesesMarkOperatorPrecedence.java
Sending        query/jdoql/QueryResultPassedToAnotherQuery.java
Sending        query/jdoql/WhiteSpaceIsACharacterAndIgnored.java
Sending        query/jdoql/keywords/UseOfThisToAcessHiddenField.java
Sending        query/jdoql/parameters/ParameterDeclaredWithSameNameAsFieldOfCandidateClass.java
Transmitting file data ...................
Committed revision 379541.


> Query failure should print the query that failed in addition to the expected and actual
results
> -----------------------------------------------------------------------------------------------
>
>          Key: JDO-304
>          URL: http://issues.apache.org/jira/browse/JDO-304
>      Project: JDO
>         Type: Improvement
>   Components: tck20
>     Versions: JDO 2 beta
>     Reporter: Craig Russell
>     Assignee: Craig Russell
>     Priority: Minor
>      Fix For: JDO 2 rc1
>  Attachments: Query.patch, QueryTest.patch
>
> The failure message doesn't contain the failing query:
>     [java] There were 2 failures:
>     [java] 1) testNoNavigation(org.apache.jdo.tck.query.result.VariableInResult)junit.framework.AssertionFailedError:
Assertion A14.6.9-3 (VariableInResult) failed: 
>     [java] Wrong query result: 
>     [java] expected: [Project(1, name orange, budget 2500000.99), Project(1, name orange,
budget 2500000.99), Project(1, name orange, budget 2500000.99)]
>     [java] got:      [Project(1, name orange, budget 2500000.99)]

-- 
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


Mime
View raw message