diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-10-26 23:53:52 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-10-26 23:53:52 +1300 |
commit | 65ffcb945a0cd62198d0570f9044114bb1e57528 (patch) | |
tree | edd3d60055e4f8575f0ed95139a175de35727f4d /test | |
parent | dcc7e0c6ed949604af5e62c671e293f582146bc0 (diff) | |
download | trackermap-server-65ffcb945a0cd62198d0570f9044114bb1e57528.tar.gz trackermap-server-65ffcb945a0cd62198d0570f9044114bb1e57528.tar.bz2 trackermap-server-65ffcb945a0cd62198d0570f9044114bb1e57528.zip |
Update D-WAY protocol decoder
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/DwayProtocolDecoderTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/org/traccar/protocol/DwayProtocolDecoderTest.java b/test/org/traccar/protocol/DwayProtocolDecoderTest.java index 481382535..be51f2b94 100644 --- a/test/org/traccar/protocol/DwayProtocolDecoderTest.java +++ b/test/org/traccar/protocol/DwayProtocolDecoderTest.java @@ -10,13 +10,13 @@ public class DwayProtocolDecoderTest extends ProtocolTest { DwayProtocolDecoder decoder = new DwayProtocolDecoder(new DwayProtocol()); - verifyNull(decoder, text( + verifyPosition(decoder, text( "AA55,36,10024,1,171025,161055,36.0294,-79.7881,201, 2.5,111,1000,0000,00000,3578,0,0,0,D")); - verifyNull(decoder, text( + verifyPosition(decoder, text( "AA55,115,318,1,171024,195059,28.0153,-82.4761,3, 1.0,319,1000,0000,00000,4244,0,0,0,D")); - verifyNull(decoder, text( + verifyPosition(decoder, text( "AA55,117,318,1,171025,153758,28.0152,-82.4759,19, 0.6,319,1000,0000,10000,4242,0,0,0,D")); verifyPosition(decoder, text( |