aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-08-20 20:33:54 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-08-20 20:33:54 +1200
commitc55cba60e673ffbff8219588c89012aebffd9625 (patch)
treee728a7d06693f419b29f6c343a206b1d24cc2baa
parentb5aa84f094b04ce17fb12fb42f5b904345094ca5 (diff)
downloadtrackermap-server-c55cba60e673ffbff8219588c89012aebffd9625.tar.gz
trackermap-server-c55cba60e673ffbff8219588c89012aebffd9625.tar.bz2
trackermap-server-c55cba60e673ffbff8219588c89012aebffd9625.zip
Fix Totem unit test
-rw-r--r--test/org/traccar/protocol/TotemProtocolDecoderTest.java3
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,