The tests should be "co-located" with the project's source code. The question that should be answered is where the source code should be. It maybe HEAD, HEAD and Branch_4_0, somewhere else.

Thomas Diesler wrote:
Alex,

Is there a benefit of duplicating jbossxb tests in 4.0.x when we use the
binary drop? If they are not testing integration issues the most
appropriate fix might simply be removing the test from the 4.0.x
testsuite.

Cheers
-thomas



-----Original Message-----
From: Scott M Stark Sent: Wednesday, January 11, 2006 03:46 To: jboss-development@lists.sourceforge.net; Thomas Diesler; Alexey Loubyansky Subject: RE: [JBoss-dev] RE: Sync xml tests with HEAD for use with jboss-xml-binding.jar


One incompatibility is the change of the SchemaBindingResolver method from:

SchemaBinding resolve(String nsUri, String localName, String baseURI, String schemaLocation)

to:

SchemaBinding resolve(String nsUri, String baseURI, String schemaLocation)

I suppose this is a minor issue as this is only showing up in a anonymous testcase specific implementation.

<testcase classname="org.jboss.test.xml.MBeanServerUnitTestCase" name="testMbeanService" time="1.641"> <error message="Failed to parse source" type="org.jboss.xb.binding.JBossXBException">org.jboss.xb.bindi
ng.JBossXBException: Failed to parse source
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBoss
XBParser.java:138)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImp
l.java:129)
at org.jboss.test.xml.MBeanServerUnitTestCase.testMbeanService(MBe
anServerUnitTestCase.java:135)
Caused by: java.lang.UnsupportedOperationException: resolve(String,String,String) was not required in 4.0.3 at org.jboss.test.xml.MBeanServerUnitTestCase$1.resolve(MBeanServe
rUnitTestCase.java:124)
at org.jboss.xb.binding.sunday.unmarshalling.WildcardBinding.getEl ement(WildcardBinding.java:84)





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to