aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-01-19 12:09:29 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-01-19 12:09:29 +1300
commit625048edc94a4356145b61713861c6b48535a220 (patch)
tree69de05db3a86c770e5a6be1c5dd4e7643dcf25e6 /test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
parent1edf8f7a5390ea8cbbe9a87036166630cfea57f6 (diff)
downloadtrackermap-server-625048edc94a4356145b61713861c6b48535a220.tar.gz
trackermap-server-625048edc94a4356145b61713861c6b48535a220.tar.bz2
trackermap-server-625048edc94a4356145b61713861c6b48535a220.zip
Start implementing new GoSafe format
Diffstat (limited to 'test/org/traccar/protocol/GoSafeProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/GoSafeProtocolDecoderTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java b/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
index e4f20f6ba..8569fcae8 100644
--- a/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
@@ -10,11 +10,11 @@ public class GoSafeProtocolDecoderTest extends ProtocolTest {
GoSafeProtocolDecoder decoder = new GoSafeProtocolDecoder(new GoSafeProtocol());
- verifyNothing(decoder, text(
- "*GS02,358696043774648"));
+ /*verifyPositions(decoder, text(
+ "*GS02,358696043774648,GPS:230040;A;S1.166829;E36.934287;0;0;170116,STT:20;0,MGR:32755204,ADC:0;11.2;1;28.3;2;4.1,GFS:0;0"));*/
verifyNothing(decoder, text(
- "*GS02,358696043774648,GPS:230040;A;S1.166829;E36.934287;0;0;170116,STT:20;0,MGR:32755204,ADC:0;11.2;1;28.3;2;4.1,GFS:0;0"));
+ "*GS02,358696043774648"));
verifyPositions(decoder, text(
"*GS16,351535058709775,100356130215,,SYS:G79W;V1.06;V1.0.2,GPS:A;6;N24.802700;E46.616828;0;0;684;1.35,COT:60,ADC:4.31;0.10,DTT:20000;;0;0;0;1"));