You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michelle Caisse (JIRA)" <ji...@apache.org> on 2007/07/03 01:21:04 UTC
[jira] Created: (JDO-504) Completeness test with 1-many
relationships fails with annotations
Completeness test with 1-many relationships fails with annotations
------------------------------------------------------------------
Key: JDO-504
URL: https://issues.apache.org/jira/browse/JDO-504
Project: JDO
Issue Type: Bug
Components: tck2
Affects Versions: JDO 2 maintenance release 1
Reporter: Michelle Caisse
Assignee: Andy Jefferson
maven -Djdo.tck.cfglist=companyFCAnnotated1-MRelationships.conf runtck.jdori
[java] There was 1 failure:
[java] 1) test(org.apache.jdo.tck.mapping.CompletenessTest)junit.framework.AssertionFailedError: CompletenessTest failed; see list of failures below:
[java] Expected this instance:
[java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
[java] Got persistent instance:
[java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
[java] Detailed list of differences follows...
[java] Context: Company<1>.departments
[java] Size mismatch: expected size= 2, original size= 0, current size= 0, counted size= 0
[java] expected '[Department(1, name Development), Department(2, name HumanResources)]'
[java] actual '[]'
[java]
[java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:639)
[java] at org.apache.jdo.tck.mapping.CompletenessTest.test(CompletenessTest.java:124)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
[java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
[java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
[java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JDO-504) Completeness test with 1-many
relationships fails with annotations
Posted by "Andy Jefferson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509933 ]
Andy Jefferson commented on JDO-504:
------------------------------------
Thx, enhances now.
> Completeness test with 1-many relationships fails with annotations
> ------------------------------------------------------------------
>
> Key: JDO-504
> URL: https://issues.apache.org/jira/browse/JDO-504
> Project: JDO
> Issue Type: Bug
> Components: tck2
> Affects Versions: JDO 2 maintenance release 1
> Reporter: Michelle Caisse
> Assignee: Andy Jefferson
>
> maven -Djdo.tck.cfglist=companyFCAnnotated1-MRelationships.conf runtck.jdori
> [java] There was 1 failure:
> [java] 1) test(org.apache.jdo.tck.mapping.CompletenessTest)junit.framework.AssertionFailedError: CompletenessTest failed; see list of failures below:
> [java] Expected this instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Got persistent instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Detailed list of differences follows...
> [java] Context: Company<1>.departments
> [java] Size mismatch: expected size= 2, original size= 0, current size= 0, counted size= 0
> [java] expected '[Department(1, name Development), Department(2, name HumanResources)]'
> [java] actual '[]'
> [java]
> [java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:639)
> [java] at org.apache.jdo.tck.mapping.CompletenessTest.test(CompletenessTest.java:124)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JDO-504) Completeness test with 1-many
relationships fails with annotations
Posted by "Andy Jefferson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509950 ]
Andy Jefferson commented on JDO-504:
------------------------------------
My environment is Linux, Maven 1.0.2, tcsh, JVM 1.5.0_11 and wildcards are definitely not expanded with the code in maven.xml
Back to the reported issue, fixed in JPOX CVS (and almost certainly the same as the M-N/All tests issue)
Next things I noticed as far as I took it :-
1. src/java/org/apache/jdo/tck/pc/companyAnnotatedDS/FCEmployee.java
has field "hradvisees" annotated with a mapped-by of "hradvisors" whereas it should be "hradvisor".
2. src/java/org/apache/jdo/tck/pc/companyAnnotatedDS/FCProject.java
doesnt define the @JoinTable name for the join tables so schema mapping issues then appear.
I'll look at running the JPOX nightly build soon so you have something to test with - depends how SourceForge is feeling how quick it gets run
> Completeness test with 1-many relationships fails with annotations
> ------------------------------------------------------------------
>
> Key: JDO-504
> URL: https://issues.apache.org/jira/browse/JDO-504
> Project: JDO
> Issue Type: Bug
> Components: tck2
> Affects Versions: JDO 2 maintenance release 1
> Reporter: Michelle Caisse
> Assignee: Andy Jefferson
>
> maven -Djdo.tck.cfglist=companyFCAnnotated1-MRelationships.conf runtck.jdori
> [java] There was 1 failure:
> [java] 1) test(org.apache.jdo.tck.mapping.CompletenessTest)junit.framework.AssertionFailedError: CompletenessTest failed; see list of failures below:
> [java] Expected this instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Got persistent instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Detailed list of differences follows...
> [java] Context: Company<1>.departments
> [java] Size mismatch: expected size= 2, original size= 0, current size= 0, counted size= 0
> [java] expected '[Department(1, name Development), Department(2, name HumanResources)]'
> [java] actual '[]'
> [java]
> [java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:639)
> [java] at org.apache.jdo.tck.mapping.CompletenessTest.test(CompletenessTest.java:124)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JDO-504) Completeness test with 1-many
relationships fails with annotations
Posted by "Andy Jefferson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Jefferson resolved JDO-504.
--------------------------------
Resolution: Fixed
Fix Version/s: JDO 2 maintenance release 1
Passes with the patches in JDO-403 and JPOX CVS HEAD
> Completeness test with 1-many relationships fails with annotations
> ------------------------------------------------------------------
>
> Key: JDO-504
> URL: https://issues.apache.org/jira/browse/JDO-504
> Project: JDO
> Issue Type: Bug
> Components: tck2
> Affects Versions: JDO 2 maintenance release 1
> Reporter: Michelle Caisse
> Assignee: Andy Jefferson
> Fix For: JDO 2 maintenance release 1
>
>
> maven -Djdo.tck.cfglist=companyFCAnnotated1-MRelationships.conf runtck.jdori
> [java] There was 1 failure:
> [java] 1) test(org.apache.jdo.tck.mapping.CompletenessTest)junit.framework.AssertionFailedError: CompletenessTest failed; see list of failures below:
> [java] Expected this instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Got persistent instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Detailed list of differences follows...
> [java] Context: Company<1>.departments
> [java] Size mismatch: expected size= 2, original size= 0, current size= 0, counted size= 0
> [java] expected '[Department(1, name Development), Department(2, name HumanResources)]'
> [java] actual '[]'
> [java]
> [java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:639)
> [java] at org.apache.jdo.tck.mapping.CompletenessTest.test(CompletenessTest.java:124)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JDO-504) Completeness test with 1-many
relationships fails with annotations
Posted by "Andy Jefferson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509908 ]
Andy Jefferson commented on JDO-504:
------------------------------------
> The enhancement definitely happens
Really? Invoking "maven -o -Djdo.tck.identitytypes=datastoreidentity runtck.jdori" gives
[java] JPOX Enhancer : Using ClassEnhancer "BCEL" for API "JDO"
[java]
[java] Input file "org/apache/jdo/tck/pc/companyAnnotatedApp/FC*.class" doesnt exist!
[java] Input file "org/apache/jdo/tck/pc/companyAnnotatedDS/FC*.class" doesnt exist!
[java] JPOX Enhancer : Input Files
[java] >> package.jdo
[java] >> org/apache/jdo/tck/api/instancecallbacks/package.jdo
[java] >> org/apache/jdo/tck/pc/company/package.jdo
[java] >> org/apache/jdo/tck/pc/companyMapWithoutJoin/package.jdo
[java] >> org/apache/jdo/tck/pc/companyListWithoutJoin/package.jdo
[java] >> org/apache/jdo/tck/pc/order/package.jdo
[java] >> org/apache/jdo/tck/pc/fieldtypes/*.jdo
[java] >> org/apache/jdo/tck/pc/inheritance/package.jdo
[java] >> org/apache/jdo/tck/pc/instancecallbacks/package.jdo
[java] >> org/apache/jdo/tck/pc/lifecycle/StateTransitionObj.jdo
[java] >> org/apache/jdo/tck/pc/mylib/package.jdo
[java] >> org/apache/jdo/tck/pc/mylib/PCClass.jdo
[java] >> org/apache/jdo/tck/pc/newInstance/Address.jdo
[java] >> org/apache/jdo/tck/pc/newInstance/AAddress.jdo
[java] >> org/apache/jdo/tck/pc/newInstance/IAddress.jdo
[java] >> org/apache/jdo/tck/pc/query/package.jdo
[java] >> org/apache/jdo/tck/pc/singlefieldidentity/package.jdo
[java] >> org/apache/jdo/tck/pc/shoppingcart/package.jdo
[java] >> org/apache/jdo/tck/package.jdo
[java] >> org/apache/jdo/tck/pc/companyAnnotatedApp/FC*.class
[java] >> org/apache/jdo/tck/pc/companyAnnotatedDS/FC*.class
[java]
[java] An error was encountered reading the specified input files. Please consult the log for details. The following may help : Errors were encountered when loading the specified MetaData files and classes. See the nested exceptions for details
[java] Exception in thread "main" Errors were encountered when loading the specified MetaData files and classes. See the nested exceptions for details
[java] org.jpox.exceptions.JPOXUserException: Errors were encountered when loading the specified MetaData files and classes. See the nested exceptions for details
[java] at org.jpox.metadata.MetaDataManager.initialise(MetaDataManager.java:297)
[java] at org.jpox.enhancer.JPOXEnhancer.getFileMetaDataForInput(JPOXEnhancer.java:716)
[java] at org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:531)
[java] Caused by: org.jpox.exceptions.JPOXException: Error opening the Meta-Data file "file:org/apache/jdo/tck/pc/fieldtypes/*.jdo"
[java] at org.jpox.metadata.MetaDataParser.parseMetaDataURL(MetaDataParser.java:119)
[java] at org.jpox.metadata.JDOMetaDataManager.parseFile(JDOMetaDataManager.java:184)
[java] at org.jpox.metadata.MetaDataManager.initialise(MetaDataManager.java:232)
> Completeness test with 1-many relationships fails with annotations
> ------------------------------------------------------------------
>
> Key: JDO-504
> URL: https://issues.apache.org/jira/browse/JDO-504
> Project: JDO
> Issue Type: Bug
> Components: tck2
> Affects Versions: JDO 2 maintenance release 1
> Reporter: Michelle Caisse
> Assignee: Andy Jefferson
>
> maven -Djdo.tck.cfglist=companyFCAnnotated1-MRelationships.conf runtck.jdori
> [java] There was 1 failure:
> [java] 1) test(org.apache.jdo.tck.mapping.CompletenessTest)junit.framework.AssertionFailedError: CompletenessTest failed; see list of failures below:
> [java] Expected this instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Got persistent instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Detailed list of differences follows...
> [java] Context: Company<1>.departments
> [java] Size mismatch: expected size= 2, original size= 0, current size= 0, counted size= 0
> [java] expected '[Department(1, name Development), Department(2, name HumanResources)]'
> [java] actual '[]'
> [java]
> [java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:639)
> [java] at org.apache.jdo.tck.mapping.CompletenessTest.test(CompletenessTest.java:124)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JDO-504) Completeness test with 1-many
relationships fails with annotations
Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509919 ]
Michelle Caisse commented on JDO-504:
-------------------------------------
Okay, do an svn update, delete your enhanced classes, and run again.
> Completeness test with 1-many relationships fails with annotations
> ------------------------------------------------------------------
>
> Key: JDO-504
> URL: https://issues.apache.org/jira/browse/JDO-504
> Project: JDO
> Issue Type: Bug
> Components: tck2
> Affects Versions: JDO 2 maintenance release 1
> Reporter: Michelle Caisse
> Assignee: Andy Jefferson
>
> maven -Djdo.tck.cfglist=companyFCAnnotated1-MRelationships.conf runtck.jdori
> [java] There was 1 failure:
> [java] 1) test(org.apache.jdo.tck.mapping.CompletenessTest)junit.framework.AssertionFailedError: CompletenessTest failed; see list of failures below:
> [java] Expected this instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Got persistent instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Detailed list of differences follows...
> [java] Context: Company<1>.departments
> [java] Size mismatch: expected size= 2, original size= 0, current size= 0, counted size= 0
> [java] expected '[Department(1, name Development), Department(2, name HumanResources)]'
> [java] actual '[]'
> [java]
> [java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:639)
> [java] at org.apache.jdo.tck.mapping.CompletenessTest.test(CompletenessTest.java:124)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JDO-504) Completeness test with 1-many
relationships fails with annotations
Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509944 ]
Michelle Caisse commented on JDO-504:
-------------------------------------
Just for the record, I reconfirmed that enhancement does work on my system (windows, cygwin bash, maven 1.0.2, java 1.6.0_01...) when using wildcards within jdo.tck.jdometadata.files, the list of input files argument to the enhancer.
> Completeness test with 1-many relationships fails with annotations
> ------------------------------------------------------------------
>
> Key: JDO-504
> URL: https://issues.apache.org/jira/browse/JDO-504
> Project: JDO
> Issue Type: Bug
> Components: tck2
> Affects Versions: JDO 2 maintenance release 1
> Reporter: Michelle Caisse
> Assignee: Andy Jefferson
>
> maven -Djdo.tck.cfglist=companyFCAnnotated1-MRelationships.conf runtck.jdori
> [java] There was 1 failure:
> [java] 1) test(org.apache.jdo.tck.mapping.CompletenessTest)junit.framework.AssertionFailedError: CompletenessTest failed; see list of failures below:
> [java] Expected this instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Got persistent instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Detailed list of differences follows...
> [java] Context: Company<1>.departments
> [java] Size mismatch: expected size= 2, original size= 0, current size= 0, counted size= 0
> [java] expected '[Department(1, name Development), Department(2, name HumanResources)]'
> [java] actual '[]'
> [java]
> [java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:639)
> [java] at org.apache.jdo.tck.mapping.CompletenessTest.test(CompletenessTest.java:124)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JDO-504) Completeness test with 1-many
relationships fails with annotations
Posted by "Andy Jefferson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509757 ]
Andy Jefferson commented on JDO-504:
------------------------------------
Well before you get to that test, how exactly do they get enhanced ? since the JDO2 TCK fails to pass in valid input to enhancement. It passes in
org/apache/jdo/tck/pc/fieldtypes/*.jdo
org/apache/jdo/tck/pc/companyAnnotatedApp/FC*.class
org/apache/jdo/tck/pc/companyAnnotatedDS/FC*.class
which are invalid. I would expect your input processing in Maven1 to expand these to what JPOX enhancer is expecting
> Completeness test with 1-many relationships fails with annotations
> ------------------------------------------------------------------
>
> Key: JDO-504
> URL: https://issues.apache.org/jira/browse/JDO-504
> Project: JDO
> Issue Type: Bug
> Components: tck2
> Affects Versions: JDO 2 maintenance release 1
> Reporter: Michelle Caisse
> Assignee: Andy Jefferson
>
> maven -Djdo.tck.cfglist=companyFCAnnotated1-MRelationships.conf runtck.jdori
> [java] There was 1 failure:
> [java] 1) test(org.apache.jdo.tck.mapping.CompletenessTest)junit.framework.AssertionFailedError: CompletenessTest failed; see list of failures below:
> [java] Expected this instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Got persistent instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Detailed list of differences follows...
> [java] Context: Company<1>.departments
> [java] Size mismatch: expected size= 2, original size= 0, current size= 0, counted size= 0
> [java] expected '[Department(1, name Development), Department(2, name HumanResources)]'
> [java] actual '[]'
> [java]
> [java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:639)
> [java] at org.apache.jdo.tck.mapping.CompletenessTest.test(CompletenessTest.java:124)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JDO-504) Completeness test with 1-many
relationships fails with annotations
Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509895 ]
Michelle Caisse commented on JDO-504:
-------------------------------------
Perhaps it is maven that is doing the expansion. I tried both listing all the files and using the * and didn't see any difference. It wasn't until the end of the testing cycle just before check-in that I switched to using the *. The enhancement definitely happens.
> Completeness test with 1-many relationships fails with annotations
> ------------------------------------------------------------------
>
> Key: JDO-504
> URL: https://issues.apache.org/jira/browse/JDO-504
> Project: JDO
> Issue Type: Bug
> Components: tck2
> Affects Versions: JDO 2 maintenance release 1
> Reporter: Michelle Caisse
> Assignee: Andy Jefferson
>
> maven -Djdo.tck.cfglist=companyFCAnnotated1-MRelationships.conf runtck.jdori
> [java] There was 1 failure:
> [java] 1) test(org.apache.jdo.tck.mapping.CompletenessTest)junit.framework.AssertionFailedError: CompletenessTest failed; see list of failures below:
> [java] Expected this instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Got persistent instance:
> [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952)
> [java] Detailed list of differences follows...
> [java] Context: Company<1>.departments
> [java] Size mismatch: expected size= 2, original size= 0, current size= 0, counted size= 0
> [java] expected '[Department(1, name Development), Department(2, name HumanResources)]'
> [java] actual '[]'
> [java]
> [java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:639)
> [java] at org.apache.jdo.tck.mapping.CompletenessTest.test(CompletenessTest.java:124)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.