diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-18 21:37:03 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-18 21:37:03 +1300 |
commit | 7b46396a9e5b6546b89e927c715c65d59296cd83 (patch) | |
tree | c1ad7b3d7a156fea975826b1ed0a7a75964a0940 /test/org | |
parent | 3990d779545c7dba72324182058ae20730311f97 (diff) | |
download | traccar-server-7b46396a9e5b6546b89e927c715c65d59296cd83.tar.gz traccar-server-7b46396a9e5b6546b89e927c715c65d59296cd83.tar.bz2 traccar-server-7b46396a9e5b6546b89e927c715c65d59296cd83.zip |
Add LBS example for GPS103 protocol
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/Gps103ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java index 80d1424fc..03d7b5c72 100644 --- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class Gps103ProtocolDecoderTest extends ProtocolDecoderTest { Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(new Gps103Protocol()); + verifyNothing(decoder, text( + "imei:863070016871385,tracker,0000000119,,L,,,0FB6,,CB5D,,,")); + verifyPosition(decoder, text( "imei:359710045559474,tracker,151030080103,,F,000101.000,A,5443.3834,N,02512.9071,E,0.00,0;"), position("2015-10-30 00:01:01.000", true, 54.72306, 25.21512)); |