diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-06-01 11:36:16 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-06-01 11:36:16 -0700 |
commit | 48b7368edb18985265dcba2fdaf4d80fc9f19bae (patch) | |
tree | 14395bb36ba2cd9d83d6c6955f8495cf6a23ad61 /src/test/java/org/traccar | |
parent | af8c41c0b0ce8cd2ce942f6e665dbfaba86a1703 (diff) | |
download | trackermap-server-48b7368edb18985265dcba2fdaf4d80fc9f19bae.tar.gz trackermap-server-48b7368edb18985265dcba2fdaf4d80fc9f19bae.tar.bz2 trackermap-server-48b7368edb18985265dcba2fdaf4d80fc9f19bae.zip |
Decode additional parameters
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r-- | src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java index 9b564c895..c1bd8161e 100644 --- a/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java @@ -11,8 +11,9 @@ public class T800xProtocolDecoderTest extends ProtocolTest { T800xProtocolDecoder decoder = new T800xProtocolDecoder(null); - verifyNull(decoder, binary( - "272705005e000108664250328807851905301107481054002d004d006f00620069006c006500074341542d4e42310a4c54452042414e4420340f333130323430323030303032333030143839303132343032303531303030323330303746")); + verifyAttribute(decoder, binary( + "272705005e000108664250328807851905301107481054002d004d006f00620069006c006500074341542d4e42310a4c54452042414e4420340f333130323430323030303032333030143839303132343032303531303030323330303746"), + Position.KEY_OPERATOR, "T-Mobile"); verifyPosition(decoder, binary( "272702004904a90866425032880785c800190530080350000000000705eec29bf50842000000000008008090502a003700000a9e358002003c000003841900001e3f90000000000000272702004904aa0866425032880785c800190530081851000000000705eec29bf50842000000000008008090602e003700000a9e358002003c000003841900001e3f90000000000000")); |