From 3418c67ac44d7d53ca6855e0d453b1b0d4d0f401 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 5 Feb 2016 20:47:03 +1000 Subject: Add ISO time support for OsmAnd (fix #1700) --- test/org/traccar/protocol/OsmAndProtocolDecoderTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/org/traccar') diff --git a/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java b/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java index 6f895265d..d035ba7ef 100644 --- a/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java +++ b/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java @@ -9,7 +9,10 @@ public class OsmAndProtocolDecoderTest extends ProtocolTest { public void testDecode() throws Exception { OsmAndProtocolDecoder decoder = new OsmAndProtocolDecoder(new OsmAndProtocol()); - + + verifyPosition(decoder, request( + "/?id=902064&lat=42.06288&lon=-88.23412×tamp=2016-01-27T18%3A55%3A47Z&hdop=6.0&altitude=224.0&speed=0.0")); + verifyPosition(decoder, request( "/?id=902064&lat=42.06288&lon=-88.23412×tamp=1442068686579&hdop=6.0&altitude=224.0&speed=0.0")); -- cgit v1.2.3