From ada5017992242333b6d62e53b47c4951e0050b9c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 10 Oct 2013 22:46:32 +1300 Subject: Fix atrack unit test --- test/org/traccar/protocol/AtrackProtocolDecoderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java b/test/org/traccar/protocol/AtrackProtocolDecoderTest.java index c0d146153..1c0938e3d 100644 --- a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java +++ b/test/org/traccar/protocol/AtrackProtocolDecoderTest.java @@ -15,7 +15,7 @@ public class AtrackProtocolDecoderTest { decoder.setDataManager(new TestDataManager()); int[] buf1 = {0xfe,0x02,0x00,0x01,0x41,0x04,0xd8,0xf1,0x96,0x82,0x00,0x01}; - assertNotNull(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertArray(buf1)))); + assertNull(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertArray(buf1)))); } -- cgit v1.2.3