aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/helper
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/helper')
-rw-r--r--test/org/traccar/helper/ChannelBufferToolsTest.java11
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);
- }
}