diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-12-14 21:07:57 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-12-14 21:07:57 -0800 |
commit | 9c4dcf3c38aa1a40025df55c344cb2311e0784a5 (patch) | |
tree | 26d5e5ef0246344306a2da20b430d67d022fcedf /test/org/traccar/protocol | |
parent | 757d5c176f84834de6b20000692e8f6bd7d57edc (diff) | |
download | trackermap-server-9c4dcf3c38aa1a40025df55c344cb2311e0784a5.tar.gz trackermap-server-9c4dcf3c38aa1a40025df55c344cb2311e0784a5.tar.bz2 trackermap-server-9c4dcf3c38aa1a40025df55c344cb2311e0784a5.zip |
Add H002 unit tests
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/Pt60ProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java b/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java index c96bf9c3b..1ba8d25c7 100644 --- a/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java @@ -10,6 +10,12 @@ public class Pt60ProtocolDecoderTest extends ProtocolTest { Pt60ProtocolDecoder decoder = new Pt60ProtocolDecoder(null); + verifyNull(decoder, text( + "@B#@|01|006|864891030184954|9425010450971470|20181213093127|2|1|")); + + verifyNull(decoder, text( + "@B#@|01|006|864891030184954|9425010450971470|20181213093235|40412,10461,1,425,4|2|1|")); + verifyNotNull(decoder, text( "@B#@|01|001|864891030184852|9425010450971470|1|84|20181205161005|40412,10461,1,425,10|2|")); |