aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-27 18:15:10 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-27 18:15:10 +1300
commit09deb7177affb859a876f152bd0b56ba2c9c6d4d (patch)
tree11f06d2ac9cd8127b71ff3384493412e2ff217e7 /test/org/traccar
parent6a626a234967bf3a6037dc1e3d5bc28b4de05920 (diff)
downloadtrackermap-server-09deb7177affb859a876f152bd0b56ba2c9c6d4d.tar.gz
trackermap-server-09deb7177affb859a876f152bd0b56ba2c9c6d4d.tar.bz2
trackermap-server-09deb7177affb859a876f152bd0b56ba2c9c6d4d.zip
Update Gator decoder tests
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/GatorProtocolDecoderTest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/GatorProtocolDecoderTest.java b/test/org/traccar/protocol/GatorProtocolDecoderTest.java
index 3169cc095..c19718be3 100644
--- a/test/org/traccar/protocol/GatorProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GatorProtocolDecoderTest.java
@@ -24,13 +24,15 @@ public class GatorProtocolDecoderTest extends ProtocolDecoderTest {
"242421000643e30282070d"));
verifyPosition(decoder, binary(
- "24248000260009632d141121072702059226180104367500000000c04700079c0c34000ad80b00ff000a0d"));
+ "24248000260009632d141121072702059226180104367500000000c04700079c0c34000ad80b00ff000a0d"),
+ position("2014-11-21 07:27:02.000", true, 59.37697, 10.72792));
verifyPosition(decoder, binary(
"24248100230CA23285100306145907022346901135294700000000C04001012C0E1100000021CB0D"));
verifyPosition(decoder, binary(
- "2424800023c2631e00111220104909833268648703804100000000c0470000000b4e00000000550d"));
+ "2424800023c2631e00111220104909833268648703804100000000c0470000000b4e00000000550d"),
+ position("2011-12-20 10:49:09.000", true, -33.44773, -70.63402));
verifyPosition(decoder, binary(
"24248000260009632d141121072702059226180104367500000000c04700079c0c34000ad80b00ff000a0d"));