diff options
Diffstat (limited to 'test/org/traccar/protocol/Tr20ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/Tr20ProtocolDecoderTest.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java b/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java deleted file mode 100644 index 89dd7a6e3..000000000 --- a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java +++ /dev/null @@ -1,25 +0,0 @@ -package org.traccar.protocol; - -import org.junit.Test; -import org.traccar.ProtocolTest; - -public class Tr20ProtocolDecoderTest extends ProtocolTest { - - @Test - public void testDecode() throws Exception { - - Tr20ProtocolDecoder decoder = new Tr20ProtocolDecoder(new Tr20Protocol()); - - verifyNull(decoder, text( - "%%TRACKPRO01,1")); - - verifyPosition(decoder, text( - "%%TR-10,A,050916070549,N2240.8887E11359.2994,0,000,NA,D3800000,150,CFG:resend|"), - position("2005-09-16 07:05:49.000", true, 22.68148, 113.98832)); - - verifyPosition(decoder, text( - "%%TR-10,A,050916070549,N2240.8887E11359.2994,0,000,NA,D3800000,150,CFG:resend|")); - - } - -} |