aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-01 17:45:51 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-01 17:45:51 +1300
commit1def68657a59e56d2b46a0dfab77a39beed36824 (patch)
tree515dcd55160a5233696bc874e82bced9292ba259 /test
parent671dbc55419dd20ba16951529b28fa90a59b189a (diff)
downloadtrackermap-server-1def68657a59e56d2b46a0dfab77a39beed36824.tar.gz
trackermap-server-1def68657a59e56d2b46a0dfab77a39beed36824.tar.bz2
trackermap-server-1def68657a59e56d2b46a0dfab77a39beed36824.zip
Refactor TR20 protocol decoder
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Tr20ProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java b/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java
index 2bf504176..ccf1bb2fd 100644
--- a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java
@@ -13,6 +13,10 @@ public class Tr20ProtocolDecoderTest extends ProtocolDecoderTest {
verifyNothing(decoder, text( "%%TRACKPRO01,1"));
verifyPosition(decoder, text(
+ "%%TR-10,A,050916070549,N2240.8887E11359.2994,0,000,NA,D3800000,150,CFG:resend|"),
+ position("2005-09-16 07:05:49.000", true, 22.68148, 113.98832));
+
+ verifyPosition(decoder, text(
"%%TR-10,A,050916070549,N2240.8887E11359.2994,0,000,NA,D3800000,150,CFG:resend|"));
}