Class org.springframework.context.support.ClassPathXmlApplicationContextTests

20

tests

0

failures

0

ignored

4.427s

duration

100%

successful

Tests

Test Duration Result
testAliasForParentContext 0.007s passed
testAliasThatOverridesEarlierBean 0.008s passed
testAliasThatOverridesParent 0.009s passed
testAliasWithPlaceholder 1.043s passed
testChildWithProxy 0.317s passed
testConfigLocationPattern 0.232s passed
testContextWithClassNameThatContainsPlaceholder 0.014s passed
testContextWithInvalidLazyClass 0.021s passed
testContextWithInvalidValueType 0.025s passed
testFactoryBeanAndApplicationListener 0.213s passed
testGenericApplicationContextWithXmlBeanDefinitions 0.354s passed
testGenericApplicationContextWithXmlBeanDefinitionsAndClassLoaderNull 0.304s passed
testGenericApplicationContextWithXmlBeanDefinitionsAndSpecifiedId 0.157s passed
testMessageSourceAware 0.350s passed
testMultipleConfigLocations 0.799s passed
testMultipleConfigLocationsWithClass 0.216s passed
testResourceAndInputStream 0.028s passed
testResourceArrayPropertyEditor 0.310s passed
testSingleConfigLocation 0.015s passed
testSingleConfigLocationWithClass 0.005s passed

Standard output

16:45:46.577 [Test worker] WARN  org.springframework.context.support.ClassPathXmlApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'someMessageSource' defined in class path resource [org/springframework/context/support/invalidValueType.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'boolean' for property 'useCodeAsDefaultMessage'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [xxx]