aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-30 00:25:53 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-30 00:25:53 +1300
commit5550458fdc7b2a960abe8102da71f64678aedf5f (patch)
treee9ae6444712a1c5fc210498e381ebfcf362e1c4c /test
parent35b82397627fa48505861ec69da34fa9164a60b5 (diff)
downloadtrackermap-server-5550458fdc7b2a960abe8102da71f64678aedf5f.tar.gz
trackermap-server-5550458fdc7b2a960abe8102da71f64678aedf5f.tar.bz2
trackermap-server-5550458fdc7b2a960abe8102da71f64678aedf5f.zip
Add GPSMTA unit test case
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/GpsmtaProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GpsmtaProtocolDecoderTest.java b/test/org/traccar/protocol/GpsmtaProtocolDecoderTest.java
index fb5e83900..cd1257de7 100644
--- a/test/org/traccar/protocol/GpsmtaProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GpsmtaProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class GpsmtaProtocolDecoderTest extends ProtocolDecoderTest {
GpsmtaProtocolDecoder decoder = new GpsmtaProtocolDecoder(new GpsmtaProtocol());
verifyPosition(decoder, text(
+ "864528021249771 1446116686 49.85073 24.004438 0 217 6 338 00 59 27 0 0"));
+
+ verifyPosition(decoder, text(
"359144048138856 1442932957 49.85064 24.003979 1 0 40 0 10 110 26 0 0"));
}