aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-03-19 22:15:35 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-03-19 22:15:35 +1300
commit572dfddfb64f99dbfde60fda628bba327c245465 (patch)
treebd31bb44564b1738ddbfd2d70cf1b3a538e33b7d /test/org/traccar/protocol
parentd4f33f724b82154e3dd6f8fb8546cbc37b164ba5 (diff)
downloadtrackermap-server-572dfddfb64f99dbfde60fda628bba327c245465.tar.gz
trackermap-server-572dfddfb64f99dbfde60fda628bba327c245465.tar.bz2
trackermap-server-572dfddfb64f99dbfde60fda628bba327c245465.zip
Add Galileo protocol
Diffstat (limited to 'test/org/traccar/protocol')
-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)));*/
+
+ }
+
+}