Refine search
protected GraphDatabaseService createGraphDatabase() { return new TestGraphDatabaseFactory().newImpermanentDatabase(); }
@BeforeClass public static void setUpStuff() { graphDb = new TestGraphDatabaseFactory().newImpermanentDatabase(); }
@Before public void init() { db = (GraphDatabaseAPI) new TestGraphDatabaseFactory().newImpermanentDatabase(); }
@Before public void setUp() { db = new TestGraphDatabaseFactory().newImpermanentDatabase(); }
@Before public void setUp() { graphDatabaseService = new TestGraphDatabaseFactory().newImpermanentDatabase(); }
@BeforeClass public static void setUpDb() { graphDb = new TestGraphDatabaseFactory().newImpermanentDatabase(); }
@Before public void createDb() { db = new TestGraphDatabaseFactory().newImpermanentDatabase(); }
@BeforeClass public static void beforeSuite() { graphdb = new TestGraphDatabaseFactory().newImpermanentDatabase(); }
@Before public void setup() { graphDb = new TestGraphDatabaseFactory().newImpermanentDatabase(); }
@Before public void createGraphDb() { graphDb = new TestGraphDatabaseFactory().newImpermanentDatabase(); }
@Before public void before() { db = new TestGraphDatabaseFactory().newImpermanentDatabase(); }
@Before public void setup() { db = new TestGraphDatabaseFactory().newImpermanentDatabase(); }
@BeforeClass public static void setUpStuff() { graphDb = new TestGraphDatabaseFactory().newImpermanentDatabase(); }
@Test void startTestDatabaseOnProvidedNonAbsoluteFile() { File directory = new File( "notAbsoluteDirectory" ); new TestGraphDatabaseFactory().newImpermanentDatabase( directory ).shutdown(); }
@Before public void init() { graph = new TestGraphDatabaseFactory().newImpermanentDatabase(); newTransaction(); }
@BeforeClass public static void createDb() { db = (GraphDatabaseAPI) new TestGraphDatabaseFactory().newImpermanentDatabase(); propSetter = new PropertySettingStrategy( db ); }
@BeforeClass public static void setUpGraphDb() { graphDb = new TestGraphDatabaseFactory().newImpermanentDatabase(); graph = new SimpleGraphBuilder( graphDb, MyRelTypes.R1 ); }
@Before public void setUp() { gdb = new TestGraphDatabaseFactory().newImpermanentDatabase(); tx = gdb.beginTx(); }
private GraphDatabaseService createTestDatabase( File storeDir ) { return new TestGraphDatabaseFactory() .setFileSystem( new UncloseableDelegatingFileSystemAbstraction( fs ) ) .newImpermanentDatabase( storeDir ); } }
private GraphDatabaseService createTestDatabase( FileSystemAbstraction fileSystem, File storeDir ) { return new TestGraphDatabaseFactory() .setFileSystem( new UncloseableDelegatingFileSystemAbstraction( fileSystem ) ) .newImpermanentDatabase( storeDir ); }