aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/Tk103ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Tk103ProtocolDecoderTest.java17
1 files changed, 9 insertions, 8 deletions
diff --git a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
index 90d49b69a..91d438f58 100644
--- a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
@@ -1,6 +1,7 @@
package org.traccar.protocol;
-import static org.junit.Assert.assertNotNull;
+import org.traccar.helper.TestDataManager;
+import static org.traccar.helper.DecoderVerifier.verify;
import static org.junit.Assert.assertNull;
import org.junit.Test;
@@ -14,25 +15,25 @@ public class Tk103ProtocolDecoderTest {
assertNull(decoder.decode(null, null, "(090411121854BP0000001234567890HSO"));
- assertNotNull(decoder.decode(null, null,
+ verify(decoder.decode(null, null,
"(035988863964BP05000035988863964110524A4241.7977N02318.7561E000.0123536356.5100000000L000946BB"));
- assertNotNull(decoder.decode(null, null,
+ verify(decoder.decode(null, null,
"(013632782450BP05000013632782450120803V0000.0000N00000.0000E000.0174654000.0000000000L00000000"));
- assertNotNull(decoder.decode(null, null,
+ verify(decoder.decode(null, null,
"(013666666666BP05000013666666666110925A1234.5678N01234.5678W000.002033490.00000000000L000024DE"));
- assertNotNull(decoder.decode(null, null,
+ verify(decoder.decode(null, null,
"(013666666666BO012110925A1234.5678N01234.5678W000.0025948118.7200000000L000024DE"));
- assertNotNull(decoder.decode(null, null,
+ verify(decoder.decode(null, null,
"\n\n\n(088045133878BR00130228A5124.5526N00117.7152W000.0233614352.2200000000L01B0CF1C"));
- assertNotNull(decoder.decode(null, null,
+ verify(decoder.decode(null, null,
"(008600410203BP05000008600410203130721A4152.5790N01239.2770E000.0145238173.870100000AL0000000"));
- assertNotNull(decoder.decode(null, null,
+ verify(decoder.decode(null, null,
"(013012345678BR00130515A4843.9703N01907.6211E000.019232800000000000000L00009239"));
}