From: Cheung, S. (M. GEMS-IT) <Shi...@me...> - 2004-03-10 23:52:36
|
Hi all, Has anyone used JiBX with Hansel? Let's say I want to run coverage test on this class called XmlObject whose bytecode is run through the jibx compiler. public class JunkMeTest extends TestCase { public static Test suite() { return new CoverageDecorator(JunkMeTest.class, new Class[]{XmlObject.class}); } ... } And when I try to run JunkMeTest, it always gives me a ClassCastException. I am speculating that hansel doesn't like the way jibx modifies the bytecode of XmlObject. If anyone could offer any way to resolve this conflict please kindly let me know. Shing |