()
| 354 | } |
| 355 | |
| 356 | @Test |
| 357 | public void delete() throws Exception { |
| 358 | setupStorage(false); |
| 359 | note.setTSUID(TSUID); |
| 360 | note.setStartTime(1388450562); |
| 361 | note.delete(tsdb).joinUninterruptibly(); |
| 362 | assertNull(storage.getColumn(tsuid_row_key, |
| 363 | new byte[] { 1, 0x0A, 0x02 })); |
| 364 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 365 | new byte[] { 1, 0x0A, 0x03 })); |
| 366 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 367 | new byte[] { 0x50, 0x10 })); |
| 368 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 369 | new byte[] { 0x50, 0x18 })); |
| 370 | } |
| 371 | |
| 372 | @Test |
| 373 | public void deleteSalted() throws Exception { |
no test coverage detected