diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-08 11:43:38 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-08 11:43:38 +1200 |
commit | 5d9be1c5eebcd6da5a39a774a770a1020b7414dd (patch) | |
tree | 6988224b1b8a2a418bcff90649ccbfdf04c999f4 /test/org | |
parent | 718b65194f146b05a4100f35ce8008d3cff6540c (diff) | |
download | trackermap-server-5d9be1c5eebcd6da5a39a774a770a1020b7414dd.tar.gz trackermap-server-5d9be1c5eebcd6da5a39a774a770a1020b7414dd.tar.bz2 trackermap-server-5d9be1c5eebcd6da5a39a774a770a1020b7414dd.zip |
Implement Ulbotech acknowledgement
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/UlbotechProtocolDecoderTest.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java b/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java index c76912f18..cb2a06ba9 100644 --- a/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java +++ b/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class UlbotechProtocolDecoderTest extends ProtocolTest { UlbotechProtocolDecoder decoder = new UlbotechProtocolDecoder(new UlbotechProtocol()); + verifyNothing(decoder, buffer( + "*TS01,353323081464660#")); + verifyAttributes(decoder, buffer( "*TS01,868323025245751,134955140317,WFE:0#")); @@ -40,8 +43,8 @@ public class UlbotechProtocolDecoderTest extends ProtocolTest { verifyPosition(decoder, binary( "f8010103515790566431569e5fbb9d010e015ee2b906bde4a000000000009f03040a4000000404000115fe05060340173f22030711310583410c0000310d00312f834131000008040000b78c09077320290082c021100101120af8")); - verifyNothing(decoder, binary( - "2a545330312c33353430343330353133383934363023")); + verifyNothing(decoder, buffer( + "*TS01,354043051389460#")); verifyPosition(decoder, binary( "f8010108679650230646339de69054010e015ee17506bde2c60000000000ac0304024000000404000009f705060390181422170711310583410c0000310d00312f834131018608040003130a100101136cf8")); |