aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-09 08:57:08 -0400
committerLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-09 08:57:08 -0400
commitbb9d9ad68735b5eb3f8c0e66751f979d8e07684c (patch)
treef73b4413c0bdf85d078775e55d457143c4ad9980
parentbb72110f2ff0ed8f64e61eb578d60040c914a99a (diff)
downloadtraccar-server-bb9d9ad68735b5eb3f8c0e66751f979d8e07684c.tar.gz
traccar-server-bb9d9ad68735b5eb3f8c0e66751f979d8e07684c.tar.bz2
traccar-server-bb9d9ad68735b5eb3f8c0e66751f979d8e07684c.zip
Changed to test only the decoder and not decoder and server.
-rw-r--r--test/org/traccar/protocol/ST210ProtocolDecoderTest.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/ST210ProtocolDecoderTest.java b/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
index bd1e60ee1..c300c056b 100644
--- a/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
@@ -14,6 +14,7 @@ import org.traccar.server.SocketCliente;
public class ST210ProtocolDecoderTest {
+ /*
@BeforeClass
public static void UpServer() {
final Server service = new Server();
@@ -50,7 +51,9 @@ public class ST210ProtocolDecoderTest {
"SA200STT;317652;042;20120718;15:37:12;16d41;-15.618755;-056.083241;000.024;000.00;8;1;41548;12.17;100000;2;1979");
}
-/* @Test
+*/
+
+ @Test
public void testDecode() throws Exception {
ST210ProtocolDecoder decoder = new ST210ProtocolDecoder(
@@ -68,6 +71,6 @@ public class ST210ProtocolDecoderTest {
.decode(null,
null,
"SA200STT;317652;042;20120722;00:24:23;16d41;-15.618767;-056.083214;000.011;000.00;11;1;41557;12.21;000000;1;3205"));
- }*/
+ }
}