aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-11-06 06:00:20 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-11-06 06:00:20 +1300
commitcf55f4b6e14b9e8ce2b9c32833f9c232786dfae1 (patch)
tree1e7bf7c7dcf3f6be373d22882d69bcbf9a49b002 /test/org/traccar/protocol
parentd15d1aad65fe7caa739d100a7af7474ef54bcff3 (diff)
downloadtraccar-server-cf55f4b6e14b9e8ce2b9c32833f9c232786dfae1.tar.gz
traccar-server-cf55f4b6e14b9e8ce2b9c32833f9c232786dfae1.tar.bz2
traccar-server-cf55f4b6e14b9e8ce2b9c32833f9c232786dfae1.zip
Response GT06 UTF-16 test case
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/Gt06ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index ede2f385c..c9ef29791 100644
--- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -16,6 +16,9 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
verifyNull(decoder, binary(
"78780D01086471700328358100093F040D0A"));
+ verifyAttributes(decoder, binary(
+ "797900262100000000020043006f006d006d0061006e00640020006500720072006f0072002100236e850d0a"));
+
verifyNotNull(decoder, binary(
"787803691604130318491475905BD30E25001E10BBF7635D14759006E626560501CC0028660F213228660F1F2828660EA81E286610731428660F20140D0A"));