aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-04-23 22:50:44 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-04-23 22:50:44 +1200
commit34e2554f43e621c3432abc9f53fffd82061c30ce (patch)
tree632820bb83a87ff938a551f74e855e137bbfe601 /test/org/traccar/protocol
parenta88165807ab5ac62a843db581fe22ebd22abee41 (diff)
downloadtraccar-server-34e2554f43e621c3432abc9f53fffd82061c30ce.tar.gz
traccar-server-34e2554f43e621c3432abc9f53fffd82061c30ce.tar.bz2
traccar-server-34e2554f43e621c3432abc9f53fffd82061c30ce.zip
Ignore messages without location
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/UlbotechProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java b/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
index e680ec6af..5e5433925 100644
--- a/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
@@ -14,6 +14,9 @@ public class UlbotechProtocolDecoderTest extends ProtocolDecoderTest {
public void testDecode() throws Exception {
UlbotechProtocolDecoder decoder = new UlbotechProtocolDecoder(null);
+
+ verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(
+ "f8010103545500500179009ccb4b62010e00144db906310d3f0000000000cb0304000000000404000a8123050603211860221006080000000100000000ef97f8"))));
verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(
"F80101035785203457289495D60235010E016175A506C2C838000000000064"))));