aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Gt02ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-04 12:07:35 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-04 12:07:35 +1300
commit3e30b12b995c2f219625b957bfaac4e8bf92c8fc (patch)
tree409b9477a867e0b329f953ebc56bb7ac23fb43c0 /test/org/traccar/protocol/Gt02ProtocolDecoderTest.java
parente7b586030222ed2bae3f9f2f3f86486aeabc7794 (diff)
downloadtrackermap-server-3e30b12b995c2f219625b957bfaac4e8bf92c8fc.tar.gz
trackermap-server-3e30b12b995c2f219625b957bfaac4e8bf92c8fc.tar.bz2
trackermap-server-3e30b12b995c2f219625b957bfaac4e8bf92c8fc.zip
Fix unit tests code formatting
Diffstat (limited to 'test/org/traccar/protocol/Gt02ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Gt02ProtocolDecoderTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/org/traccar/protocol/Gt02ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt02ProtocolDecoderTest.java
index 76590fe3f..4f086d4f3 100644
--- a/test/org/traccar/protocol/Gt02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gt02ProtocolDecoderTest.java
@@ -1,9 +1,7 @@
package org.traccar.protocol;
-import org.jboss.netty.buffer.ChannelBuffers;
import org.junit.Test;
import org.traccar.ProtocolDecoderTest;
-import org.traccar.helper.ChannelBufferTools;
public class Gt02ProtocolDecoderTest extends ProtocolDecoderTest {
@@ -13,7 +11,8 @@ public class Gt02ProtocolDecoderTest extends ProtocolDecoderTest {
Gt02ProtocolDecoder decoder = new Gt02ProtocolDecoder(new Gt02Protocol());
verifyPosition(decoder, binary(
- "68682500000123456789012345000110010101010101026B3F3E026B3F3E000000000000000000010D0A"));
+ "68682500000123456789012345000110010101010101026B3F3E026B3F3E000000000000000000010D0A"),
+ position("2001-01-01 01:01:01.000", true, -22.54610, -22.54610));
verifyNothing(decoder, binary(
"6868110603035889905101276600001a0402292d0d0a"));