()
| 240 | } |
| 241 | |
| 242 | public void testFind() { |
| 243 | byte[] key = new byte[10]; |
| 244 | byte[] record = new byte[10]; |
| 245 | key[0] = 0x14; |
| 246 | try { |
| 247 | Cursor c = new Cursor(m_db); |
| 248 | m_db.insert(key, record); |
| 249 | c.find(key); |
| 250 | byte[] k = c.getKey(); |
| 251 | byte[] r = c.getRecord(); |
| 252 | assertByteArrayEquals(key, k); |
| 253 | assertByteArrayEquals(record, r); |
| 254 | } |
| 255 | catch (DatabaseException err) { |
| 256 | fail("DatabaseException " + err.getMessage()); |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | public void testInsertByteArrayByteArray() { |
| 261 | byte[] key = new byte[10]; |
nothing calls this directly
no test coverage detected