[Design the new POJO MicroContainer] - Re: Tests don't work in eclipse
by adrian@jboss.org
"alesj" wrote : "adrian(a)jboss.org" wrote :
| | There are three failing tests in kernel which is NOT expected.
| | I suspect these are due to Ales's refactoring?
| |
| What's the error there?
|
This bean should not be installed, it should get a security exception.
| junit.framework.AssertionFailedError: expected:<ControllerState@79e328{**ERROR**}> but was:<ControllerState@307c44{Installed}>
| 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.kernel.controller.test.AccessControlTestCase.testAccessControlContext(AccessControlTestCase.java:57)
|
Looks like classloading dependency is broken?
| java.lang.IllegalStateException: Bean not found cl at state ControllerState@307c44{Installed}
| at org.jboss.test.kernel.junit.MicrocontainerTestDelegate.getControllerContext(MicrocontainerTestDelegate.java:152)
| at org.jboss.test.kernel.junit.MicrocontainerTestDelegate.getBean(MicrocontainerTestDelegate.java:125)
| at org.jboss.test.kernel.junit.MicrocontainerTest.getBean(MicrocontainerTest.java:93)
| at org.jboss.test.kernel.junit.MicrocontainerTest.getBean(MicrocontainerTest.java:80)
| at org.jboss.test.kernel.deployment.test.BeanMetaDataWithClassloaderTestCase.testBeanAsValueMetaData(BeanMetaDataWithClassloaderTestCase.java:48)
|
Some other problem with classloaders?
| java.lang.IllegalStateException: Incompletely deployed:
|
| *** DEPLOYMENTS IN ERROR: Name -> Error
| FactoryBeanConfiguredClassLoader -> java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[org.jboss.kernel.spi.config.KernelConfigurator] actual=[org.jboss.kernel.plugins.config.AbstractKernelConfigurator]
| FactoryDeploymentConfiguredClassLoader -> java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[org.jboss.kernel.spi.config.KernelConfigurator] actual=[org.jboss.kernel.plugins.config.AbstractKernelConfigurator]
|
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:249)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:163)
| at org.jboss.test.kernel.junit.MicrocontainerTestDelegate.validate(MicrocontainerTestDelegate.java:180)
| at org.jboss.test.kernel.junit.MicrocontainerTest.validate(MicrocontainerTest.java:191)
| at org.jboss.test.kernel.deployment.test.DeploymentClassLoaderTestCase.testDeploymentClassLoader(DeploymentClassLoaderTestCase.java:51)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034013#4034013
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034013
18 years, 8 months
[Design the new POJO MicroContainer] - Re: Tests don't work in eclipse
by Kevin.Conner@jboss.com
"adrian(a)jboss.org" wrote : The spring-int tests are all broken due to resources not found,
| so there is something wrong there.
Okay, will check these now
"adrian(a)jboss.org" wrote : Maven is telling a different story, e.g. for the container project
|
| | Tests in error:
| | testConfigure20(org.jboss.test.javabean.test.PropertyTestCase)
| | testConfigure20WithCtor(org.jboss.test.javabean.test.PropertyTestCase)
| | testConfigure20WithCtorFactory(org.jboss.test.javabean.test.PropertyTestCase)
| | testConfigure20WithCtorExplicitFactoryClass(org.jboss.test.javabean.test.PropertyTestCase)
| | testConfigure20WithCtorExplicitFactoryClassAndParams(org.jboss.test.javabean.test.PropertyTestCase)
| |
| | Tests run: 679, Failures: 0, Errors: 5, Skipped: 0
| |
Will check this afterwards.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034006#4034006
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034006
18 years, 8 months