aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-04 11:40:03 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-04 11:40:03 +1300
commit2bafdf66c05b9af276fa6b6f23497b580de83259 (patch)
tree3dde95256351e29c9d8230e1bd1a6be2012d2fa6 /test/org/traccar/protocol/Pt502ProtocolDecoderTest.java
parentf6b82ecf6187fffd2a7a842ffcdbe635dfa80730 (diff)
downloadtrackermap-server-2bafdf66c05b9af276fa6b6f23497b580de83259.tar.gz
trackermap-server-2bafdf66c05b9af276fa6b6f23497b580de83259.tar.bz2
trackermap-server-2bafdf66c05b9af276fa6b6f23497b580de83259.zip
Refactor PT502 protocol decoder
Diffstat (limited to 'test/org/traccar/protocol/Pt502ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Pt502ProtocolDecoderTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java b/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java
index b09082b2e..a811de3ce 100644
--- a/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java
@@ -11,7 +11,8 @@ public class Pt502ProtocolDecoderTest extends ProtocolDecoderTest {
Pt502ProtocolDecoder decoder = new Pt502ProtocolDecoder(new Pt502Protocol());
verifyPosition(decoder, text(
- "$POS,216769295715,163237.000,A,3258.1738,S,02755.4350,E,0.00,215.88,100915,,,A/0000,0//232300//5b3/"));
+ "$POS,216769295715,163237.000,A,3258.1738,S,02755.4350,E,0.00,215.88,100915,,,A/0000,0//232300//5b3/"),
+ position("2015-09-10 16:32:37.000", true, -32.96956, 27.92392));
verifyPosition(decoder, text(
"$POS,11023456,033731.000,A,0335.2617,N,09841.1587,E,0.00,88.12,210615,,,A/0000,0/1f8/388900//f33//"));