aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-22 11:15:44 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-10-22 11:15:44 +1300
commitf6f514bea19a75544378fdbfccb6808ea1a0424e (patch)
treeec054ab1b775872c086da0235232b14267df39e8 /test/org/traccar/protocol/MegastekProtocolDecoderTest.java
parent9ace2318b9ea5a2d949800eedff8398808d3a6ce (diff)
downloadtrackermap-server-f6f514bea19a75544378fdbfccb6808ea1a0424e.tar.gz
trackermap-server-f6f514bea19a75544378fdbfccb6808ea1a0424e.tar.bz2
trackermap-server-f6f514bea19a75544378fdbfccb6808ea1a0424e.zip
Add Megastek test case
Diffstat (limited to 'test/org/traccar/protocol/MegastekProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/MegastekProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java b/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
index 583de513c..9bb705f17 100644
--- a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class MegastekProtocolDecoderTest extends ProtocolTest {
MegastekProtocolDecoder decoder = new MegastekProtocolDecoder(new MegastekProtocol());
+ verifyNull(decoder, text(
+ "0112$MGV002,,GVT900-3,S,010114,000003,,,,,,00,00,00,,0.000,0.00,,0.0,,,,,,0000,0000,14,10,0, , ,,1-0,0,Low Ext Vol;!"));
+
verifyPosition(decoder, text(
"0170$MGV002,354550056642321,GVT900-3,S,011017,090208,A,1635.8484,N,10446.6095,E,00,09,00,0.91,16.980,257.73,177.6,0.0,457,01,0741,00C0,21,0000,0000,20,10,0, , ,,1-1,54,Dist;!"));