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

Method testMoveNext

java/unittests/CursorTest.java:157–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155 }
156
157 public void testMoveNext() {
158 byte[] key = new byte[10];
159 byte[] record = new byte[10];
160 try {
161 Cursor c = new Cursor(m_db);
162 m_db.insert(key, record);
163 c.moveNext();
164 }
165 catch (DatabaseException err) {
166 fail("DatabaseException "+err.getMessage());
167 }
168 }
169
170 public void testMovePrevious() {
171 byte[] key = new byte[10];

Callers

nothing calls this directly

Calls 3

moveNextMethod · 0.95
insertMethod · 0.45
getMessageMethod · 0.45

Tested by

no test coverage detected