aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-12-06 10:50:58 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-12-06 10:50:58 +1300
commitf06ef203a480f0184e97daa64432e4e777e1b95f (patch)
tree07fdcd7f30c8a5be8a6c3035e8123bcbfccc810e /test/org
parentf61f79c2068c7ed384247107543f27dd19ee2a5a (diff)
downloadtraccar-server-f06ef203a480f0184e97daa64432e4e777e1b95f.tar.gz
traccar-server-f06ef203a480f0184e97daa64432e4e777e1b95f.tar.bz2
traccar-server-f06ef203a480f0184e97daa64432e4e777e1b95f.zip
Decode PT60 cell information
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/Pt60ProtocolDecoderTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java b/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java
index f41ff90e6..c96bf9c3b 100644
--- a/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java
@@ -10,8 +10,11 @@ public class Pt60ProtocolDecoderTest extends ProtocolTest {
Pt60ProtocolDecoder decoder = new Pt60ProtocolDecoder(null);
+ verifyNotNull(decoder, text(
+ "@B#@|01|001|864891030184852|9425010450971470|1|84|20181205161005|40412,10461,1,425,10|2|"));
+
verifyPosition(decoder, text(
- "@B#@|01|001|864891030184852|9425010450971470|1|45|20181127122717|32.701093|35.570938|1|@E#@"));
+ "@B#@|01|001|864891030184852|9425010450971470|1|45|20181127122717|32.701093|35.570938|1|"));
verifyNull(decoder, text(
"@B#@|01|003|864891030184954|9425010450971470|S6_EN_A_V1.3.7|0|66|20181122113251|40412,10461,1,425,18|49382,10461,1,425,9|40411,10461,1,425,7|2|"));