diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-10-21 19:08:35 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-10-21 19:08:35 +1300 |
commit | 30ebfa7d6b683fcec586233fa5c68a966c2841ad (patch) | |
tree | d65afaac9d4994bc22a51819d4d71de3dd4a3307 /test/org/traccar/protocol | |
parent | 4b21619ac3c65368872f130f22b869267220b77d (diff) | |
download | traccar-server-30ebfa7d6b683fcec586233fa5c68a966c2841ad.tar.gz traccar-server-30ebfa7d6b683fcec586233fa5c68a966c2841ad.tar.bz2 traccar-server-30ebfa7d6b683fcec586233fa5c68a966c2841ad.zip |
Add gl300 message example
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/Gl200ProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java index 21212ee03..2fbbd3229 100644 --- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java @@ -1,6 +1,7 @@ package org.traccar.protocol; import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; import org.junit.Test; public class Gl200ProtocolDecoderTest { @@ -38,6 +39,9 @@ public class Gl200ProtocolDecoderTest { assertNotNull(decoder.decode(null, null, "+RESP:GTFRI,07000D,868487001005941,,0,0,1,1,0.0,0,46.3,-77.039627,38.907573,20120731175232,0310,0260,B44B,EBC9,0015e96913a7,-58,,100,20120731175244,0114")); + assertNull(decoder.decode(null, null, + "+RESP:GTINF,359464030073766,8938003990320469804f,18,99,100,1,0,+2.00,0,20131018084015,00EE,0103090402")); + } } |