diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-04-16 09:53:29 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-04-16 09:53:29 +1200 |
commit | 7c3493a088f94d8d37d53cab66756947be230276 (patch) | |
tree | 492e54a1f00ce73d783ca1fbac2e5cdddd186d90 /test/org | |
parent | 2f0687aee12999697596c9b028e6d2736d8df6b7 (diff) | |
download | trackermap-server-7c3493a088f94d8d37d53cab66756947be230276.tar.gz trackermap-server-7c3493a088f94d8d37d53cab66756947be230276.tar.bz2 trackermap-server-7c3493a088f94d8d37d53cab66756947be230276.zip |
Improve Appello protocol decoder
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/AppelloProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AppelloProtocolDecoderTest.java b/test/org/traccar/protocol/AppelloProtocolDecoderTest.java index 69fa9b52e..f83039265 100644 --- a/test/org/traccar/protocol/AppelloProtocolDecoderTest.java +++ b/test/org/traccar/protocol/AppelloProtocolDecoderTest.java @@ -9,6 +9,9 @@ public class AppelloProtocolDecoderTest extends ProtocolTest { public void testDecode() throws Exception { AppelloProtocolDecoder decoder = new AppelloProtocolDecoder(new AppelloProtocol()); + + verifyAttributes(decoder, text( + "FOLLOWIT,860719028336968,UTCTIME,-12.112660,-77.045189,0,0,3,-0,L,716,10,049C,2A47,23,,4.22,,53,999/00/00,,,,,,59826,")); verifyPosition(decoder, text( "FOLLOWIT,860719028336968,160211221959,-12.112660,-77.045258,1,0,6,116,F,716,17,4E85,050C,29,,4.22,,39,999/00/00,,,,,,46206,")); |