aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-31 20:17:38 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-31 20:17:38 +1200
commitf042852014b246ce8f8561b4aeea768f646025e7 (patch)
tree59068419ebd9ce1ae05917743eb4b54f8a6b3dd6 /test/org/traccar
parent57672030502b403fddd6a8f6b0a5dde35202c9c3 (diff)
downloadtrackermap-server-f042852014b246ce8f8561b4aeea768f646025e7.tar.gz
trackermap-server-f042852014b246ce8f8561b4aeea768f646025e7.tar.bz2
trackermap-server-f042852014b246ce8f8561b4aeea768f646025e7.zip
Add GPS message to unit test
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/CastelProtocolDecoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/CastelProtocolDecoderTest.java b/test/org/traccar/protocol/CastelProtocolDecoderTest.java
index 71d34bc5e..e74707185 100644
--- a/test/org/traccar/protocol/CastelProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/CastelProtocolDecoderTest.java
@@ -20,8 +20,8 @@ public class CastelProtocolDecoderTest extends ProtocolDecoderTest {
verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString(
"40407F000431303031313132353239393837000000000000001001C1F06952FDF069529C91110000000000698300000C0000000000036401014C00030001190A0D04121A1480D60488C5721800000000AF4944445F3231364730325F532056312E322E31004944445F3231364730325F482056312E322E31000000DF640D0A"))));
- //verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString(
- // "404057000431303031313132353239393837000000000000004002C1F06952F0F169529C9111000000000069830000470000000400036401014C01030078000505210C210D210F21102101073BE8030064280AEB930D0A"))));
+ verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString(
+ "40405900043130303131313235323939383700000000000000400101C1F06952E7F069529C9111000000000069830000070000000400036401014C00030001190A0D0412041480D60488C57218000000009F01E803ED9A0D0A"))));
}