diff options
author | williamchitto <williamchitto@gmail.com> | 2012-08-06 11:41:33 -0300 |
---|---|---|
committer | williamchitto <williamchitto@gmail.com> | 2012-08-06 11:41:33 -0300 |
commit | 8524c56fafb4a9da0a3c33f972b134e8c50c8489 (patch) | |
tree | 68828cc57a74fb94672a4879f4397ac5e678d094 /test/org/traccar/protocol/Tk103ProtocolDecoderTest.java | |
parent | 5a80591e29ee7b05ed50737e3d5d6bb98c1f59a3 (diff) | |
parent | 07a1959bad3d024d79b10a98c306a6bb4385b5df (diff) | |
download | trackermap-server-8524c56fafb4a9da0a3c33f972b134e8c50c8489.tar.gz trackermap-server-8524c56fafb4a9da0a3c33f972b134e8c50c8489.tar.bz2 trackermap-server-8524c56fafb4a9da0a3c33f972b134e8c50c8489.zip |
Repo merged with upstream
Diffstat (limited to 'test/org/traccar/protocol/Tk103ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/Tk103ProtocolDecoderTest.java | 7 |
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")); + } } |