()
| 205 | } |
| 206 | |
| 207 | public void testGetRecord() { |
| 208 | byte[] key = new byte[10]; |
| 209 | byte[] record = new byte[10]; |
| 210 | record[0] = 0x14; |
| 211 | try { |
| 212 | Cursor c = new Cursor(m_db); |
| 213 | m_db.insert(key, record); |
| 214 | c.moveFirst(); |
| 215 | byte[] r = c.getRecord(); |
| 216 | assertByteArrayEquals(record, r); |
| 217 | } |
| 218 | catch (DatabaseException err) { |
| 219 | fail("DatabaseException " + err.getMessage()); |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | public void testOverwrite() { |
| 224 | byte[] key = new byte[10]; |
nothing calls this directly
no test coverage detected