aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwkhaksar <31837615+wkhaksar@users.noreply.github.com>2023-01-06 12:20:04 +0000
committerwkhaksar <31837615+wkhaksar@users.noreply.github.com>2023-01-06 12:20:04 +0000
commit7978a2a1349c3d89d79553c3fe703e4ea0559d32 (patch)
treef17e92f3a2c8413b71aa63de2c21953f51a18fdf
parentb76e00c283c79f29ad13fff70b882ae6d3685aa5 (diff)
downloadtrackermap-server-7978a2a1349c3d89d79553c3fe703e4ea0559d32.tar.gz
trackermap-server-7978a2a1349c3d89d79553c3fe703e4ea0559d32.tar.bz2
trackermap-server-7978a2a1349c3d89d79553c3fe703e4ea0559d32.zip
test-case-for-tlt2h-lbs-added
-rw-r--r--src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
index 40d9ff34d..a6a9f836e 100644
--- a/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
@@ -81,6 +81,13 @@ public class Tlt2hProtocolDecoderTest extends ProtocolTest {
"#357671031289215#V600#0000#AUTOLOW#1\r\n",
"#00735e1c$GPRMC,115647.000,A,5553.6524,N,02632.3128,E,0.00,0.0,130614,0.0,W,A*28"));
+ verifyPositions(decoder, false, text(
+ "#860186058100000#MT700#0000#AUTO#1\r\n",
+ "#39#262,03,8CE6,A672$WIFI,154928.00,A,-74,3CA62F52615B,-82,A0E4CB83852D,,,050123*28\r\n##\r\n"));
+
+ verifyPositions(decoder, false, text(
+ "#860186058100000#MT700#0000#AUTO#1\r\n",
+ "#39#262,03,8CE6,A672$GPRMC,115419.00,V,,,,,,,050123,,,A*7D\r\n##\r\n"));
}
}