aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-06-24 16:50:59 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-06-24 16:50:59 +1200
commit25e323de26718d349999873196bc5c3f5d70eaae (patch)
tree462f8104784294f570616b3a354f46b8fa882665 /test/org
parent88cb4d830cc217a82ee5f9eeb46b85da824b74e2 (diff)
downloadtrackermap-server-25e323de26718d349999873196bc5c3f5d70eaae.tar.gz
trackermap-server-25e323de26718d349999873196bc5c3f5d70eaae.tar.bz2
trackermap-server-25e323de26718d349999873196bc5c3f5d70eaae.zip
Start HuaSheng protocol implementation
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/HuaShengProtocolDecoderTest.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java b/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java
new file mode 100644
index 000000000..78ebc25eb
--- /dev/null
+++ b/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java
@@ -0,0 +1,21 @@
+package org.traccar.protocol;
+
+import org.junit.Test;
+import org.traccar.ProtocolTest;
+
+public class HuaShengProtocolDecoderTest extends ProtocolTest {
+
+ @Test
+ public void testDecode() throws Exception {
+
+ /*HuaShengProtocolDecoder decoder = new HuaShengProtocolDecoder(new HuaShengProtocol());
+
+ verifyNothing(decoder, binary(
+ "C00000007EAA020000000000010001001047315F48312E305F56312E3000030013383632393530303238353334333036000400144C342D56374C673979497A7A2D724A6D0005000501000600084341524400070008434152440008000500000900183839383630303530313931343436313130393134000A0009434D4E4554C0"));
+
+ verifyPosition(decoder, binary(
+ "C000000041AA00000000000030DBDC00000031353035323630373538323800ADDCC100226AEF0000000000120005000100151206EF0504E99975002903EB80556492CEC0"));*/
+
+ }
+
+}