aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-03-20 11:15:32 -0700
committerAnton Tananaev <anton@traccar.org>2022-03-20 11:15:32 -0700
commit64b5b53e47b08088f832556f5ce3e10a36fc4420 (patch)
treed767f560129add0b726d6ecf3eeb9db501b1941c /src/test/java/org/traccar
parentbcb2eb7db5f34cf1aa25024fa41f226f7d99a0c7 (diff)
downloadtrackermap-server-64b5b53e47b08088f832556f5ce3e10a36fc4420.tar.gz
trackermap-server-64b5b53e47b08088f832556f5ce3e10a36fc4420.tar.bz2
trackermap-server-64b5b53e47b08088f832556f5ce3e10a36fc4420.zip
Add Xexun2 test case
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/Xexun2ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Xexun2ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Xexun2ProtocolDecoderTest.java
index 89c499016..9faccec01 100644
--- a/src/test/java/org/traccar/protocol/Xexun2ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Xexun2ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Xexun2ProtocolDecoderTest extends ProtocolTest {
var decoder = new Xexun2ProtocolDecoder(null);
verifyPositions(decoder, false, binary(
+ "faaf00140a5a8618810536243350005ed8e101005b64622880401b001482060864cc2296f840daa22aa884f008c87483c291efddc4f09fc2f49db3c058ef68005a9abe1ae8299d6449bac4e984e0c1d6baa8469d265ff2b60100cc00080000fb2e0013572a3600000002000000000000faaf"));
+
+ verifyPositions(decoder, false, binary(
"FAAF00140004863921033475388000AFB7D203003800380038F9608A7B801E0060820205788A205DF523D97844FDB90443D37844FDB90465CFB4FBF946B0E8CEF639095803F8CC00000002350000004000FA608A7BA81E0060820205788A205DF523D97844FDB90443D2F639095803F8CFB4FBF946B0E8CE7844FDB90465CD00000002350000004000FB608A7BD01E0060820205788A205DF523D97844FDB90443D2F639095803F8CFB4FBF946B0E8CE7844FDB90465CD00000002350000004000FAAF"));
verifyPositions(decoder, false, binary(