diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2014-08-17 23:25:01 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2014-08-17 23:25:01 +1200 |
commit | 600aca2812a3fef2480ac55c0587676cef79246f (patch) | |
tree | 65aae670d4aa9863abd65ec72856813792336a4a | |
parent | ae907298008337e2662fde60ab976ac564e6837c (diff) | |
download | traccar-server-600aca2812a3fef2480ac55c0587676cef79246f.tar.gz traccar-server-600aca2812a3fef2480ac55c0587676cef79246f.tar.bz2 traccar-server-600aca2812a3fef2480ac55c0587676cef79246f.zip |
Fix teltonika test case
-rw-r--r-- | test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java b/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java index 6614b31c2..381940faf 100644 --- a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java +++ b/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java @@ -39,7 +39,7 @@ public class TeltonikaProtocolDecoderTest { assertNull(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertArray( new int[] {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2d,0x0c,0x01,0x06,0x00,0x00,0x00,0x25,0x23,0x46,0x4d,0x32,0x3d,0x32,0x36,0x32,0x30,0x33,0x32,0x37,0x36,0x31,0x37,0x32,0x31,0x33,0x39,0x36,0x2c,0x32,0x36,0x32,0x30,0x33,0x2c,0x30,0x37,0x2e,0x30,0x32,0x2e,0x30,0x35,0x0d,0x0a,0x01,0x00,0x00,0x9a,0x2e})))); - verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertArray( + 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})))); } |