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

Method testMoveNegative

java/unittests/CursorTest.java:121–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 }
120
121 public void testMoveNegative() {
122 try {
123 Cursor c = new Cursor(m_db);
124 c.move(Const.UPS_CURSOR_NEXT);
125 }
126 catch (DatabaseException err) {
127 assertEquals(Const.UPS_KEY_NOT_FOUND, err.getErrno());
128 }
129 }
130
131 public void testMoveFirst() {
132 byte[] key = new byte[10];

Callers

nothing calls this directly

Calls 2

moveMethod · 0.95
getErrnoMethod · 0.80

Tested by

no test coverage detected