aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/RecodaProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-06-08 23:57:59 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-06-08 23:57:59 +1200
commitfb543fb413652f4cb0408a6caafbdd7f4a4ca369 (patch)
treebda13c8001013f586ec7062608addf1b7e5a83ed /test/org/traccar/protocol/RecodaProtocolDecoderTest.java
parentecb7bb33fcec52491f917dbc65a82990dcddb808 (diff)
downloadtrackermap-server-fb543fb413652f4cb0408a6caafbdd7f4a4ca369.tar.gz
trackermap-server-fb543fb413652f4cb0408a6caafbdd7f4a4ca369.tar.bz2
trackermap-server-fb543fb413652f4cb0408a6caafbdd7f4a4ca369.zip
Migrate R and S protocols
Diffstat (limited to 'test/org/traccar/protocol/RecodaProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/RecodaProtocolDecoderTest.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/org/traccar/protocol/RecodaProtocolDecoderTest.java b/test/org/traccar/protocol/RecodaProtocolDecoderTest.java
index 69adb4905..dc38935fc 100644
--- a/test/org/traccar/protocol/RecodaProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/RecodaProtocolDecoderTest.java
@@ -3,8 +3,6 @@ package org.traccar.protocol;
import org.junit.Test;
import org.traccar.ProtocolTest;
-import java.nio.ByteOrder;
-
public class RecodaProtocolDecoderTest extends ProtocolTest {
@Test
@@ -12,13 +10,13 @@ public class RecodaProtocolDecoderTest extends ProtocolTest {
RecodaProtocolDecoder decoder = new RecodaProtocolDecoder(new RecodaProtocol());
- verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(
"01100020480000000300000030393535360000000000000001000000303030303000000000000000000000000000000000000000006100004531313037353500ffffffffffff0000"));
- verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(
"01200020100000000300000002000000"));
- verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(
"0110000008000000"));
}