From e77e0e4de5c2c424df8aa6663f986e85e1190db1 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 30 Jul 2014 22:11:32 +0200 Subject: Add battery status to OsmAnd --- test/org/traccar/protocol/OsmAndProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java b/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java index 7aed1b5ed..8ab636c05 100644 --- a/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java +++ b/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java @@ -26,6 +26,9 @@ public class OsmAndProtocolDecoderTest { verify(decoder.decode(null, null, new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET, "/?lat=60.0&lon=30.0&speed=0.0&heading=0.0&vacc=0&hacc=0&altitude=0&deviceid=123456"))); + + verify(decoder.decode(null, null, new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET, + "/?id=861001000719969&lat=41.666667&lon=-0.883333&altitude=350.059479&speed=0.000000&batt=87"))); } -- cgit v1.2.3