()
| 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 { |
nothing calls this directly
no test coverage detected