aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-11 19:38:33 -0400
committerLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-11 19:38:33 -0400
commit85229eebab501ee0b36a2b84c1a2df2124f31571 (patch)
tree6af549c8d51e795cf826299ea127ef92166625f4 /test
parent485d9e45883b4f028f76a6d05c5a72de08736e4c (diff)
downloadtraccar-server-85229eebab501ee0b36a2b84c1a2df2124f31571.tar.gz
traccar-server-85229eebab501ee0b36a2b84c1a2df2124f31571.tar.bz2
traccar-server-85229eebab501ee0b36a2b84c1a2df2124f31571.zip
New test for Emergency messages of st210
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/ST210ProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/ST210ProtocolDecoderTest.java b/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
index d14f60201..88ad9f306 100644
--- a/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
@@ -79,6 +79,10 @@ public class ST210ProtocolDecoderTest {
.decode(null,
null,
"SA200STT;315198;042;20120809;13:43:34;16d41;-15.618709;-056.083223;000.025;000.00;8;1;49;12.10;100000;2;0231"));
+ 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"));
}
}