aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-13 23:17:23 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-09-13 23:17:23 +1200
commit0aeeac33163640bbbe23560cbd108ddf290ac873 (patch)
treef71992badef2008aea319a87397658d7129f10f2 /test/org
parentd454901a5ff831eaee30db23df12556b6442693a (diff)
downloadtraccar-server-0aeeac33163640bbbe23560cbd108ddf290ac873.tar.gz
traccar-server-0aeeac33163640bbbe23560cbd108ddf290ac873.tar.bz2
traccar-server-0aeeac33163640bbbe23560cbd108ddf290ac873.zip
Message length parameter for H02 frame decoder
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/H02FrameDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/H02FrameDecoderTest.java b/test/org/traccar/protocol/H02FrameDecoderTest.java
index e8b045048..a8417341a 100644
--- a/test/org/traccar/protocol/H02FrameDecoderTest.java
+++ b/test/org/traccar/protocol/H02FrameDecoderTest.java
@@ -9,7 +9,7 @@ public class H02FrameDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
- H02FrameDecoder decoder = new H02FrameDecoder();
+ H02FrameDecoder decoder = new H02FrameDecoder(32);
Assert.assertEquals(
binary("2a48512c3335333538383036303031353536382c56312c3139333530352c412c3830392e303031302c532c333435342e383939372c572c302e30302c302e30302c3239313031332c65666666666266662c3030303264342c3030303030622c3030353338352c3030353261612c323523"),