aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-03 12:41:03 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-03 12:41:03 +1300
commit15079797152451e6d04af6527ab4a38209dce1d7 (patch)
tree478eea8b7dfcd8a938a345b4e17c8cf0d8080ac9 /test
parentc27a9280838a20a18df2fdabbf5de1db85cab39d (diff)
downloadtrackermap-server-15079797152451e6d04af6527ab4a38209dce1d7.tar.gz
trackermap-server-15079797152451e6d04af6527ab4a38209dce1d7.tar.bz2
trackermap-server-15079797152451e6d04af6527ab4a38209dce1d7.zip
Refactor TR900 protocol decoder
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Tr900ProtocolDecoderTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/Tr900ProtocolDecoderTest.java b/test/org/traccar/protocol/Tr900ProtocolDecoderTest.java
index 627b2296f..ddcacba1c 100644
--- a/test/org/traccar/protocol/Tr900ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Tr900ProtocolDecoderTest.java
@@ -11,7 +11,8 @@ public class Tr900ProtocolDecoderTest extends ProtocolDecoderTest {
Tr900ProtocolDecoder decoder = new Tr900ProtocolDecoder(new Tr900Protocol());
verifyPosition(decoder, text(
- ">00001001,4,1,150626,131252,W05830.2978,S3137.2783,,00,348,18,00,003-000,0,3,11111011*3b!"));
+ ">00001001,4,1,150626,131252,W05830.2978,S3137.2783,,00,348,18,00,003-000,0,3,11111011*3b!"),
+ position("2015-06-26 13:12:52.000", true, -31.62131, -58.50496));
verifyPosition(decoder, text(
">12345678,1,1,070201,144111,W05829.2613,S3435.2313,,00,034,25,00,126-000,0,3,11111111*2d!"));