The xml-test resources should be combined with the normal resources.
However, currently the tests add xml-test to the resource name to retrieve.
org.jboss.test.kernel.dependency.test.OldAbstractKernelDependencyTest
| protected void deploy(int number) throws Throwable
| {
| String packageName = Classes.getPackageName(getClass());
| packageName = packageName.replace('.', '/');
| String name = "/xml-test/" + packageName + '/' + getName() +
number + ".xml";
| getLog().debug("Using " + name);
| URL url = getResource(name);
| if (url == null)
| throw new RuntimeException("Resource not found: " + name);
| getLog().debug("url=" + url);
| util.deploy(url);
| }
|
In fact, as the name suggests, the tests need updating to the "new" abstract
test case.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034054#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...