diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2014-06-17 20:57:41 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2014-06-17 20:57:41 +1200 |
commit | 32ef234d143057b7f1e785c38073c23e8ca1e108 (patch) | |
tree | 67a002f44a015ff443dd6c42dc8a6a8dde08d8ee /test/org/traccar/protocol | |
parent | 1c506b3831df9494f738c270815ab34e5eae7a9e (diff) | |
download | trackermap-server-32ef234d143057b7f1e785c38073c23e8ca1e108.tar.gz trackermap-server-32ef234d143057b7f1e785c38073c23e8ca1e108.tar.bz2 trackermap-server-32ef234d143057b7f1e785c38073c23e8ca1e108.zip |
Fix GpsGate decoder
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/GpsGateProtocolDecoderTest.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java b/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java index 5fbabbb00..3e1d8d6b9 100644 --- a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java +++ b/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java @@ -18,9 +18,14 @@ public class GpsGateProtocolDecoderTest { assertNull(decoder.decode(null, null, "$FRLIN,,354503026292842,VGZTHKT*0C")); assertNull(decoder.decode(null, null, "$FRLIN,IMEI,1234123412341234,*7B")); + + assertNull(decoder.decode(null, null, "$FRLIN,,saab93_device,KLRFBGIVDJ*28")); verify(decoder.decode(null, null, "$GPRMC,154403.000,A,6311.64120,N,01438.02740,E,0.000,0.0,270707,,*0A")); + + verify(decoder.decode(null, null, + "$GPRMC,074524,A,5553.73701,N,03728.90491,E,10.39,226.5,160614,0.0,E*75")); } |