aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/CityeasyProtocolEncoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-26 12:54:56 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-26 12:54:56 +1300
commitfbdd359d223579173b4e0076563df296f5492e3c (patch)
treefaacb0f61e284d17f942cb73d3a85f0dd3496d28 /test/org/traccar/protocol/CityeasyProtocolEncoderTest.java
parentd938e1e4d8d54fec6aab26246b6b804d34addf66 (diff)
downloadtrackermap-server-fbdd359d223579173b4e0076563df296f5492e3c.tar.gz
trackermap-server-fbdd359d223579173b4e0076563df296f5492e3c.tar.bz2
trackermap-server-fbdd359d223579173b4e0076563df296f5492e3c.zip
Rename hex conversion methods
Diffstat (limited to 'test/org/traccar/protocol/CityeasyProtocolEncoderTest.java')
-rw-r--r--test/org/traccar/protocol/CityeasyProtocolEncoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/CityeasyProtocolEncoderTest.java b/test/org/traccar/protocol/CityeasyProtocolEncoderTest.java
index 4d94e9c69..e2bfbb19a 100644
--- a/test/org/traccar/protocol/CityeasyProtocolEncoderTest.java
+++ b/test/org/traccar/protocol/CityeasyProtocolEncoderTest.java
@@ -18,7 +18,7 @@ public class CityeasyProtocolEncoderTest {
command.setType(Command.TYPE_SET_TIMEZONE);
command.set(Command.KEY_TIMEZONE, 6 * 3600);
- Assert.assertEquals(encoder.encodeCommand(command), ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(
+ Assert.assertEquals(encoder.encodeCommand(command), ChannelBuffers.wrappedBuffer(ChannelBufferTools.hexToBytes(
"5353001100080001680000000B60820D0A")));
}