diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-31 06:27:07 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-31 06:27:07 +1200 |
commit | a418adedfc17642dda161dc373b8fc57ab1dbbdf (patch) | |
tree | ea6155b70a1d566cc831ed268cea48c0645d37df /test | |
parent | b372786bc73aa3f3f89b3a321585bd95c81d0031 (diff) | |
download | traccar-server-a418adedfc17642dda161dc373b8fc57ab1dbbdf.tar.gz traccar-server-a418adedfc17642dda161dc373b8fc57ab1dbbdf.tar.bz2 traccar-server-a418adedfc17642dda161dc373b8fc57ab1dbbdf.zip |
Handle Bofan photo response
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/Pt502ProtocolDecoderTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java b/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java index 333181625..3ea83ef60 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( + "$PHO6608,115099,133140.000,A,1307.1238,N,05936.4194,W,0.00,21.50,290816,,,A/00010,00000/0,0,0,0/185100//f59/")); + + verifyPosition(decoder, text( "$DFR,40456789,083125.000,A,2232.0971,N,11400.9504,E,0.0,5.00,090714,,,A/00000,00/0,0/200076//FE7/")); verifyPosition(decoder, text( @@ -35,7 +38,7 @@ public class Pt502ProtocolDecoderTest extends ProtocolTest { verifyPosition(decoder, text( "$POS,6095,233344.000,V,0933.0451,N,06912.3360,W,,,151112,,,N/00000,00000/0/1677600/")); - verifyNothing(decoder, text( + verifyPosition(decoder, text( "$PHO0,6091,233606.000,A,0902.9855,N,06944.3654,W,0.0,43.8,141112,,,A/00010,00000/0/224000//")); verifyPosition(decoder, text( |