aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-28 14:04:53 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-28 14:04:53 +1300
commit997ea52de4da2ac0ebbd332982dba70cba30a069 (patch)
treea93c2c6d62abd6376f23e7060ee2471e8aced67d /test
parent6e594f07b8f1236e000952601ce2d6ff7aa0575a (diff)
downloadtraccar-server-997ea52de4da2ac0ebbd332982dba70cba30a069.tar.gz
traccar-server-997ea52de4da2ac0ebbd332982dba70cba30a069.tar.bz2
traccar-server-997ea52de4da2ac0ebbd332982dba70cba30a069.zip
Refactor Carscop protocol decoder
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/CarscopProtocolDecoderTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/CarscopProtocolDecoderTest.java b/test/org/traccar/protocol/CarscopProtocolDecoderTest.java
index eff28224f..5723ca843 100644
--- a/test/org/traccar/protocol/CarscopProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/CarscopProtocolDecoderTest.java
@@ -11,7 +11,8 @@ public class CarscopProtocolDecoderTest extends ProtocolDecoderTest {
CarscopProtocolDecoder decoder = new CarscopProtocolDecoder(new CarscopProtocol());
verifyPosition(decoder, text(
- "*040331141830UB05123456789012345061825A2934.0133N10627.2544E000.0040331309.6200000000L000000"));
+ "*040331141830UB05123456789012345061825A2934.0133N10627.2544E000.0040331309.6200000000L000000"),
+ position("2004-03-31 06:18:25.000", true, 29.56689, 106.45424));
verifyPosition(decoder, text(
"*040331141830UB04999999984061825A2934.0133N10627.2544E000.0040331309.6200000000L000000"));