aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-10-10 22:46:32 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-10-10 22:46:32 +1300
commitada5017992242333b6d62e53b47c4951e0050b9c (patch)
tree00bbd4feb9be204fd4501d56eb16a6bb2539ec0a /test
parent3d8cfc4e0c33a0a9ca5c18b5cc24bc5e91895355 (diff)
downloadtrackermap-server-ada5017992242333b6d62e53b47c4951e0050b9c.tar.gz
trackermap-server-ada5017992242333b6d62e53b47c4951e0050b9c.tar.bz2
trackermap-server-ada5017992242333b6d62e53b47c4951e0050b9c.zip
Fix atrack unit test
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/AtrackProtocolDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
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))));
}