Package de.julielab.neo4j.plugins.test
Class TestUtilities
- java.lang.Object
-
- de.julielab.neo4j.plugins.test.TestUtilities
-
public class TestUtilities extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static FileGRAPH_DB_DIR
-
Constructor Summary
Constructors Constructor Description TestUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddeleteEverythingInDB(org.neo4j.graphdb.GraphDatabaseService graphDb)static org.neo4j.dbms.api.DatabaseManagementServicegetGraphDBMS()static <T extends org.neo4j.server.rest.repr.Representation>
Iterable<T>getIterableFromListRepresentation(org.neo4j.server.rest.repr.ListRepresentation listrep)static <T extends org.neo4j.server.rest.repr.Representation>
List<T>getListFromListRepresentation(org.neo4j.server.rest.repr.ListRepresentation listrep)
-
-
-
Field Detail
-
GRAPH_DB_DIR
public static final File GRAPH_DB_DIR
-
-
Method Detail
-
deleteEverythingInDB
public static void deleteEverythingInDB(org.neo4j.graphdb.GraphDatabaseService graphDb)
-
getListFromListRepresentation
public static <T extends org.neo4j.server.rest.repr.Representation> List<T> getListFromListRepresentation(org.neo4j.server.rest.repr.ListRepresentation listrep) throws SecurityException, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
-
getIterableFromListRepresentation
public static <T extends org.neo4j.server.rest.repr.Representation> Iterable<T> getIterableFromListRepresentation(org.neo4j.server.rest.repr.ListRepresentation listrep) throws SecurityException, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
-
getGraphDBMS
public static org.neo4j.dbms.api.DatabaseManagementService getGraphDBMS()
-
-