aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-18 22:04:41 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-18 22:04:41 +1300
commita7f7df0ebdf56a6dbaa5a17600c05c5b6d3033a4 (patch)
tree23eb64d9a56b62db63b0154ee2e40a37b9727fa0 /test
parenta0bc8e67dba450ab1ba3a61340f6c06bf0fa448b (diff)
downloadtrackermap-server-a7f7df0ebdf56a6dbaa5a17600c05c5b6d3033a4.tar.gz
trackermap-server-a7f7df0ebdf56a6dbaa5a17600c05c5b6d3033a4.tar.bz2
trackermap-server-a7f7df0ebdf56a6dbaa5a17600c05c5b6d3033a4.zip
Support GSM based locations (fix #346)
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index 03d7b5c72..371b137fd 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -10,7 +10,10 @@ public class Gps103ProtocolDecoderTest extends ProtocolDecoderTest {
Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(new Gps103Protocol());
- verifyNothing(decoder, text(
+ verifyAttributes(decoder, text(
+ "imei:359710041100000,tracker,000000000,,L,,,fa8,,c9af,,,,,0,0,0.00%,,"));
+
+ verifyAttributes(decoder, text(
"imei:863070016871385,tracker,0000000119,,L,,,0FB6,,CB5D,,,"));
verifyPosition(decoder, text(