db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@jpox.org
Subject expected test results
Date Sat, 11 Feb 2006 11:09:45 GMT

Hi,

Some expected results need to be reviewed

1) testNavigation(org.apache.jdo.tck.query.result.VariableInResult)

expected: [[1, orange]]
got:      [[1, orange], [1, orange], [1, orange]]

        /*UNIQUE*/      null,
        /*RESULT*/      "p.projid, p.name",
        /*INTO*/        null,
        /*FROM*/        Employee.class,
        /*EXCLUDE*/     null,
        /*WHERE*/       "projects.contains(p) & p.name == 'orange'",
        /*VARIABLES*/   "Project p",
        /*PARAMETERS*/  null,

2) testNoNavigation(org.apache.jdo.tck.query.result.VariableInResult)

expects {Project1}, but I think it should be {Project1, Project1, Project1}
        /*RESULT*/      "p",
        /*INTO*/        null,
        /*FROM*/        Employee.class,
        /*EXCLUDE*/     null,
        /*WHERE*/       "projects.contains(p) & p.name == 'orange'",
        /*VARIABLES*/   "Project p",
        /*PARAMETERS*/  null,

Currently JPOX creates an invalid SQL for the item 2, at least in my local dev
workspace.

Mime
View raw message