diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-09 21:22:55 +1000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-09 21:22:55 +1000 |
commit | e18e320d47c18414d192affb145af53e03dc00c7 (patch) | |
tree | 6027b28d316d65790a745ed1624ca224d86a4f29 /test/org | |
parent | 9353087547cb147be6a59c4454c78e1bc974bb6c (diff) | |
download | trackermap-server-e18e320d47c18414d192affb145af53e03dc00c7.tar.gz trackermap-server-e18e320d47c18414d192affb145af53e03dc00c7.tar.bz2 trackermap-server-e18e320d47c18414d192affb145af53e03dc00c7.zip |
Add TRV protocol unit tests
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/TrvProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TrvProtocolDecoderTest.java b/test/org/traccar/protocol/TrvProtocolDecoderTest.java index 037254486..b77c848a6 100644 --- a/test/org/traccar/protocol/TrvProtocolDecoderTest.java +++ b/test/org/traccar/protocol/TrvProtocolDecoderTest.java @@ -16,6 +16,12 @@ public class TrvProtocolDecoderTest extends ProtocolTest { verifyAttributes(decoder, text( "TRVCP01,06000908000102")); + verifyAttributes(decoder, text( + "TRVCP01,100007100000001020151060011")); + + verifyPosition(decoder, text( + "TRVAP01160209A2540.8863N05546.6125E005.6075734123.7910000810010000,424,030,3012,27323")); + verifyPosition(decoder, text( "TRVAP01080524A2232.9806N11404.9355E000.1061830323.8706000908000102,460,0,9520,3671")); |