aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-03-17 16:59:51 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-03-17 16:59:51 +1300
commit8432b3660b7cc40c8734cc00817f176589d9d18e (patch)
treec3cba32d001839577a505b96b199b1667c3cedee /test
parent5adbbcff629056c0d811c9fd22e6a6af82c65ba9 (diff)
downloadtraccar-server-8432b3660b7cc40c8734cc00817f176589d9d18e.tar.gz
traccar-server-8432b3660b7cc40c8734cc00817f176589d9d18e.tar.bz2
traccar-server-8432b3660b7cc40c8734cc00817f176589d9d18e.zip
Extend Meitrack decoder
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/MeitrackProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
index 7d0dc6bc0..f031a5f15 100644
--- a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
@@ -16,6 +16,9 @@ public class MeitrackProtocolDecoderTest {
MeitrackProtocolDecoder decoder = new MeitrackProtocolDecoder(new TestDataManager(), null, null);
verify(decoder.decode(null, null, ChannelBuffers.copiedBuffer(
+ "$$I152,013949004569813,AAA,37,54.739468,25.273648,150208173414,A,5,24,0,73,1.5,165,74,3381,246|1|0065|118A,0000,0003|0003|0000|08D4|0002,006380DF,,1,0008*7C", Charset.defaultCharset())));
+
+ verify(decoder.decode(null, null, ChannelBuffers.copiedBuffer(
"$$E141,863071013799553,AAA,35,-1.264521,36.801128,150307132846,A,11,20,0.2,0,5,1767,84045888,36496633,639|02|100E|844,1234,0018|||025D|00CB,*17", Charset.defaultCharset())));
verify(decoder.decode(null, null, ChannelBuffers.copiedBuffer(