throws Exception
{
JBossXBTestDelegate xbdelegate = (JBossXBTestDelegate) super.getDelegate();
xbdelegate.setValidateSchema(false);
long start = System.currentTimeMillis();
EjbJarMetaData specMetaData = unmarshal("EjbJar21Everything_testEverything.xml", EjbJar21MetaData.class, null);
long end = System.currentTimeMillis();
getLog().info("EjbJar21Everything_testEverything.xml parse time = "+(end - start));
JBoss50DTDMetaData stdMetaData = unmarshal("JBoss5xEverything_testStandard.xml", JBoss50DTDMetaData.class, null);
long end2 = System.currentTimeMillis();
getLog().info("JBoss5xEverything_testStandard.xml parse time = "+(end2 - end));
JBoss50DTDMetaData jbossMetaData = unmarshal("JBoss5xEverything_testEverythingDTD.xml", JBoss50DTDMetaData.class, null);
long end3 = System.currentTimeMillis();
getLog().info("JBoss5xEverything_testEverythingDTD.xml parse time = "+(end3 - end2));
//jbossMetaData.setOverridenMetaData(specMetaData);
jbossMetaData.merge(null, specMetaData);
JBossMetaDataWrapper wrapper = new JBossMetaDataWrapper(jbossMetaData, stdMetaData);
// Validate version info
assertEquals("2.1", specMetaData.getVersion());
assertEquals("2.1", wrapper.getEjbVersion());
// Test the unified metadata
InvokerProxyBindingsMetaData bindings = wrapper.getInvokerProxyBindings();
JBossEnterpriseBeansMetaData beans = wrapper.getEnterpriseBeans();