diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-04 11:26:56 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-04 11:26:56 +1300 |
commit | f6b82ecf6187fffd2a7a842ffcdbe635dfa80730 (patch) | |
tree | d4b3f989be66ae0e87e49c7a6cc605dfc11467a1 /test/org/traccar | |
parent | 88e4230624ee5c2de9806751ed433c57a56f4856 (diff) | |
download | trackermap-server-f6b82ecf6187fffd2a7a842ffcdbe635dfa80730.tar.gz trackermap-server-f6b82ecf6187fffd2a7a842ffcdbe635dfa80730.tar.bz2 trackermap-server-f6b82ecf6187fffd2a7a842ffcdbe635dfa80730.zip |
Refactor PT3000 protocol decoder
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/Pt3000ProtocolDecoderTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/Pt3000ProtocolDecoderTest.java b/test/org/traccar/protocol/Pt3000ProtocolDecoderTest.java index cadc76928..7c01d6022 100644 --- a/test/org/traccar/protocol/Pt3000ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Pt3000ProtocolDecoderTest.java @@ -11,7 +11,8 @@ public class Pt3000ProtocolDecoderTest extends ProtocolDecoderTest { Pt3000ProtocolDecoder decoder = new Pt3000ProtocolDecoder(new Pt3000Protocol()); verifyPosition(decoder, text( - "%356939010012099,$GPRMC,124945.752,A,4436.6245,N,01054.4634,E,0.11,358.52,060408,,,A,+393334347445,N028d")); + "%356939010012099,$GPRMC,124945.752,A,4436.6245,N,01054.4634,E,0.11,358.52,060408,,,A,+393334347445,N028d"), + position("2008-04-06 12:49:45.000", true, 44.61041, 10.90772)); verifyPosition(decoder, text( "%356939010014433,$GPRMC,172821.000,A,4019.5147,N,00919.1160,E,0.00,,010613,,,A,+393998525043,N098d")); |