aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorThiritin <me@thiritin.com>2021-06-22 18:08:57 +0200
committerGitHub <noreply@github.com>2021-06-22 18:08:57 +0200
commit4ac5f10eca7610c94b1864042b9c4bdb5d6cf186 (patch)
tree8405c23258d0218628587f848d2a322bfc06bd50 /src/test/java/org/traccar
parent35f15c94da399c479d1b5987043178a59cbd8b35 (diff)
parent278448bfa95316b3c1c4e6d0757b7f8b1414a6b9 (diff)
downloadtraccar-server-4ac5f10eca7610c94b1864042b9c4bdb5d6cf186.tar.gz
traccar-server-4ac5f10eca7610c94b1864042b9c4bdb5d6cf186.tar.bz2
traccar-server-4ac5f10eca7610c94b1864042b9c4bdb5d6cf186.zip
Merge pull request #1 from Thiritin/master
add a new test
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
index 3747d9200..e0aa16be1 100644
--- a/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
@@ -40,6 +40,9 @@ public class MegastekProtocolDecoderTest extends ProtocolTest {
"$MGV002,869152024446923,869152024446923,S,240816,151631,A,5053.83335,N,00424.05702,E,00,10,00,0.88,2.645,76.09,22.7,,206,01,07D1,6600,28,,,,,,,,,01,100,Timer;!"));
verifyPosition(decoder, text(
+ "0143$MGV002,860500036302000,,R,220621,121204,V,5000.00009,N,01001.30008,E,00,00,00,99.9,,,,,232,10,A5AE,5A4908,22,0000,0000,0,,,,,,00,092,Timer,,;!"));
+
+ verifyPosition(decoder, text(
"STX,013950007137061,$GPRMC,191959.000,A,5203.09602,N,00830.77057,E,5.73,255.27,240716,,,A*62,L,Belt Up,imei:013950007137061,0/5,,Battery=52%,,1,262,03,0084,B20E;FD"));
verifyPosition(decoder, text(