aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-05 23:06:32 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-05 23:06:32 +1300
commitd7e99c8c537a53e5d49c409983ef5147ef36e4e3 (patch)
tree10e48b26e76899abe4fa5e7cedb68c0ab63d3a9e /test/org/traccar/protocol
parent6b4475237201b4e4bb6b161966cf6c8518b25f85 (diff)
downloadtrackermap-server-d7e99c8c537a53e5d49c409983ef5147ef36e4e3.tar.gz
trackermap-server-d7e99c8c537a53e5d49c409983ef5147ef36e4e3.tar.bz2
trackermap-server-d7e99c8c537a53e5d49c409983ef5147ef36e4e3.zip
Refactor Intellitrac protocol decoder
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/IntellitracProtocolDecoderTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java b/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java
index aace40f15..23d7fb48a 100644
--- a/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java
@@ -14,7 +14,8 @@ public class IntellitracProtocolDecoderTest extends ProtocolDecoderTest {
"$OK:TRACKING"));
verifyPosition(decoder, text(
- "101000001,20100304075545,121.64547,25.06200,0,0,61,7,2,1,0,0.046,0.000,20100304075546,0"));
+ "101000001,20100304075545,121.64547,25.06200,0,0,61,7,2,1,0,0.046,0.000,20100304075546,0"),
+ position("2010-03-04 07:55:45.000", true, 25.06200, 121.64547));
verifyPosition(decoder, text(
"1010000002,20030217132813,121.646060,25.061725,20,157,133,7,0,11,15,0.096,0.000"));