Uses of Class
org.neo4j.harness.junit.rule.Neo4jRule
-
Uses of Neo4jRule in com.neo4j.harness.junit.rule
-
Uses of Neo4jRule in org.neo4j.harness.junit.rule
Modifier and TypeMethodDescriptionPre-populate the server with databases copied from the specified source directory.Neo4jRule.dumpLogsOnFailure
(PrintStream out) Dump available logs on failure.Neo4jRule.dumpLogsOnFailure
(Supplier<PrintStream> out) Dump available logs on failure.Neo4jRule.withAggregationFunction
(Class<?> functionClass) Configure the server to load the specified aggregation function definition class.<T> Neo4jRule
Neo4jRule.withConfig
(Setting<T> key, T value) Configure the Neo4j instance.Neo4jRule.withDisabledServer()
Disable web server on configured Neo4j instance.Neo4jRule.withFixture
(String fixtureStatement) Data fixture to inject upon server build.Neo4jRule.withFixture
(Path cypherFileOrDirectory) Data fixtures to inject upon server build.Neo4jRule.withFixture
(Function<GraphDatabaseService, Void> fixtureFunction) Data fixture to inject upon server build.Neo4jRule.withFunction
(Class<?> functionClass) Configure the server to load the specified function definition class.Neo4jRule.withProcedure
(Class<?> procedureClass) Configure the server to load the specified procedure definition class.Neo4jRule.withUnmanagedExtension
(String mountPath, Class<?> extension) Shortcut for configuring the server to use an unmanaged extension.Neo4jRule.withUnmanagedExtension
(String mountPath, String packageName) Shortcut for configuring the server to find and mount all unmanaged extensions in the given package.