diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-16 07:14:37 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-16 07:14:37 +1200 |
commit | 17f9739cf7f9db0ac974598b76eee1d3082174f4 (patch) | |
tree | 58bd7a1abc33385ba3edc0319e68b80ed136fa71 /test/org/traccar/protocol/NoranProtocolDecoderTest.java | |
parent | 3c634fb3c10f8d560b03f87d333ca3cc26281a8a (diff) | |
download | trackermap-server-17f9739cf7f9db0ac974598b76eee1d3082174f4.tar.gz trackermap-server-17f9739cf7f9db0ac974598b76eee1d3082174f4.tar.bz2 trackermap-server-17f9739cf7f9db0ac974598b76eee1d3082174f4.zip |
Add new Noran test cases
Diffstat (limited to 'test/org/traccar/protocol/NoranProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/NoranProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/NoranProtocolDecoderTest.java b/test/org/traccar/protocol/NoranProtocolDecoderTest.java index abe21c68e..1b7287e7b 100644 --- a/test/org/traccar/protocol/NoranProtocolDecoderTest.java +++ b/test/org/traccar/protocol/NoranProtocolDecoderTest.java @@ -12,6 +12,12 @@ public class NoranProtocolDecoderTest extends ProtocolTest { NoranProtocolDecoder decoder = new NoranProtocolDecoder(new NoranProtocol()); + verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN, + "0d0a2a4b57000d000080010d0a")); + + verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN, + "34000800010b0000000000003f43bb8da6c2ebe229424e523039423233343439000031362d30392d31352030373a30303a303700")); + verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN, "28003200c380000000469458408c4ad340ad381e3f4e52303947313336303900000001ff00002041")); |