diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-06 21:36:37 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-06 21:36:37 +1200 |
commit | 21a8fb81a0aa88a7bc1cb6804da034ecc9a79bcd (patch) | |
tree | 98fa82b0018e22caca98752670b1c1c711ad2c36 /test/org/traccar/protocol | |
parent | 2f27e1e7af87191ae242732119073148561658cd (diff) | |
download | trackermap-server-21a8fb81a0aa88a7bc1cb6804da034ecc9a79bcd.tar.gz trackermap-server-21a8fb81a0aa88a7bc1cb6804da034ecc9a79bcd.tar.bz2 trackermap-server-21a8fb81a0aa88a7bc1cb6804da034ecc9a79bcd.zip |
Temporary remove L100 from code
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/L100FrameDecoderTest.java | 24 | ||||
-rw-r--r-- | test/org/traccar/protocol/L100ProtocolDecoderTest.java | 18 |
2 files changed, 0 insertions, 42 deletions
diff --git a/test/org/traccar/protocol/L100FrameDecoderTest.java b/test/org/traccar/protocol/L100FrameDecoderTest.java deleted file mode 100644 index f474fa678..000000000 --- a/test/org/traccar/protocol/L100FrameDecoderTest.java +++ /dev/null @@ -1,24 +0,0 @@ -package org.traccar.protocol; - -import org.junit.Assert; -import org.junit.Test; -import org.traccar.ProtocolTest; - -public class L100FrameDecoderTest extends ProtocolTest { - - @Test - public void testDecode() throws Exception { - - L100FrameDecoder decoder = new L100FrameDecoder(); - - Assert.assertEquals( - binary("200141544c3335363839353033373533333734352c244750524d432c3131313731392e3030302c412c323833382e303034352c4e2c30373731332e333730372c452c302e30302c2c3132303831302c2c2c412a3735242c2330313130303131313030313031302c4e2e432c4e2e432c4e2e432c31323334352e36372c33312e342c342e322c32312c4d43432c4d4e432c4c41432c43656c6c494441544c027a"), - decoder.decode(null, null, binary("200141544c3335363839353033373533333734352c244750524d432c3131313731392e3030302c412c323833382e303034352c4e2c30373731332e333730372c452c302e30302c2c3132303831302c2c2c412a3735242c2330313130303131313030313031302c4e2e432c4e2e432c4e2e432c31323334352e36372c33312e342c342e322c32312c4d43432c4d4e432c4c41432c43656c6c494441544c027a"))); - - Assert.assertEquals( - binary("200341544c3335363839353033373533333734352c244750524d432c3131313731392e3030302c412c323833382e303034352c4e2c30373731332e333730372c452c302e30302c2c3132303831302c2c2c412a3735244c4f432c436f6e6e61756768742043697263757320c2a0436f6e6e617567687420506c61636520c2a04e65772044656c686920c2a044656c6869c2a0496e6469612c2330313130303130313130313031302c322e332c33352e36372c38302c31323334352e36372c33312e342c342e322c32312c4d43432c4d4e432c4c41432c43656c6c494441544c047a"), - decoder.decode(null, null, binary("200341544c3335363839353033373533333734352c244750524d432c3131313731392e3030302c412c323833382e303034352c4e2c30373731332e333730372c452c302e30302c2c3132303831302c2c2c412a3735244c4f432c436f6e6e61756768742043697263757320c2a0436f6e6e617567687420506c61636520c2a04e65772044656c686920c2a044656c6869c2a0496e6469612c2330313130303130313130313031302c322e332c33352e36372c38302c31323334352e36372c33312e342c342e322c32312c4d43432c4d4e432c4c41432c43656c6c494441544c047a"))); - - } - -} diff --git a/test/org/traccar/protocol/L100ProtocolDecoderTest.java b/test/org/traccar/protocol/L100ProtocolDecoderTest.java deleted file mode 100644 index 07e72140d..000000000 --- a/test/org/traccar/protocol/L100ProtocolDecoderTest.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.traccar.protocol; - -import org.junit.Test; -import org.traccar.ProtocolTest; - -public class L100ProtocolDecoderTest extends ProtocolTest { - - @Test - public void testDecode() throws Exception { - - L100ProtocolDecoder decoder = new L100ProtocolDecoder(new L100Protocol()); - - verifyPosition(decoder, binary( - "200141544c3335363839353033373533333734352c244750524d432c3131313731392e3030302c412c323833382e303034352c4e2c30373731332e333730372c452c302e30302c2c3132303831302c2c2c412a37352c2330313130303131313030313031302c4e2e432c4e2e432c4e2e432c31323334352e36372c33312e342c342e322c32312c3130302c3030302c3030303030312c303030303041544c027a")); - - } - -} |