public class TestServer extends Object
| Constructor and Description |
|---|
TestServer(boolean enableAuthentication,
boolean enableBolt,
int transactionTimeoutSeconds) |
TestServer(boolean enableAuthentication,
boolean enableBolt,
int transactionTimeoutSeconds,
int port) |
| Modifier and Type | Method and Description |
|---|---|
org.neo4j.graphdb.GraphDatabaseService |
getGraphDatabaseService()
Retrieves the underlying
GraphDatabaseService used in this test. |
String |
getPassword() |
Integer |
getPort() |
String |
getUri() |
String |
getUsername() |
static org.neo4j.harness.TestServerBuilder |
newInProcessBuilder()
Returns TestServerBuilder based on what is present on classpath
|
void |
shutdown()
Stops the underlying server bootstrapper and, in turn, the Neo4j server.
|
void |
startServer() |
public TestServer(boolean enableAuthentication,
boolean enableBolt,
int transactionTimeoutSeconds)
public TestServer(boolean enableAuthentication,
boolean enableBolt,
int transactionTimeoutSeconds,
int port)
public static org.neo4j.harness.TestServerBuilder newInProcessBuilder()
public void startServer()
public void shutdown()
public org.neo4j.graphdb.GraphDatabaseService getGraphDatabaseService()
GraphDatabaseService used in this test.GraphDatabaseServicepublic String getUri()
public Integer getPort()
public String getPassword()
public String getUsername()
Copyright © 2015–2019 Neo Technology, Inc.. All rights reserved.