blob: d8f228cac56c93b105246c2d258fafa5528cf5f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package org.traccar.protocol;
import org.traccar.helper.TestDataManager;
import org.jboss.netty.buffer.ChannelBuffers;
import static org.traccar.helper.DecoderVerifier.verify;
import org.junit.Test;
import org.traccar.helper.ChannelBufferTools;
public class NoranProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
NoranProtocolDecoder decoder = new NoranProtocolDecoder(null);
decoder.setDataManager(new TestDataManager());
//int[] buf1 = {0x00};
//verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertArray(buf1))));
}
}
|