From 70fe57f3f5e3b0a10912e00b542fab07a4a8dfc7 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 6 Apr 2019 20:26:57 -0700 Subject: Reformat unit test --- .../traccar/protocol/SpotProtocolDecoderTest.java | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'src/test/java/org/traccar/protocol') diff --git a/src/test/java/org/traccar/protocol/SpotProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SpotProtocolDecoderTest.java index 7191f31ef..dd63c07ac 100644 --- a/src/test/java/org/traccar/protocol/SpotProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/SpotProtocolDecoderTest.java @@ -11,8 +11,26 @@ public class SpotProtocolDecoderTest extends ProtocolTest { SpotProtocolDecoder decoder = new SpotProtocolDecoder(null); - verifyPositions(decoder, request(HttpMethod.POST, "/", - buffer("\n\n
\n 1\n LIVE\n
\n \n 891801957\n 0-3112123\n 0-3112123a\n NEWMOVEMENT\n SPOT Trace has detected that the asset has moved.\n 2017-12-27T13:19:38.000Z\n 1514380778\n -1.28781\n -47.93042\n GOOD\n \n
"))); + verifyPositions(decoder, request(HttpMethod.POST, "/", buffer( + "\n", + "\n", + "
\n", + "1\n", + "LIVE\n", + "
\n", + "\n", + "891801957\n", + "0-3112123\n", + "0-3112123a\n", + "NEWMOVEMENT\n", + "SPOT Trace has detected that the asset has moved.\n", + "2017-12-27T13:19:38.000Z\n", + "1514380778\n", + "-1.28781\n", + "-47.93042\n", + "GOOD\n", + "\n", + "
"))); } -- cgit v1.2.3