diff options
Diffstat (limited to 'test/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoderTest.java')
-rw-r--r-- | test/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoderTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoderTest.java b/test/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoderTest.java index e318fe5fb..ba4a97e14 100644 --- a/test/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoderTest.java +++ b/test/net/sourceforge/opentracking/protocol/tk103/Tk103ProtocolDecoderTest.java @@ -30,12 +30,12 @@ public class Tk103ProtocolDecoderTest { @Test public void testDecode() throws Exception { - - String testMsg1 = "(035988863964BP05000035988863964110524A4241.7977N02318.7561E000.0123536356.5100000000L000946BB"; + Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(new TestDataManager(), 0); - Position position = (Position) decoder.decode(null, null, testMsg1); + + assertNotNull(decoder.decode(null, null, + "(035988863964BP05000035988863964110524A4241.7977N02318.7561E000.0123536356.5100000000L000946BB")); - assertEquals(true, position.getValid()); } } |