diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-16 13:37:10 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-16 13:37:10 +1300 |
commit | fe3fb66850479865168a8200b53d2091fca151c1 (patch) | |
tree | 23aa9fc899949e67dfdf357f81a7ee25f5e91da5 /test/org/traccar/protocol | |
parent | 51663e55bbaa79edef99df17e67c0ec504b1fb88 (diff) | |
download | trackermap-server-fe3fb66850479865168a8200b53d2091fca151c1.tar.gz trackermap-server-fe3fb66850479865168a8200b53d2091fca151c1.tar.bz2 trackermap-server-fe3fb66850479865168a8200b53d2091fca151c1.zip |
Add another Tytan test case
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/TytanProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TytanProtocolDecoderTest.java b/test/org/traccar/protocol/TytanProtocolDecoderTest.java index aeb45b341..47c865d58 100644 --- a/test/org/traccar/protocol/TytanProtocolDecoderTest.java +++ b/test/org/traccar/protocol/TytanProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class TytanProtocolDecoderTest extends ProtocolDecoderTest { public void testDecode() throws Exception { TytanProtocolDecoder decoder = new TytanProtocolDecoder(new TytanProtocol()); + + verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString( + "B5005690000068494F561CEAE932325FD28D11A299000702000063045532030066013567018768014B6901286B0240396C04030785986D013E7F040000A7CE81040000A76C82027EAB83080FA01068FFFF0F3C880202583156")))); verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString( "b50069a00000689d315604512b32378f1a8e9fe094005a04d7c84b41020300ab250402140c0702c0006501006601006b0280646c0402883db0315604525732378f1d8e9fdd94005a04d7c84b41020300ab250402140c0702c0006501006601006b0280646c0402883db08887")))); |