From 72b24000aa91d9af69c30c1648f65b06c2511405 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 29 May 2017 22:53:59 +1200 Subject: Add GT06 protocol test cases --- test/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java index ad1ec6d47..c677b72ae 100644 --- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -16,6 +16,12 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "78780D01086471700328358100093F040D0A")); + verifyAttributes(decoder, binary( + "7979000894000000000338ba0d0a")); + + verifyNull(decoder, binary( + "79790020940a03516080825457290502194200448892980691312079088572f50004d4350d0a")); + verifyPosition(decoder, binary( "7979007121000000000143757272656e7420706f736974696f6e214c61743a4e35342e3733393333322c4c6f6e3a4532352e3237333237302c436f757273653a3132362e35332c53706565643a302e303030302c4461746554696d653a323031372d30352d3236202031303a32373a3437000bbee30d0a")); -- cgit v1.2.3