aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-07 11:28:37 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-07 11:28:37 +1200
commit1680d3d0234d9d1e2152e644882a9c1fb39a8a47 (patch)
treef86818ef84575744f98e27b470a0225150abde2c /test
parenteaa0044002aeaff0b5df11f8463a068a6ff2284d (diff)
downloadtraccar-server-1680d3d0234d9d1e2152e644882a9c1fb39a8a47.tar.gz
traccar-server-1680d3d0234d9d1e2152e644882a9c1fb39a8a47.tar.bz2
traccar-server-1680d3d0234d9d1e2152e644882a9c1fb39a8a47.zip
Fix Castel frame decoder
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/CastelProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/CastelProtocolDecoderTest.java b/test/org/traccar/protocol/CastelProtocolDecoderTest.java
index e74707185..1671e4d12 100644
--- a/test/org/traccar/protocol/CastelProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/CastelProtocolDecoderTest.java
@@ -22,6 +22,9 @@ public class CastelProtocolDecoderTest extends ProtocolDecoderTest {
verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString(
"40405900043130303131313235323939383700000000000000400101C1F06952E7F069529C9111000000000069830000070000000400036401014C00030001190A0D0412041480D60488C57218000000009F01E803ED9A0D0A"))));
+
+ verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, ChannelBufferTools.convertHexString(
+ "40405900043335343034333035303834343134330000000000400100f61a7355c11b7355710000000b00000000000000000000000400000000240e0200020106060f100b2d5a78a7076ec0fb1d00008c065f010000ac220d0a"))));
}