Browse Source

Merge pull request #8879 from izeye:polish-20170411

* pr/8879:
  Polish
pull/8650/merge
Stephane Nicoll 9 years ago
parent
commit
ad8b671b3c
  1. 2
      spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
  2. 2
      spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTypeExcludeFilter.java

2
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

@ -5733,7 +5733,7 @@ A list of the auto-configuration that is enabled by `@DataMongoTest` can be @@ -5733,7 +5733,7 @@ A list of the auto-configuration that is enabled by `@DataMongoTest` can be
[[boot-features-testing-spring-boot-applications-testing-autoconfigured-neo4j-test]]
==== Auto-configured Data Neo4j tests
`@DataNeo4jTest` can be used if you want to test Neo4j applications. By default, it will
use an in-memory embedded Neo4j (if the embedded driver is available), scan for
use an in-memory embedded Neo4j (if the embedded driver is available), scan for
`@NodeEntity` classes and configure Spring Data Neo4j repositories. Regular `@Component`
beans will not be loaded into the `ApplicationContext`:

2
spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTypeExcludeFilter.java

@ -33,7 +33,7 @@ class DataNeo4jTypeExcludeFilter extends AnnotationCustomizableTypeExcludeFilter @@ -33,7 +33,7 @@ class DataNeo4jTypeExcludeFilter extends AnnotationCustomizableTypeExcludeFilter
private final DataNeo4jTest annotation;
DataNeo4jTypeExcludeFilter(final Class<?> testClass) {
DataNeo4jTypeExcludeFilter(Class<?> testClass) {
this.annotation = AnnotatedElementUtils.getMergedAnnotation(testClass,
DataNeo4jTest.class);
}

Loading…
Cancel
Save