aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-30 10:02:27 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-30 10:02:27 +1300
commit97db54d0defa6b44bd0d47b0749783417356c117 (patch)
tree36d81b1a5b1a26238ecbaa909106dcf58790e5ef /test/org/traccar
parent8d33847edb8975535991e7453100404068bcfacf (diff)
downloadtraccar-server-97db54d0defa6b44bd0d47b0749783417356c117.tar.gz
traccar-server-97db54d0defa6b44bd0d47b0749783417356c117.tar.bz2
traccar-server-97db54d0defa6b44bd0d47b0749783417356c117.zip
Add another GoSafe unit test case
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/GoSafeProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java b/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
index 6c36a2727..cc710def0 100644
--- a/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class GoSafeProtocolDecoderTest extends ProtocolTest {
GoSafeProtocolDecoder decoder = new GoSafeProtocolDecoder(new GoSafeProtocol());
verifyPositions(decoder, text(
+ "*GS16,356449062643845,141224290316,,SYS:G79;V1.13;V1.0.2,GPS:V;5;N24.694972;E46.680736;46;334;606;1.43,GSM:;;420;4;5655;4EB8;-57,COT:330034,ADC:13.31;3.83,DTT:27004;;0;0;0;1,OBD:064101000400000341057E04410304000341510104411001C203410F4B0341112904411F01AB0641010004000014490201FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF03410D21,FUL:28260"));
+
+ verifyPositions(decoder, text(
"*GS16,351535059439208,145425130316,,GPS:V;0;N0.000000;E0.000000;0;0;0;0.00;0.00,GSM:1;3;416;3;A8C;2820;-81;416;3;A8C;281F;-83;416;3;A8C;368A;-87;416;3;A8C;368B;-89;416;3;A8C;2C26;-103;416;3;A8C;3689;-107;416;3;A8C;2D83;-107"));
verifyPosition(decoder, text(