MCPcopy Create free account
hub / github.com/cruppstahl/upscaledb / setUp

Method setUp

java/unittests/CursorTest.java:47–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 private Database m_db;
46
47 protected void setUp() throws Exception {
48 super.setUp();
49
50 try {
51 m_env = new Environment();
52 m_env.create("jtest.db");
53 m_db = m_env.createDatabase((short)1, Const.UPS_ENABLE_DUPLICATE_KEYS);
54 }
55 catch (DatabaseException err) {
56 fail("DatabaseException " + err.getMessage());
57 }
58 }
59
60 protected void tearDown() throws Exception {
61 super.tearDown();

Callers

nothing calls this directly

Calls 3

createDatabaseMethod · 0.80
createMethod · 0.45
getMessageMethod · 0.45

Tested by

no test coverage detected