diff options
author | Anton Tananaev <anton@traccar.org> | 2022-10-18 06:38:53 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-10-18 06:38:53 -0700 |
commit | ca504df5720f1b26830f9f5f4099d1e9903ea2f1 (patch) | |
tree | 9821a3b17a08ca29bb3eb2954eaedde49a33d7a8 /src/test/java | |
parent | ab6df268d8b22b1d99c1b6ee1770a50d56b784e3 (diff) | |
download | trackermap-server-ca504df5720f1b26830f9f5f4099d1e9903ea2f1.tar.gz trackermap-server-ca504df5720f1b26830f9f5f4099d1e9903ea2f1.tar.bz2 trackermap-server-ca504df5720f1b26830f9f5f4099d1e9903ea2f1.zip |
Add BCE test case
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/traccar/protocol/BceProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/BceProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/BceProtocolDecoderTest.java index 4117833c0..89ab64cd3 100644 --- a/src/test/java/org/traccar/protocol/BceProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/BceProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class BceProtocolDecoderTest extends ProtocolTest { var decoder = inject(new BceProtocolDecoder(null)); + verifyPositions(decoder, binary( + "18ed450cf3140300c800a53a62972f7bde03c0ffffc0814000e03e354135e34b42121c55fb0000000000d18c060103025d19ab00540000000000000000000000000000000000000000000000000000000000000000000000000000000000000017b5c400000000000000010104080162a72f7bde03c0ffffc0814000ef3e8e4431e34b42061c54fc0000000000d18c060103025d19ab00540000000000000000000000000000000000000000000000000000000000000000000000000000000000000017b5c400000000000000010100000053")); + verifyNull(decoder, binary( "3ab90b71bc1503000300c10bff11")); |