diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-15 08:14:36 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-15 08:14:36 +1300 |
commit | 974fccb9b808f2ff615f9c9e04f3b722301d2ace (patch) | |
tree | aba39a8343a43dc184fe5774be5f7150b758a16b | |
parent | 46d286fbe1d023c8cfee78f876e8f9612249927b (diff) | |
download | trackermap-server-974fccb9b808f2ff615f9c9e04f3b722301d2ace.tar.gz trackermap-server-974fccb9b808f2ff615f9c9e04f3b722301d2ace.tar.bz2 trackermap-server-974fccb9b808f2ff615f9c9e04f3b722301d2ace.zip |
Add u-pro unit test case
-rw-r--r-- | test/org/traccar/protocol/UproProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/UproProtocolDecoderTest.java b/test/org/traccar/protocol/UproProtocolDecoderTest.java index c58a748a1..82d159d18 100644 --- a/test/org/traccar/protocol/UproProtocolDecoderTest.java +++ b/test/org/traccar/protocol/UproProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class UproProtocolDecoderTest extends ProtocolTest { UproProtocolDecoder decoder = new UproProtocolDecoder(new UproProtocol()); + verifyNothing(decoder, text( + "*AI2000905447674,BA&A2003064913201201845107561627121016&B0100000000&C05>8=961&F0333&K023101002154A7#")); + verifyPosition(decoder, text( "*AI200905300036,AH&A0317264913209801844913060000251115&B0500000000&C0;4?72:9&F0000#")); |