public abstract class SingleDriverTestClass extends Object
MultiDriverTestClass, this facilitates only the Neo4j Test Harness and provides access to
a server through a configured Java driver respectively the embedded instanceof getGraphDatabaseService().ServerVersion of the backing database.| Constructor and Description |
|---|
SingleDriverTestClass() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
databaseSupportJava8TimeTypes() |
protected void |
doWithSessionFactoryOf(org.neo4j.ogm.driver.AbstractConfigurableDriver ogmDriver,
Class[] inBasePackageClasses,
Consumer<SessionFactory> consumerOfSessionFactory) |
org.neo4j.driver.v1.Driver |
getDriver()
Gets a new driver against the server controls.
|
org.neo4j.graphdb.GraphDatabaseService |
getGraphDatabaseService() |
org.neo4j.driver.internal.util.ServerVersion |
getServerVersion()
Opens a driver on the first use to get the servers version.
|
static void |
initializeNeo4j() |
static void |
tearDownNeo4j() |
public static void initializeNeo4j()
public org.neo4j.graphdb.GraphDatabaseService getGraphDatabaseService()
public org.neo4j.driver.v1.Driver getDriver()
public org.neo4j.driver.internal.util.ServerVersion getServerVersion()
public boolean databaseSupportJava8TimeTypes()
protected void doWithSessionFactoryOf(org.neo4j.ogm.driver.AbstractConfigurableDriver ogmDriver,
Class[] inBasePackageClasses,
Consumer<SessionFactory> consumerOfSessionFactory)
public static void tearDownNeo4j()
Copyright © 2015–2019 Neo Technology, Inc.. All rights reserved.