aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-07-04 07:25:53 -0700
committerAnton Tananaev <anton@traccar.org>2023-07-04 07:25:53 -0700
commit8b4d3ee0b96407ad3c889bc3bb0261e5ebe60532 (patch)
treef6ddf0d064f25700a5db4e938feb0339abcfba9b /src/test
parent5e18cb586d34aa3db0417cef9635bf1d9cae6e18 (diff)
downloadtrackermap-server-8b4d3ee0b96407ad3c889bc3bb0261e5ebe60532.tar.gz
trackermap-server-8b4d3ee0b96407ad3c889bc3bb0261e5ebe60532.tar.bz2
trackermap-server-8b4d3ee0b96407ad3c889bc3bb0261e5ebe60532.zip
Minifinder decode phone numbers
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/MiniFinderProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/MiniFinderProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MiniFinderProtocolDecoderTest.java
index d955d8e50..712d59dc9 100644
--- a/src/test/java/org/traccar/protocol/MiniFinderProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MiniFinderProtocolDecoderTest.java
@@ -21,6 +21,10 @@ public class MiniFinderProtocolDecoderTest extends ProtocolTest {
"!1,123456789012345"));
verifyAttribute(decoder, text(
+ "!4,10,040123,,,1.0,110,0,0S,33"),
+ "phone1", "040123");
+
+ verifyAttribute(decoder, text(
"!5,17,V,50"),
Position.KEY_BATTERY_LEVEL, 50);