DATAGRAPH-625 - Removed obsolete redeclaration of test execution listeners from REST module.
This is required to run the test cases on Spring 4.1.
This commit is contained in:
@@ -36,7 +36,6 @@ import org.springframework.test.context.transaction.TransactionalTestExecutionLi
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(locations = {"classpath:org/springframework/data/neo4j/aspects/support/Neo4jGraphPersistenceTests-context.xml",
|
||||
"classpath:RestTests-context.xml"})
|
||||
@TestExecutionListeners({CleanContextCacheTestExecutionListener.class, DependencyInjectionTestExecutionListener.class, TransactionalTestExecutionListener.class})
|
||||
public class RestFinderTests extends FinderTests {
|
||||
|
||||
@BeforeClass
|
||||
|
||||
@@ -38,7 +38,6 @@ import org.springframework.test.context.transaction.TransactionalTestExecutionLi
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(locations = {"classpath:org/springframework/data/neo4j/aspects/support/Neo4jGraphPersistenceTests-context.xml",
|
||||
"classpath:RestTests-context.xml"})
|
||||
@TestExecutionListeners({CleanContextCacheTestExecutionListener.class, DependencyInjectionTestExecutionListener.class, TransactionalTestExecutionListener.class})
|
||||
public class RestGraphRepositoryTests extends GraphRepositoryTests {
|
||||
|
||||
@BeforeClass
|
||||
|
||||
@@ -49,7 +49,6 @@ import static org.junit.Assert.assertFalse;
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(locations = {"classpath:org/springframework/data/neo4j/aspects/support/Neo4jGraphPersistenceTests-context.xml",
|
||||
"classpath:RestTests-context.xml"})
|
||||
@TestExecutionListeners({CleanContextCacheTestExecutionListener.class, DependencyInjectionTestExecutionListener.class, TransactionalTestExecutionListener.class})
|
||||
public class RestNodeEntityRelationshipTests extends NodeEntityRelationshipTests {
|
||||
|
||||
@BeforeClass
|
||||
|
||||
@@ -36,7 +36,6 @@ import org.springframework.test.context.transaction.TransactionalTestExecutionLi
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(locations = {"classpath:org/springframework/data/neo4j/aspects/support/Neo4jGraphPersistenceTests-context.xml",
|
||||
"classpath:RestTests-context.xml"})
|
||||
@TestExecutionListeners({CleanContextCacheTestExecutionListener.class, DependencyInjectionTestExecutionListener.class, TransactionalTestExecutionListener.class})
|
||||
public class RestNodeEntityTests extends NodeEntityTests {
|
||||
|
||||
@BeforeClass
|
||||
|
||||
@@ -36,7 +36,6 @@ import org.springframework.test.context.transaction.TransactionalTestExecutionLi
|
||||
@RunWith( SpringJUnit4ClassRunner.class )
|
||||
@ContextConfiguration( locations = {"classpath:org/springframework/data/neo4j/aspects/support/Neo4jGraphPersistenceTests-context.xml",
|
||||
"classpath:RestTests-context.xml"} )
|
||||
@TestExecutionListeners( {CleanContextCacheTestExecutionListener.class, DependencyInjectionTestExecutionListener.class, TransactionalTestExecutionListener.class} )
|
||||
public class RestTraversalTests extends TraversalTests
|
||||
{
|
||||
|
||||
|
||||
@@ -41,7 +41,6 @@ import org.springframework.test.context.transaction.TransactionalTestExecutionLi
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(locations = {"classpath:org/springframework/data/neo4j/aspects/support/Neo4jGraphPersistenceTests-context.xml",
|
||||
"classpath:RestTests-context.xml"})
|
||||
@TestExecutionListeners({CleanContextCacheTestExecutionListener.class, DependencyInjectionTestExecutionListener.class, TransactionalTestExecutionListener.class})
|
||||
public class RestQueryEngineTests extends QueryEngineTests {
|
||||
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user