DATACMNS-993 - Clean up class loader hacking in tests.
ClassLoaderRule with @ClassLoaderConfiguration allows easy creation FilteringClassLoader. Changed usage pattern of ClassUtils.isPresent(…) in order to ease testing. Copied the ShadowingClassloader from SpringFramework to get a constructor that doesn't shadow anything by default. Original pull request: #202.
This commit is contained in:
committed by
Oliver Gierke
parent
3ede64f982
commit
81ea579cd7
2
pom.xml
2
pom.xml
@@ -231,7 +231,7 @@
|
||||
<goal>test-process</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.directory}/generated-sources/test-annotations</outputDirectory>
|
||||
<outputDirectory>${project.build.directory}/generated-test-sources/test-annotations</outputDirectory>
|
||||
<processor>com.querydsl.apt.QuerydslAnnotationProcessor</processor>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
Reference in New Issue
Block a user