java.lang.Object | |||||||||||
↳ | junit.framework.Assert | ||||||||||
↳ | junit.framework.TestCase | ||||||||||
↳ | org.springframework.test.ConditionalTestCase | ||||||||||
↳ | org.springframework.test.AbstractSpringContextTests | ||||||||||
↳ | org.springframework.test.AbstractSingleSpringContextTests | ||||||||||
↳ | org.springframework.test.AbstractDependencyInjectionSpringContextTests | ||||||||||
↳ | org.springframework.test.AbstractTransactionalSpringContextTests | ||||||||||
↳ | org.springframework.test.AbstractTransactionalDataSourceSpringContextTests | ||||||||||
↳ | org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests | ||||||||||
↳ | org.springframework.test.jpa.AbstractJpaTests | ||||||||||
↳ | org.springframework.test.jpa.AbstractAspectjJpaTests |
This class is deprecated.
as of Spring 3.0, in favor of using the listener-based test context framework
(AbstractJUnit38SpringContextTests
)
Subclass of AbstractJpaTests
that activates AspectJ load-time weaving and
allows for specifying a custom location for AspectJ's aop.xml
file.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | DEFAULT_AOP_XML_LOCATION | Default location of the aop.xml file in the class path:
"META-INF/aop.xml"
|
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.test.AbstractDependencyInjectionSpringContextTests
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Customize the shadowing class loader.
| |||||||||||
Return the actual location of the
aop.xml file
in the class path. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.test.jpa.AbstractJpaTests
| |||||||||||
From class
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests
| |||||||||||
From class
org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
| |||||||||||
From class
org.springframework.test.AbstractTransactionalSpringContextTests
| |||||||||||
From class
org.springframework.test.AbstractDependencyInjectionSpringContextTests
| |||||||||||
From class
org.springframework.test.AbstractSingleSpringContextTests
| |||||||||||
From class
org.springframework.test.AbstractSpringContextTests
| |||||||||||
From class
org.springframework.test.ConditionalTestCase
| |||||||||||
From class
junit.framework.TestCase
| |||||||||||
From class
junit.framework.Assert
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
junit.framework.Test
|
Default location of the aop.xml
file in the class path:
"META-INF/aop.xml"
Customize the shadowing class loader.
shadowingClassLoader | this parameter is actually of type ResourceOverridingShadowingClassLoader, and can safely to be cast to that type. However, the signature must not be of that type as that would cause the present class loader to load that type. |
---|
Return the actual location of the aop.xml
file
in the class path. The default is "META-INF/aop.xml".
Override this method to point to a specific aop.xml
file within your test suite, allowing for different config files
to co-exist within the same class path.