diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-26 14:32:15 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-26 14:32:15 +1300 |
commit | 622706ec1c8e2a78dae161a1db64b09247efbfd9 (patch) | |
tree | aa22abb7a2c8d3569b302a4a88c6204c9dc67109 /test/org/traccar/helper | |
parent | 09b4183fd7ba546209d422d53ea07e273bec26f3 (diff) | |
download | trackermap-server-622706ec1c8e2a78dae161a1db64b09247efbfd9.tar.gz trackermap-server-622706ec1c8e2a78dae161a1db64b09247efbfd9.tar.bz2 trackermap-server-622706ec1c8e2a78dae161a1db64b09247efbfd9.zip |
Remove readHexString util method
Diffstat (limited to 'test/org/traccar/helper')
-rw-r--r-- | test/org/traccar/helper/ChannelBufferToolsTest.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/org/traccar/helper/ChannelBufferToolsTest.java b/test/org/traccar/helper/ChannelBufferToolsTest.java index 64f010ea5..6e2c6310c 100644 --- a/test/org/traccar/helper/ChannelBufferToolsTest.java +++ b/test/org/traccar/helper/ChannelBufferToolsTest.java @@ -14,16 +14,5 @@ public class ChannelBufferToolsTest { ChannelBuffers.wrappedBuffer(buf), 5); assertEquals(1903, result); } - - @Test - public void testReadHexString() { - byte[] buf = {0x01, (byte) 0x90, 0x34}; - String result = ChannelBufferTools.readHexString( - ChannelBuffers.wrappedBuffer(buf), 5); - assertEquals("01903", result); - - result = String.valueOf(Long.parseLong(result)); - assertEquals("1903", result); - } } |