aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-19 21:58:04 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-09-19 21:58:04 +1200
commit561c616418918da4bb1d75c95347e25c23f72f6a (patch)
tree6adaccfa99807399fe6ebf9f233f6cd7b4f9722e /test/org/traccar/protocol
parentb834e078836921fd19319f32f332d59588d5dc55 (diff)
downloadtrackermap-server-561c616418918da4bb1d75c95347e25c23f72f6a.tar.gz
trackermap-server-561c616418918da4bb1d75c95347e25c23f72f6a.tar.bz2
trackermap-server-561c616418918da4bb1d75c95347e25c23f72f6a.zip
Add Meitrack unit test
Diffstat (limited to 'test/org/traccar/protocol')
-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 cbbbd17f6..07411dbc8 100644
--- a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class MeitrackProtocolDecoderTest extends ProtocolTest {
MeitrackProtocolDecoder decoder = new MeitrackProtocolDecoder(new MeitrackProtocol());
verifyPosition(decoder, buffer(
+ "$$V177,863835026871173,AAA,35,34.516428,10.470160,170915154043,A,9,12,68,74,0.9,9,1988259,525882,605|2|008C|0007B5A6,0200,0003|0000|0000|01A6|0571,00000001,,3,0000,010A92,360,511*74"));
+
+ verifyPosition(decoder, buffer(
"$$B136,011691002364761,AAA,29,47.055220,28.893193,170914144240,V,0,7,0,0,0,132,129754946,129793197,259|2|02F8|413F,0000,000D|000C||028C|,*9E"));
verifyNotNull(decoder, buffer(