[Design the new POJO MicroContainer] - Re: virtualFile.toURL().openStream() does not provide a JarI
by scott.stark@jboss.org
The jbossas tests are passing:
| [616][valkyrie: testsuite]$ ant -Dtest=org.jboss.test.jpa.test.WebClassesEARJPAUnitTestCase one-test
| Buildfile: build.xml
|
| one-test:
| [delete] Deleting: /Users/svn/JBossHead/jboss-head/testsuite/output/log/test.log
| [junit] Running org.jboss.test.jpa.test.WebClassesEARJPAUnitTestCase
| [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.561 sec
|
| BUILD SUCCESSFUL
| Total time: 6 seconds
| [617][valkyrie: testsuite]$ ant -Dtest=org.jboss.test.jpa.test.WebClassesJPAUnitTestCase one-test
| Buildfile: build.xml
|
| one-test:
| [delete] Deleting: /Users/svn/JBossHead/jboss-head/testsuite/output/log/test.log
| [junit] Running org.jboss.test.jpa.test.WebClassesJPAUnitTestCase
| [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.729 sec
|
| BUILD SUCCESSFUL
|
but the tck tests are not. I updated the vfs test, and it is missing a few of the war entries:
| junit.framework.AssertionFailedError: No missing entries: [WEB-INF/jboss-web.xml, META-INF/MANIFEST.MF, WEB-INF/, WEB-INF/web.xml] expected:<0> but was:<4>
| at junit.framework.Assert.fail(Assert.java:47)
| at junit.framework.Assert.failNotEquals(Assert.java:282)
| at junit.framework.Assert.assertEquals(Assert.java:64)
| at junit.framework.Assert.assertEquals(Assert.java:201)
| at org.jboss.test.virtual.test.JARVFSContextUnitTestCase.testWarClassesJarInputStream(JARVFSContextUnitTestCase.java:314)
|
The jpa layer I doubt is looking at these, but I don't know. I need to debug the tck test failure further.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174138#4174138
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174138
15 years, 8 months