aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-11 21:20:44 +0800
committerAnton Tananaev <anton.tananaev@gmail.com>2017-10-11 21:26:32 +0800
commite876250991faccdca04a1f36ddaf847c9f392275 (patch)
treed68e1703030582be68c956ef6bb455229e44581b /test/org/traccar
parent53eaf4c4e4162e52ad1ce367c3cd22bc6b4419ed (diff)
downloadtraccar-server-e876250991faccdca04a1f36ddaf847c9f392275.tar.gz
traccar-server-e876250991faccdca04a1f36ddaf847c9f392275.tar.bz2
traccar-server-e876250991faccdca04a1f36ddaf847c9f392275.zip
Add PT502 test case
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/Pt502ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java b/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java
index 62b3bbdaa..24b570937 100644
--- a/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Pt502ProtocolDecoderTest extends ProtocolTest {
Pt502ProtocolDecoder decoder = new Pt502ProtocolDecoder(new Pt502Protocol());
verifyPosition(decoder, text(
+ "$PHO0-1,1360000260,123012.000,A,0913.9644,N,07548.8345,W,0.0,309.8,111017,,,A/00000,10000/0,0,0,0/64551600//f98//"));
+
+ verifyPosition(decoder, text(
"$POS,865328026243864,151105.000,A,1332.7096,N,204.6787,E,0.0,10.00,050517,,,A/00000,10/1,0/234//FD9/"));
verifyNull(decoder, text(