aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-21 02:24:13 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-21 02:24:13 +1300
commit94ca35f242acc39d528918eccda5f3f08c2f0c2d (patch)
treebcc7c1e060067cf548d4583560546c62cdacf3c5 /test/org
parent2449895139fa658d082c1085185003a001225bc3 (diff)
downloadtraccar-server-94ca35f242acc39d528918eccda5f3f08c2f0c2d.tar.gz
traccar-server-94ca35f242acc39d528918eccda5f3f08c2f0c2d.tar.bz2
traccar-server-94ca35f242acc39d528918eccda5f3f08c2f0c2d.zip
Add Pricol unit test
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/PricolProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/PricolProtocolDecoderTest.java b/test/org/traccar/protocol/PricolProtocolDecoderTest.java
index 3826d56c4..0c792a8ec 100644
--- a/test/org/traccar/protocol/PricolProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/PricolProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class PricolProtocolDecoderTest extends ProtocolTest {
PricolProtocolDecoder decoder = new PricolProtocolDecoder(new PricolProtocol());
+ verifyPosition(decoder, binary(
+ "3c5052493030303350020000011402110b222b0455152e4e001de819ca450000000000000003820249000000000000000000000000000000000000000040003e"));
+
verifyNotNull(decoder, binary(
"3c544553303030324b02000000000000000000000000000000000000000000000000000000037c01f4000000000000000000000000000000000000000000003e"));