diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-26 13:11:19 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-26 13:11:19 +1300 |
commit | 3e56ea6a99e7da5d61c5956876c2d977268e4756 (patch) | |
tree | f70f61b1ec218e4491d36c10d5fbd52a67ba4862 /test/org/traccar/helper/ChannelBufferToolsTest.java | |
parent | fbdd359d223579173b4e0076563df296f5492e3c (diff) | |
download | traccar-server-3e56ea6a99e7da5d61c5956876c2d977268e4756.tar.gz traccar-server-3e56ea6a99e7da5d61c5956876c2d977268e4756.tar.bz2 traccar-server-3e56ea6a99e7da5d61c5956876c2d977268e4756.zip |
Use standard Java hex conversion
Diffstat (limited to 'test/org/traccar/helper/ChannelBufferToolsTest.java')
-rw-r--r-- | test/org/traccar/helper/ChannelBufferToolsTest.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/org/traccar/helper/ChannelBufferToolsTest.java b/test/org/traccar/helper/ChannelBufferToolsTest.java index d34dfe9f7..64f010ea5 100644 --- a/test/org/traccar/helper/ChannelBufferToolsTest.java +++ b/test/org/traccar/helper/ChannelBufferToolsTest.java @@ -26,14 +26,4 @@ public class ChannelBufferToolsTest { assertEquals("1903", result); } - @Test - public void convertHexStringTest() { - assertArrayEquals(new byte[] {0x12, 0x34}, ChannelBufferTools.hexToBytes("1234")); - } - - @Test - public void convertHexByteArray() { - assertEquals("1234", ChannelBufferTools.bytesToHex(new byte[]{0x12, 0x34})); - } - } |