diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-09-25 18:57:04 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-09-25 18:57:04 +1200 |
commit | 2ad522b24213fc04e88329978001d3c95fef9070 (patch) | |
tree | afe85917f5de906748f68612421afb1d88b1fc63 | |
parent | d01c0acb499555ab1e5fc1592a3dced5cce2a677 (diff) | |
download | traccar-server-2ad522b24213fc04e88329978001d3c95fef9070.tar.gz traccar-server-2ad522b24213fc04e88329978001d3c95fef9070.tar.bz2 traccar-server-2ad522b24213fc04e88329978001d3c95fef9070.zip |
Add test cases
-rw-r--r-- | test/org/traccar/protocol/MeitrackProtocolDecoderTest.java | 3 | ||||
-rw-r--r-- | test/org/traccar/protocol/V680ProtocolDecoderTest.java | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java index 982fb3514..e9b082951 100644 --- a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java +++ b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java @@ -28,6 +28,9 @@ public class MeitrackProtocolDecoderTest { assertNotNull(decoder.decode(null, null, "$$A141,012896005334567,AAA,35,-33.866543,151.190148,121209081758,A,6,27,0,16,1,48,65551,152784,505|2|0B5F|D9D3,0000,0000|0000|0000|0A39|0000,,*5B")); + + assertNotNull(decoder.decode(null, null, + "$$_128,861074020109479,AAA,34,22.512618,114.057065,090215000318,V,0,31,0,0,0,0,0,733,302|720|3EE4|BBB5,0000,0006|0006||028C|0000,*E3")); } diff --git a/test/org/traccar/protocol/V680ProtocolDecoderTest.java b/test/org/traccar/protocol/V680ProtocolDecoderTest.java index 6bddcfe4e..02f34d7ed 100644 --- a/test/org/traccar/protocol/V680ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/V680ProtocolDecoderTest.java @@ -50,6 +50,9 @@ public class V680ProtocolDecoderTest { assertNotNull(decoder.decode(null, null, "#135790246811222#13486119277#1#0000#SOS#1#27bc10af#11407.4182,E,2232.7632,N,0.00,79.50#070709#134147.000##")); + + /*assertNotNull(decoder.decode(null, null, + "#359094025419110#bigfriend#0#1234#AUTO#1##04632.8846,W,2327.2264,S,0.00,0.00#220913#234808##"));*/ } |