From c6b51634422b10766db0898b600cbc1acca94d0b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 6 Sep 2014 12:24:57 +1200 Subject: Update teltonika unit test --- test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') 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})))); + } } -- cgit v1.2.3