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

Method putStrings

test/TestPutRequest.java:166–176  ·  view source on GitHub ↗

Test put with strings instead of bytes. @throws Exception

()

Source from the content-addressed store, hash-verified

164 * @throws Exception
165 */
166 @Test
167 public void putStrings() throws Exception {
168 final PutRequest put = new PutRequest(new String(TABLE), new String(KEY),
169 new String(FAMILY), new String(QUALIFIER), new String(VALUE));
170 stubbing(put);
171 client.put(put);
172 Mockito.verify(client).sendRpcToRegion(put);
173 Mockito.verify(regionclient).sendRpc(put);
174 assertTrue(sendPut);
175 assertEquals(1, num_puts.get());
176 }
177
178 /**
179 * Test put with KeyValue pair input

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected