| Package | Description |
|---|---|
| org.neo4j.harness | |
| org.neo4j.harness.internal | |
| org.neo4j.harness.junit |
| Modifier and Type | Method and Description |
|---|---|
static TestServerBuilder |
TestServerBuilders.newInProcessBuilder()
Create a builder capable of starting an in-process Neo4j instance.
|
static TestServerBuilder |
TestServerBuilders.newInProcessBuilder(File workingDirectory)
Create a builder capable of starting an in-process Neo4j instance, running in the specified directory.
|
TestServerBuilder |
TestServerBuilder.withConfig(org.neo4j.graphdb.config.Setting<?> key,
String value)
Configure the Neo4j instance.
|
TestServerBuilder |
TestServerBuilder.withConfig(String key,
String value) |
TestServerBuilder |
TestServerBuilder.withExtension(String mountPath,
Class<?> extension)
Shortcut for configuring the server to use an unmanaged extension.
|
TestServerBuilder |
TestServerBuilder.withExtension(String mountPath,
String packageName)
Shortcut for configuring the server to find and mount all unmanaged extensions in the given package.
|
TestServerBuilder |
TestServerBuilder.withFixture(File cypherFileOrDirectory)
Data fixtures to inject upon server start.
|
TestServerBuilder |
TestServerBuilder.withFixture(String fixtureStatement)
Data fixture to inject upon server start.
|
| Modifier and Type | Class and Description |
|---|---|
class |
InProcessServerBuilder |
| Modifier and Type | Method and Description |
|---|---|
TestServerBuilder |
InProcessServerBuilder.withConfig(org.neo4j.graphdb.config.Setting<?> key,
String value) |
TestServerBuilder |
InProcessServerBuilder.withConfig(String key,
String value) |
TestServerBuilder |
InProcessServerBuilder.withExtension(String mountPath,
Class<?> extension) |
TestServerBuilder |
InProcessServerBuilder.withExtension(String mountPath,
String packageName) |
TestServerBuilder |
InProcessServerBuilder.withFixture(File cypherFileOrDirectory) |
TestServerBuilder |
InProcessServerBuilder.withFixture(String fixtureStatement) |
| Modifier and Type | Class and Description |
|---|---|
class |
Neo4jRule
A convenience wrapper around
TestServerBuilder, exposing it as a JUnit
rule. |
Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.