aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-04 17:13:45 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-04 17:13:45 +1300
commitad55df29750fa9df1b37b9af34c2f744c4e0b4d4 (patch)
tree67d61e3cac4fc8802cade592e9ab4ca2b5089b3d /test
parent79b7b8145b69163d555d0be47f5c590a9ff3257b (diff)
downloadtrackermap-server-ad55df29750fa9df1b37b9af34c2f744c4e0b4d4.tar.gz
trackermap-server-ad55df29750fa9df1b37b9af34c2f744c4e0b4d4.tar.bz2
trackermap-server-ad55df29750fa9df1b37b9af34c2f744c4e0b4d4.zip
Refactor Telik protocol decoder
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/TelikProtocolDecoderTest.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/TelikProtocolDecoderTest.java b/test/org/traccar/protocol/TelikProtocolDecoderTest.java
index 4344fe070..49ea41165 100644
--- a/test/org/traccar/protocol/TelikProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/TelikProtocolDecoderTest.java
@@ -14,8 +14,12 @@ public class TelikProtocolDecoderTest extends ProtocolDecoderTest {
"0026436729|232|01|003002030"));
verifyPosition(decoder, text(
+ "182043672999,010100001301,0,270613041652,166653,475341,3,0,355,6,2,1,231,8112432,23201,01,00,217,0,0,0,0,7"),
+ position("2013-06-27 04:16:52.000", true, 47.53410, 16.66530));
+
+ verifyPosition(decoder, text(
"182043672999,010100001301,0,270613041652,166653,475341,3,0,355,6,2,1,231,8112432,23201,01,00,217,0,0,0,0,7"));
-
+
}
}