aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-08-23 22:52:04 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-08-23 22:52:04 +1200
commit91289716b6b8ab1f8936259c97defaf4e359ad0e (patch)
tree8c91fe2a8a9146d2349a6c67f80f6b5948cc7b45 /test
parent8601bea268a973825d9dc3835ccced6439e26a0e (diff)
downloadtrackermap-server-91289716b6b8ab1f8936259c97defaf4e359ad0e.tar.gz
trackermap-server-91289716b6b8ab1f8936259c97defaf4e359ad0e.tar.bz2
trackermap-server-91289716b6b8ab1f8936259c97defaf4e359ad0e.zip
Remove old ST210 protocol
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/St210ProtocolDecoderTest.java64
1 files changed, 0 insertions, 64 deletions
diff --git a/test/org/traccar/protocol/St210ProtocolDecoderTest.java b/test/org/traccar/protocol/St210ProtocolDecoderTest.java
deleted file mode 100644
index 673e758f7..000000000
--- a/test/org/traccar/protocol/St210ProtocolDecoderTest.java
+++ /dev/null
@@ -1,64 +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"));
-
- assertNotNull(decoder
- .decode(null,
- null,
- "SA200STT;430070;133;20130615;22:22:32;151347;+02.860514;-060.653351;000.003;000.00;12;1;0;12.39;000000;1;0208"));
-
- /*assertNotNull(decoder
- .decode(null,
- null,
- "ST910;Location;344506;017;20130727;14:10:00;-25.398714;-049.296818;000.187;000.00;1;4.32;1;1;0001"));*/
-
- }
-
-}