aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/GalileoProtocolDecoderTest.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GalileoProtocolDecoderTest.java b/test/org/traccar/protocol/GalileoProtocolDecoderTest.java
new file mode 100644
index 000000000..d1706e5be
--- /dev/null
+++ b/test/org/traccar/protocol/GalileoProtocolDecoderTest.java
@@ -0,0 +1,20 @@
+package org.traccar.protocol;
+
+import org.jboss.netty.buffer.ChannelBuffers;
+import static org.junit.Assert.assertNotNull;
+import org.junit.Test;
+
+public class GalileoProtocolDecoderTest {
+
+ @Test
+ public void testDecode() throws Exception {
+
+ GalileoProtocolDecoder decoder = new GalileoProtocolDecoder(null);
+ decoder.setDataManager(new TestDataManager());
+
+ /*byte[] buf1 = {0x00};
+ assertNotNull(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(buf1)));*/
+
+ }
+
+}