MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / simpleDelete

Method simpleDelete

test/TestDeleteRequest.java:70–79  ·  view source on GitHub ↗

Test a simple delete request @throws Exception

()

Source from the content-addressed store, hash-verified

68 * @throws Exception
69 */
70 @Test
71 public void simpleDelete() throws Exception {
72 final DeleteRequest delete = new DeleteRequest(TABLE, KEY);
73 stubbing(delete);
74 client.delete(delete);
75 Mockito.verify(client).sendRpcToRegion(delete);
76 Mockito.verify(regionclient).sendRpc(delete);
77 assertTrue(sendDelete);
78 assertEquals(1, num_deletes.get());
79 }
80
81 /**
82 * Test a delete that deletes a Key for a time

Callers

nothing calls this directly

Calls 5

stubbingMethod · 0.95
deleteMethod · 0.80
sendRpcToRegionMethod · 0.80
sendRpcMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected