diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-08-20 20:33:54 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-08-20 20:33:54 +1200 |
commit | c55cba60e673ffbff8219588c89012aebffd9625 (patch) | |
tree | e728a7d06693f419b29f6c343a206b1d24cc2baa /test/org | |
parent | b5aa84f094b04ce17fb12fb42f5b904345094ca5 (diff) | |
download | trackermap-server-c55cba60e673ffbff8219588c89012aebffd9625.tar.gz trackermap-server-c55cba60e673ffbff8219588c89012aebffd9625.tar.bz2 trackermap-server-c55cba60e673ffbff8219588c89012aebffd9625.zip |
Fix Totem unit test
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/TotemProtocolDecoderTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/TotemProtocolDecoderTest.java b/test/org/traccar/protocol/TotemProtocolDecoderTest.java index 9e415592b..8572f1998 100644 --- a/test/org/traccar/protocol/TotemProtocolDecoderTest.java +++ b/test/org/traccar/protocol/TotemProtocolDecoderTest.java @@ -1,6 +1,7 @@ package org.traccar.protocol; import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; import org.junit.Test; public class TotemProtocolDecoderTest { @@ -11,7 +12,7 @@ public class TotemProtocolDecoderTest { TotemProtocolDecoder decoder = new TotemProtocolDecoder(null); decoder.setDataManager(new TestDataManager()); - assertNotNull(decoder.decode(null, null, + assertNull(decoder.decode(null, null, "$$BB862170017856731|AA$GPRMC,000000.00,V,0000.0000,N,00000.0000,E,000.0,000.0,000000,,,A*73|00.0|00.0|00.0|000000001000|20000000000000|13790000|00000000|00000000|00000000|0.0000|0007|8C23")); assertNotNull(decoder.decode(null, null, |