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

Method handleRootZnode92Colons

test/TestZKClient.java:835–845  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

833 }
834
835 @Test (expected = NumberFormatException.class)
836 public void handleRootZnode92Colons() throws Exception {
837 final ZKCallback cb = zk_client.new ZKCallback();
838 final byte[] string = "127.0.0.1:50511:1388534400000".getBytes(CHARSET);
839 final byte[] data = new byte[string.length + 6];
840 data[0] = ZKCallback.MAGIC;
841 Bytes.setInt(data, 1, 1);
842 System.arraycopy(string, 0, data, 6, string.length);
843
844 cb.handleRootZnode(data);
845 }
846
847 @Test
848 public void handleRootZnode92Colon() throws Exception {

Callers

nothing calls this directly

Calls 2

setIntMethod · 0.95
handleRootZnodeMethod · 0.95

Tested by

no test coverage detected