diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-04 10:54:48 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-04 10:54:48 +1300 |
commit | 93fd4f3618b2a9f5b83cf8ba5b8312bf411969db (patch) | |
tree | 31f4f4800d1d600cda293e0d20069e63572e5e18 /test/org/traccar | |
parent | d4685d72f8183dedfccbca9756a00948ad8d6aa8 (diff) | |
download | trackermap-server-93fd4f3618b2a9f5b83cf8ba5b8312bf411969db.tar.gz trackermap-server-93fd4f3618b2a9f5b83cf8ba5b8312bf411969db.tar.bz2 trackermap-server-93fd4f3618b2a9f5b83cf8ba5b8312bf411969db.zip |
Refactor Enfora protocol decoder
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/EnforaProtocolDecoderTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/EnforaProtocolDecoderTest.java b/test/org/traccar/protocol/EnforaProtocolDecoderTest.java index da1427611..0333d57e9 100644 --- a/test/org/traccar/protocol/EnforaProtocolDecoderTest.java +++ b/test/org/traccar/protocol/EnforaProtocolDecoderTest.java @@ -17,7 +17,8 @@ public class EnforaProtocolDecoderTest extends ProtocolDecoderTest { "003B000502000000000820202020202030313130373030303035373032363720383A000000000D00508401358E640032B37700000367B00000A804")); verifyPosition(decoder, binary( - "007100040200202020202020202020382020202020202031323334353637383930313233343520313320244750524D432C3232333135322E30302C412C333530392E3836303539342C4E2C30333332322E3734333838372C452C302E302C302E302C3032303631322C2C2C412A35320D0A")); + "007100040200202020202020202020382020202020202031323334353637383930313233343520313320244750524D432C3232333135322E30302C412C333530392E3836303539342C4E2C30333332322E3734333838372C452C302E302C302E302C3032303631322C2C2C412A35320D0A"), + position("2012-06-02 22:31:52.000", true, 35.16434, 33.37906)); verifyPosition(decoder, binary( "007600040200202020202020202020382020202020202030313138393230303036303831383920313320244750524D432C3137313834312E30302C412C333530392E3835323431302C4E2C30333332322E3735393131332C452C302E302C302E302C3137303731322C332E342C572C412A32350D0A00")); |