2728293031323334353637
setupClasses(); populateDatabase(); tryLabelQuery(); runEdgeTest(); } finally { server.shutdown(); } } private OServer setupDatabase() throws Exception { OGlobalConfiguration.STORAGE_KEEP_OPEN.setValue(true);
103104105106107108109110
StringWriter buff = new StringWriter(); OGlobalConfiguration.dumpConfiguration(new PrintStream(new WriterOutputStream(buff), true)); log("Global configuration:\n{}", buff); server.activate(); server.shutdown(); } }
33343536373839404142
if (!database.exists()) database.create(); database.open("admin", "admin"); database.countClass("ouser"); database.close(); server.shutdown(); } } }