[jboss-dev-forums] [Design of JBossXB] - Re: Problem with Collection of Enum

scott.stark@jboss.org do-not-reply at jboss.com
Sat Nov 3 12:02:43 EDT 2007


Turns out this is not complete yet. The array passed in is an array of string, not the DispatcherType enum. I updated the WebApp5EverythingUnitTestCase so that its failing because of this:


  | junit.framework.AssertionFailedError: expected:<FORWARD> but was:<FORWARD>
  | 	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:71)
  | 	at org.jboss.test.metadata.web.WebApp5EverythingUnitTestCase.assertFilterMappings(WebApp5EverythingUnitTestCase.java:195)
  | 	at org.jboss.test.metadata.web.WebApp5EverythingUnitTestCase.assertEverything(WebApp5EverythingUnitTestCase.java:92)
  | 	at org.jboss.test.metadata.web.WebApp5EverythingUnitTestCase.testEverything(WebApp5EverythingUnitTestCase.java:75)
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101531#4101531

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101531



More information about the jboss-dev-forums mailing list