diff options
author | Abyss777 <abyss@fox5.ru> | 2016-05-22 14:33:43 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-05-22 14:33:43 +0500 |
commit | 79870a511a1f733e8980b720d3f560018f2dac12 (patch) | |
tree | 5dbe0e9242efc974e7ba8510eb49ff71287dd6d1 /test/org/traccar/protocol/WondexFrameDecoderTest.java | |
parent | 1bc13e97012570e617856ee15e399ec6b24b86d2 (diff) | |
download | trackermap-server-79870a511a1f733e8980b720d3f560018f2dac12.tar.gz trackermap-server-79870a511a1f733e8980b720d3f560018f2dac12.tar.bz2 trackermap-server-79870a511a1f733e8980b720d3f560018f2dac12.zip |
- Removed any decoding from FrameDecoder
- Decoded ping packet in ProtocolDecoder
- Adapted tests
Diffstat (limited to 'test/org/traccar/protocol/WondexFrameDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/WondexFrameDecoderTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/WondexFrameDecoderTest.java b/test/org/traccar/protocol/WondexFrameDecoderTest.java index fa95acb2b..2b401aa18 100644 --- a/test/org/traccar/protocol/WondexFrameDecoderTest.java +++ b/test/org/traccar/protocol/WondexFrameDecoderTest.java @@ -18,7 +18,7 @@ public class WondexFrameDecoderTest extends ProtocolTest { binary("313034343938393630312c32303133303332333039353531352c31332e3537323737362c35322e3430303833382c302c3030302c37322c302c32"), decoder.decode(null, null, binary("313034343938393630312c32303133303332333039353531352c31332e3537323737362c35322e3430303833382c302c3030302c37322c302c320d0a"))); - Assert.assertEquals(binary("2449443a31303030303030303031"), + Assert.assertEquals(binary("d0d70b0001ca9a3b"), decoder.decode(null, null, binary("d0d70b0001ca9a3b"))); } |