From e9f33446d3aefd0031b31591ae22e59b7605da88 Mon Sep 17 00:00:00 2001 From: "Michael J. Simons" Date: Mon, 19 Nov 2018 17:13:12 +0100 Subject: [PATCH] DATAGRAPH-1151 - Polishing. --- .../neo4j/namedquery/NamedQueryTests.java | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/spring-data-neo4j/src/test/java/org/springframework/data/neo4j/namedquery/NamedQueryTests.java b/spring-data-neo4j/src/test/java/org/springframework/data/neo4j/namedquery/NamedQueryTests.java index 70a04b510..e4c745613 100644 --- a/spring-data-neo4j/src/test/java/org/springframework/data/neo4j/namedquery/NamedQueryTests.java +++ b/spring-data-neo4j/src/test/java/org/springframework/data/neo4j/namedquery/NamedQueryTests.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2017-2018 "Neo4j, Inc." / "Pivotal Software, Inc." + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.springframework.data.neo4j.namedquery; import static org.junit.Assert.*; @@ -5,7 +20,6 @@ import static org.junit.Assert.*; import org.junit.Test; import org.junit.runner.RunWith; import org.neo4j.ogm.session.SessionFactory; -import org.neo4j.ogm.testutil.MultiDriverTestClass; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; @@ -20,10 +34,14 @@ import org.springframework.transaction.PlatformTransactionManager; import org.springframework.transaction.annotation.EnableTransactionManagement; import org.springframework.transaction.annotation.Transactional; +/** + * @author Gerrit Meier + * @author Michael J. Simons + */ @ContextConfiguration(classes = { NamedQueryTests.NamedQueryContext.class }) @RunWith(SpringJUnit4ClassRunner.class) @Transactional -public class NamedQueryTests extends MultiDriverTestClass { +public class NamedQueryTests { private static final String SAMPLE_ENTITY_NAME = "test";