[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Annotation Tests in deployers-vfs
alesj
do-not-reply at jboss.com
Tue Jun 10 05:41:13 EDT 2008
"adrian at jboss.org" wrote : "alesj" wrote : "adrian at jboss.org" wrote : The annotation tests in deployers-vfs are failing for me under eclipse.
| | Do you still get failing tests under eclipse?
|
| Yep. One of them is fixed but the other still fails:
|
|
| | junit.framework.AssertionFailedError: Expected [appc.jar, ejbs.jar, web.jar, services.jar] got [] expected:<4> but was:<0>
| | at junit.framework.Assert.fail(Assert.java:47)
| | at junit.framework.Assert.failNotEquals(Assert.java:277)
| | at junit.framework.Assert.assertEquals(Assert.java:64)
| | at junit.framework.Assert.assertEquals(Assert.java:195)
| | at org.jboss.test.deployers.vfs.structure.AbstractStructureTest.assertChildContexts(AbstractStructureTest.java:79)
| | at org.jboss.test.deployers.vfs.structure.ear.test.EARStructureUnitTestCase.testEARAnnotationScanning(EARStructureUnitTestCase.java:143)
| |
What about now?
I've changed to use string as annotation classname, which means it will be loaded via unit's classloader - which should then definitely match annotation on the test class.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156951#4156951
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156951
More information about the jboss-dev-forums
mailing list