Class org.springframework.scheduling.annotation.EnableAsyncTests

13

tests

0

failures

0

ignored

2.751s

duration

100%

successful

Tests

Test Duration Result
aspectModeAspectJAttemptsToRegisterAsyncAspect 0.003s passed
asyncProcessorIsOrderedLowestPrecedenceByDefault 0.006s passed
customAsyncAnnotationIsPropagated 0.021s passed
customExecutorBean 0.522s passed
customExecutorConfig 1.024s passed
findOnInterfaceWithCglibProxy 0.517s passed
findOnInterfaceWithInterfaceProxy 0.518s passed
orderAttributeIsPropagated 0.022s passed
properExceptionForExistingProxyDependencyMismatch 0.006s passed
properExceptionForResolvedProxyDependencyMismatch 0.027s passed
proxyingOccurs 0.011s passed
proxyingOccursWithMockitoStub 0.039s passed
withAsyncBeanWithExecutorQualifiedByName 0.035s passed

Standard output

16:46:01.291 [Test worker] WARN  org.springframework.context.annotation.AnnotationConfigApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'enableAsyncTests.AsyncBeanUser': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'asyncBean' is expected to be of type 'org.springframework.scheduling.annotation.EnableAsyncTests$AsyncBean' but was actually of type 'com.sun.proxy.$Proxy212'
16:46:02.319 [Test worker] WARN  org.springframework.context.annotation.AnnotationConfigApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [org.springframework.scheduling.annotation.EnableAsyncTests$AspectJAsyncAnnotationConfig]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/scheduling/aspectj/AspectJAsyncConfiguration.class] cannot be opened because it does not exist
16:46:02.343 [Test worker] WARN  org.springframework.context.annotation.AnnotationConfigApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'enableAsyncTests.AsyncBeanUser': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'asyncBean' is expected to be of type 'org.springframework.scheduling.annotation.EnableAsyncTests$AsyncBean' but was actually of type 'com.sun.proxy.$Proxy212'