public class MultiDriverTestClass extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.neo4j.ogm.driver.Driver |
driver |
protected static SessionFactory |
sessionFactory |
| Constructor and Description |
|---|
MultiDriverTestClass() |
| Modifier and Type | Method and Description |
|---|---|
static org.neo4j.ogm.config.Configuration.Builder |
getBaseConfiguration() |
static org.neo4j.graphdb.GraphDatabaseService |
getGraphDatabaseService() |
protected static boolean |
isEnterpriseEdition()
Use this to limit if the test should execute only on enterprise edition
|
protected static boolean |
isVersionOrGreater(String version)
Use this to limit if the test should execute on certain version
|
static void |
setupMultiDriverTestEnvironment() |
protected static SessionFactory sessionFactory
protected static org.neo4j.ogm.driver.Driver driver
public static void setupMultiDriverTestEnvironment()
public static org.neo4j.ogm.config.Configuration.Builder getBaseConfiguration()
public static org.neo4j.graphdb.GraphDatabaseService getGraphDatabaseService()
protected static boolean isEnterpriseEdition()
In @BeforeClass or @Before method
assumeTrue(isEnterpriseEdition());
protected static boolean isVersionOrGreater(String version)
version - version, e.g. 3.2.0Copyright © 2015–2019 Neo Technology, Inc.. All rights reserved.