"adrian(a)jboss.org" wrote : "alesj" wrote :
"adrian(a)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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...