aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/AppelloProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-24 13:38:12 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-24 13:38:12 +1300
commit15d54b086be597f5698acc5750694f93c7629ca7 (patch)
treec3d6df7384e60f90a77c8e6a5e7834e5d79288de /test/org/traccar/protocol/AppelloProtocolDecoderTest.java
parentdbbe99269140f057d3f72acca557730a6b10e902 (diff)
downloadtrackermap-server-15d54b086be597f5698acc5750694f93c7629ca7.tar.gz
trackermap-server-15d54b086be597f5698acc5750694f93c7629ca7.tar.bz2
trackermap-server-15d54b086be597f5698acc5750694f93c7629ca7.zip
Add Appello unit test cases
Diffstat (limited to 'test/org/traccar/protocol/AppelloProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/AppelloProtocolDecoderTest.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/AppelloProtocolDecoderTest.java b/test/org/traccar/protocol/AppelloProtocolDecoderTest.java
index f83039265..2e7d8f082 100644
--- a/test/org/traccar/protocol/AppelloProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AppelloProtocolDecoderTest.java
@@ -11,8 +11,14 @@ public class AppelloProtocolDecoderTest extends ProtocolTest {
AppelloProtocolDecoder decoder = new AppelloProtocolDecoder(new AppelloProtocol());
verifyAttributes(decoder, text(
+ "FOLLOWIT,867273024233699,UTCTIME,0.000000,0.000000,0,0,0,0,L,262:3:c703:4bf8:64:255|262:3:c703:9a18:45|262:3:c703:e838:33|262:3:c703:7190:20|262:3:c704:d896:17|,02,44,,31,,4.20,0,0,86/44/24,,,,26,02264DFF6E16:69|4C09D408554E:79|4C09D408554F:79|E0885DE705E5:81|E2885DE705E7:81|246511122CCC:83|,34925"));
+
+ verifyAttributes(decoder, text(
+ "FOLLOWIT,867273024233699,UTCTIME,0.000000,0.000000,0,0,0,0,L,262:3:c703:4bf8:64:1|262:3:c703:9a18:44|262:3:c703:e838:33|262:3:c703:7190:21|262:3:c704:d896:18|262:3:c703:71a6:13|262:3:c703:253d:13|,02,44,,22,,4.20,0,0,86/44/24,,,,30,02264DFF6E16:67|E0885DE705E5:87|B4A5EF284B94:88|E2885DE705E7:85|4C09D408554E:78|3481C4D71B13:43|,24033"));
+
+ 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,"));