diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2014-09-26 21:39:51 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2014-09-26 21:39:51 +1200 |
commit | af90749859e9f3363b98866de88b91d4fd91693e (patch) | |
tree | 3750f0312033979b1d2496fc94927e72d7712230 /test/org | |
parent | 9c48f04dca57bfff84bea4000ec2bf93e228b7a3 (diff) | |
download | traccar-server-af90749859e9f3363b98866de88b91d4fd91693e.tar.gz traccar-server-af90749859e9f3363b98866de88b91d4fd91693e.tar.bz2 traccar-server-af90749859e9f3363b98866de88b91d4fd91693e.zip |
Add GL200 test case
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/Gl200ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java index 54c117159..cc1163227 100644 --- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java @@ -12,6 +12,9 @@ public class Gl200ProtocolDecoderTest { Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(null); decoder.setDataManager(new TestDataManager()); + + verify(decoder.decode(null, null, + "+RESP:GTFRI,02010D,867844001675407,,0,0,1,2,0.0,0,28.9,8.591011,56.476397,20140915213209,0238,0001,03CB,2871,,97,20140915213459,009A")); assertNull(decoder.decode(null, null, "+RESP:GTINF,359464030073766,8938003990320469804f,18,99,100,1,0,+2.00,0,20131018084015,00EE,0103090402")); |