aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-11-01 22:57:10 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-11-01 22:57:10 +1300
commitc62dd84c7ad4061c0c6d8a521c63857ccde461ba (patch)
treeb664b0a5b3ce57020aa1cf48dbd6400313d72bb5 /test
parente82169ab20c6762d522168bbc062acf54e516777 (diff)
downloadtraccar-server-c62dd84c7ad4061c0c6d8a521c63857ccde461ba.tar.gz
traccar-server-c62dd84c7ad4061c0c6d8a521c63857ccde461ba.tar.bz2
traccar-server-c62dd84c7ad4061c0c6d8a521c63857ccde461ba.zip
Support iStartrek VT900 protocol
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
index 020078f4a..f5f3b3057 100644
--- a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class MeiligaoProtocolDecoderTest extends ProtocolTest {
MeiligaoProtocolDecoder decoder = new MeiligaoProtocolDecoder(new MeiligaoProtocol());
+ verifyPosition(decoder, binary(
+ "2424010a142170525979ff9999753137353830322e3030302c412c313330362e303639342c4e2c31303035342e323439302c452c302e30302c3331332c3234313031372c2c2a30457c302e397c377c323530307c303030302c303030302c303130312c303241447c30323038303030353043313330313638353333427c30427c30303032313034357c30417c2520205e59454e53414241494348414924534f4e474b52414e244d522e5e5e3f3b363030373634333130303530303337333835333d3135303531393637303631343d3f2b202020202020202020202020203234202020202020202020202020312020202020202020202020203030303431313120203030313030545c0d0a"));
+
verifyPositions(decoder, binary(
"2424006661172036237118668801003039333630342e3030302c562c303330332e333231352c4e2c31303134372e313530302c452c302e30302c2c3235313031377c302e307c302e307c303030307c303030302c303030307c30303030303230343259ca0d0a"));