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

Method testMoveFirst

java/unittests/CursorTest.java:131–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129 }
130
131 public void testMoveFirst() {
132 byte[] key = new byte[10];
133 byte[] record = new byte[10];
134 try {
135 Cursor c = new Cursor(m_db);
136 m_db.insert(key, record);
137 c.moveFirst();
138 }
139 catch (DatabaseException err) {
140 fail("DatabaseException "+err.getMessage());
141 }
142 }
143
144 public void testMoveLast() {
145 byte[] key = new byte[10];

Callers

nothing calls this directly

Calls 3

moveFirstMethod · 0.95
insertMethod · 0.45
getMessageMethod · 0.45

Tested by

no test coverage detected