aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-19 11:44:53 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-19 11:44:53 +1300
commitc46e2e86536abfe36096e4d86cd3d82f0d4e64eb (patch)
tree2f0d21d03de77f5c44fe01c88f0173de04d06e7e /test
parentdbd6de7e462a6e9f52cba1168beeba5ce9773051 (diff)
downloadtraccar-server-c46e2e86536abfe36096e4d86cd3d82f0d4e64eb.tar.gz
traccar-server-c46e2e86536abfe36096e4d86cd3d82f0d4e64eb.tar.bz2
traccar-server-c46e2e86536abfe36096e4d86cd3d82f0d4e64eb.zip
Partially refactor totem decoder
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/TotemProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TotemProtocolDecoderTest.java b/test/org/traccar/protocol/TotemProtocolDecoderTest.java
index fd08798e0..28b08b055 100644
--- a/test/org/traccar/protocol/TotemProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/TotemProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class TotemProtocolDecoderTest extends ProtocolDecoderTest {
TotemProtocolDecoder decoder = new TotemProtocolDecoder(new TotemProtocol());
+ // $$0128AA867521029231005|1880100015101802314842140000000000000000000000001AB48366093127600000.900000000806.1947N09818.4795E080355
+ // $$0108AA864244026063437|1A0000001401010101014111000027BA0E57003100000000.000000000000.0000N00000.0000E048156
+
verify(decoder.decode(null, null,
"$$BE863771024392112|AA$GPRMC,044704.000,A,1439.3334,N,12059.1417,E,0.00,0.00,200815,,,A*67|01.7|00.8|01.4|000000000000|20150820044704|14291265|00000000|4EECBF8B31|0000|0.0000|0002|00000|56E7"));