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

Method testMovePrevious

java/unittests/CursorTest.java:170–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168 }
169
170 public void testMovePrevious() {
171 byte[] key = new byte[10];
172 byte[] record = new byte[10];
173 try {
174 Cursor c = new Cursor(m_db);
175 m_db.insert(key, record);
176 c.movePrevious();
177 }
178 catch (DatabaseException err) {
179 fail("DatabaseException "+err.getMessage());
180 }
181 }
182
183 public void assertByteArrayEquals(byte[] r1, byte[] r2) {
184 assertEquals(r1.length, r2.length);

Callers

nothing calls this directly

Calls 3

movePreviousMethod · 0.95
insertMethod · 0.45
getMessageMethod · 0.45

Tested by

no test coverage detected