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

Method testMoveLast

java/unittests/CursorTest.java:144–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 }
143
144 public void testMoveLast() {
145 byte[] key = new byte[10];
146 byte[] record = new byte[10];
147 try {
148 Cursor c = new Cursor(m_db);
149 m_db.insert(key, record);
150 c.moveLast();
151 }
152 catch (DatabaseException err) {
153 fail("DatabaseException "+err.getMessage());
154 }
155 }
156
157 public void testMoveNext() {
158 byte[] key = new byte[10];

Callers

nothing calls this directly

Calls 3

moveLastMethod · 0.95
insertMethod · 0.45
getMessageMethod · 0.45

Tested by

no test coverage detected