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

Method testCloneCursor

java/unittests/CursorTest.java:82–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 }
81
82 public void testCloneCursor() {
83 Cursor c1, c2;
84 try {
85 c1 = new Cursor(m_db);
86 c2 = c1.cloneCursor();
87 c1.close();
88 c2.close();
89 }
90 catch (DatabaseException err) {
91 fail("DatabaseException " + err.getMessage());
92 }
93 }
94
95 public void testMove() {
96 byte[] key = new byte[10];

Callers

nothing calls this directly

Calls 3

cloneCursorMethod · 0.95
closeMethod · 0.95
getMessageMethod · 0.45

Tested by

no test coverage detected