diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-20 05:57:33 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-20 14:58:33 +1200 |
commit | 849878cf105baed2348c605f7232012efb294480 (patch) | |
tree | f6092fe3bb0f435349e147688a873513d5289637 /test/org/traccar/protocol | |
parent | 6a40551d0e1d63fbb68f0401be73a4c64db4ca64 (diff) | |
download | traccar-server-849878cf105baed2348c605f7232012efb294480.tar.gz traccar-server-849878cf105baed2348c605f7232012efb294480.tar.bz2 traccar-server-849878cf105baed2348c605f7232012efb294480.zip |
Add genx format setter
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/GenxProtocolDecoderTest.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GenxProtocolDecoderTest.java b/test/org/traccar/protocol/GenxProtocolDecoderTest.java index 5e99b8fb8..43d9e7d6e 100644 --- a/test/org/traccar/protocol/GenxProtocolDecoderTest.java +++ b/test/org/traccar/protocol/GenxProtocolDecoderTest.java @@ -16,6 +16,11 @@ public class GenxProtocolDecoderTest extends ProtocolTest { verifyPosition(decoder, text( "000036004130,08/31/2017 17:24:37,45.47257,-73.65506,3,0,117,1.14,124,ON,1489,0,5,N,0,0.000,-95.0,-1.0,0,0.0000,0.0000,0.000,0,0.00,0.00,0.00,NA,U,UUU,0,-95.0,U")); + decoder.setReportColumns("1,2,3,4"); + + verifyPosition(decoder, text( + "000036035855,04/16/2017 21:19:07,45.46485,-73.65424,24,32,61:213,342.51,157,ON,20984,0,12,O,18,0.000,95.0,24.0,1990,64.0894,0.0219,316.009,71,0.00,16.78,5.10,NA,U,UUU,0,-95.0,U")); + } } |