aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-09-06 12:24:57 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-09-06 12:24:57 +1200
commitc6b51634422b10766db0898b600cbc1acca94d0b (patch)
treebc840f91f820a22cc5ff275f490cc8d608ccc8b7 /test/org
parent66b62de750e75e1081ac8eeccca17f11b297d01a (diff)
downloadtraccar-server-c6b51634422b10766db0898b600cbc1acca94d0b.tar.gz
traccar-server-c6b51634422b10766db0898b600cbc1acca94d0b.tar.bz2
traccar-server-c6b51634422b10766db0898b600cbc1acca94d0b.zip
Update teltonika unit test
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java b/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
index 381940faf..1cd265cb4 100644
--- a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
@@ -42,6 +42,9 @@ public class TeltonikaProtocolDecoderTest {
assertNull(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertArray(
new int[] {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0a,0x0c,0x02,0x06,0x00,0x00,0x00,0x02,0x0d,0x0a,0x02,0x00,0x00,0x6f,0x4e}))));
+ verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertArray(
+ new int[] {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa6,0x08,0x01,0x00,0x00,0x01,0x3f,0x14,0xa1,0xd1,0xce,0x00,0x0f,0x0e,0xb7,0x90,0x20,0x9a,0x77,0x80,0x00,0xab,0x01,0x0c,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x33,0x90}))));
+
}
}