From 622706ec1c8e2a78dae161a1db64b09247efbfd9 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 26 Oct 2015 14:32:15 +1300 Subject: Remove readHexString util method --- test/org/traccar/helper/ChannelBufferToolsTest.java | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'test/org/traccar/helper') 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); - } } -- cgit v1.2.3