aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-14 02:04:25 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-14 02:04:25 +1300
commitc337d7b7c332b8b12c20cd7bc1b607547f1a9bb1 (patch)
tree9dd8fa92a67aebd73b5b0b1043046850002d1694 /test/org/traccar/protocol
parent4557cf912fada1dc249333aa05215b0116b8ebab (diff)
downloadtrackermap-server-c337d7b7c332b8b12c20cd7bc1b607547f1a9bb1.tar.gz
trackermap-server-c337d7b7c332b8b12c20cd7bc1b607547f1a9bb1.tar.bz2
trackermap-server-c337d7b7c332b8b12c20cd7bc1b607547f1a9bb1.zip
Add upro protocol test case
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/UproProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/UproProtocolDecoderTest.java b/test/org/traccar/protocol/UproProtocolDecoderTest.java
index 3af62da08..270caeab5 100644
--- a/test/org/traccar/protocol/UproProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/UproProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class UproProtocolDecoderTest extends ProtocolTest {
UproProtocolDecoder decoder = new UproProtocolDecoder(new UproProtocol());
verifyPosition(decoder, binary(
+ "2a4d473230313836383530303032303030343836372c414226413035303032343138313438373536303636303131373732323030303031313132313626583331302c3236302c34383837322c353639312c37333b34383837322c3732322c38363b34383837322c353639332c38383b34383837322c323336332c39303b34383837322c323336322c393726423030303030303030303026573030264e3230265a31342659313430303323"));
+
+ verifyPosition(decoder, binary(
"2a4d473230303639333530323030303033353537332c42412641303834313237333332363334353230373033383933373630303030303235313131362642303130303030303030302647303036323030264d393930264e3235264f3035303026433030313a363b363926510411058c0c125c0d0a2fff4237ee614d66454c140826555f50000000000300000000000000000026543139333723"));
verifyPosition(decoder, buffer(