diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-04-26 19:57:44 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-04-26 19:57:44 +1200 |
commit | 1cd60e56770fd3643be9e3dd163198e8b84992a7 (patch) | |
tree | 68ec8810dc9a70300dd8b29f773147a2bef598f5 /test/org/traccar/protocol/ST210ProtocolDecoderTest.java | |
parent | 91e64abefb70be18d842181f75c7e392d68057f0 (diff) | |
download | trackermap-server-1cd60e56770fd3643be9e3dd163198e8b84992a7.tar.gz trackermap-server-1cd60e56770fd3643be9e3dd163198e8b84992a7.tar.bz2 trackermap-server-1cd60e56770fd3643be9e3dd163198e8b84992a7.zip |
Rename ST210 to St210
Diffstat (limited to 'test/org/traccar/protocol/ST210ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/ST210ProtocolDecoderTest.java | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/test/org/traccar/protocol/ST210ProtocolDecoderTest.java b/test/org/traccar/protocol/ST210ProtocolDecoderTest.java deleted file mode 100644 index d84993b95..000000000 --- a/test/org/traccar/protocol/ST210ProtocolDecoderTest.java +++ /dev/null @@ -1,54 +0,0 @@ -package org.traccar.protocol; - -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNull; - -import org.junit.Test; - -public class ST210ProtocolDecoderTest { - - @Test - public void testDecode() throws Exception { - - ST210ProtocolDecoder decoder = new ST210ProtocolDecoder(null); - decoder.setDataManager(new TestDataManager()); - - //Status - assertNotNull(decoder - .decode(null, - null, - "SA200STT;317652;042;20120718;15:37:12;16d41;-15.618755;-056.083241;000.024;000.00;8;1;41548;12.17;100000;2;1979")); - assertNotNull(decoder - .decode(null, - null, - "SA200STT;317652;042;20120721;19:04:30;16d41;-15.618743;-056.083221;000.001;000.00;12;1;41557;12.21;000000;1;3125")); - assertNotNull(decoder - .decode(null, - null, - "SA200STT;317652;042;20120722;00:24:23;4f310;-15.618767;-056.083214;000.011;000.00;11;1;41557;12.21;000000;1;3205")); - assertNotNull(decoder - .decode(null, - null, - "SA200STT;315198;042;20120808;20:37:34;3fac25;-15.618731;-056.083216;000.007;000.00;12;1;48;0.00;000000;1;0127")); - assertNotNull(decoder - .decode(null, - null, - "SA200STT;315198;042;20120809;13:43:34;4f310;-15.618709;-056.083223;000.025;000.00;8;1;49;12.10;100000;2;0231")); - //Emergency - assertNotNull(decoder - .decode(null, - null, - "SA200EMG;317652;042;20120718;15:35:41;16d41;-15.618740;-056.083252;000.034;000.00;8;1;41548;12.17;110000;1")); - //Alive - assertNull(decoder - .decode(null, - null, - "SA200ALV;317652")); - //Alert - assertNotNull(decoder - .decode(null, - null, - "SA200ALT;317652;042;20120829;14:25:58;16d41;-15.618770;-056.083242;000.029;000.00;0;0;2404240;0.00;000000;10")); - } - -} |