db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karan Malhi <karan.ma...@gmail.com>
Subject Re: [jira] Updated: (JDO-304) Query failure should print the query that failed in addition to the expected and actual results
Date Mon, 13 Feb 2006 14:01:04 GMT
Michael:

I had applied both the patches which craig had attached to the issue. I did
not update my local copy. Probably that wouldve caused it.

On 2/13/06, Michael Bouschen <mbo.tech@spree.de> wrote:
>
> Hi Karan,
>
> I tried the patch and it works on my side. I'm confused that you are
> getting a NoSuchMethodErrors and not a compile error. Did you update
> your workspace (svn update)? Craig already checked in part one of the
> fix for JDO-304 which adds an overloaded version of the QueryTest methods.
>
> Regards Michael
>
> > I still get 14 NoSuchMethodErrors
> >
> > On 2/12/06, Craig Russell (JIRA) <jira@apache.org> wrote:
> >
> >>     [ http://issues.apache.org/jira/browse/JDO-304?page=all ]
> >>
> >>Craig Russell updated JDO-304:
> >>------------------------------
> >>
> >>    Attachment: Query.patch
> >>
> >>Please review this patch.
> >>
> >>There were 19 test cases affected by the change. Both versions of the
> >>check methods are available. The version without the filter should only
> be
> >>used if the filter is null. This allows us to avoid updating the other
> test
> >>cases.
> >>
> >>
> >>
> >>
> >>>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
> >>>    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
> >>
> >>
> >
> >
> >
> > --
> > Karan Malhi
> >
>
>
> --
> Michael Bouschen                Tech@Spree Engineering GmbH
> mailto:mbo.tech@spree.de        http://www.tech.spree.de/
> Tel.:++49/30/235 520-33         Buelowstr. 66
> Fax.:++49/30/2175 2012          D-10783 Berlin
>



--
Karan Malhi

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message