aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author31neKl31n3N4chtmu51k <31neKl31n3N4chtmu51k@gmail.com>2014-05-31 20:58:35 -0300
committer31neKl31n3N4chtmu51k <31neKl31n3N4chtmu51k@gmail.com>2014-05-31 20:58:35 -0300
commitb52c3afd0d05f668592a252e41177f444f681e59 (patch)
treee7c0781571e67b8ca49042fa0247c1f99c43e08e /test
parent4d46aa335ad0f1985bf42d6a68904e2c594a50cf (diff)
downloadtrackermap-server-b52c3afd0d05f668592a252e41177f444f681e59.tar.gz
trackermap-server-b52c3afd0d05f668592a252e41177f444f681e59.tar.bz2
trackermap-server-b52c3afd0d05f668592a252e41177f444f681e59.zip
changed required block of information "&Y" to optional since my CarTrack
clone doesn't have this field. It is actually a GT60 clone that sends message in the CarTrack format.
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/CarTrackProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/CarTrackProtocolDecoderTest.java b/test/org/traccar/protocol/CarTrackProtocolDecoderTest.java
index f40b45e01..96a8e4b74 100644
--- a/test/org/traccar/protocol/CarTrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/CarTrackProtocolDecoderTest.java
@@ -14,6 +14,10 @@ public class CarTrackProtocolDecoderTest {
verify(decoder.decode(null, null,
"$$2222234???????&A9955&B102904.000,A,2233.0655,N,11404.9440,E,0.00,,030109,,*17|6.3|&C0100000100&D000024?>&E10000000&Y00100020"));
+
+ verify(decoder.decode(null, null,
+ "$$2222234???????&A9955&B102904.000,A,2233.0655,N,11404.9440,E,0.00,,030109,,*17|6.3|&C0100000100&D000024?>&E10000000"));
+
}