aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-08-04 10:09:43 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2012-08-04 10:09:43 +0400
commit4446fcbb76e29c6eade402c4a33f2d46ed147f72 (patch)
treec4a48381f9b65112d351fc84661e1dcc92cd830d /test
parentfba1e6f6f43b35a520a5bd09f45796287b06293f (diff)
downloadtraccar-server-4446fcbb76e29c6eade402c4a33f2d46ed147f72.tar.gz
traccar-server-4446fcbb76e29c6eade402c4a33f2d46ed147f72.tar.bz2
traccar-server-4446fcbb76e29c6eade402c4a33f2d46ed147f72.zip
Add example message
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Tk103ProtocolDecoderTest.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
index e294f6010..b30ea179f 100644
--- a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
@@ -7,12 +7,15 @@ public class Tk103ProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
-
+
Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(new TestDataManager(), 0);
-
+
assertNotNull(decoder.decode(null, null,
"(035988863964BP05000035988863964110524A4241.7977N02318.7561E000.0123536356.5100000000L000946BB"));
+ assertNotNull(decoder.decode(null, null,
+ "(013632782450BP05000013632782450120803V0000.0000N00000.0000E000.0174654000.0000000000L00000000"));
+
}
}