aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/OmnicommProtocolDecoderTest.java
blob: 5219e125b1e00dd8e8a2a6afcac90322ae3d37d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.traccar.protocol;

import org.junit.Ignore;
import org.junit.Test;
import org.traccar.ProtocolTest;

public class OmnicommProtocolDecoderTest extends ProtocolTest {

    //@Ignore
    @Test
    public void testDecode() throws Exception {

        OmnicommProtocolDecoder decoder = new OmnicommProtocolDecoder(null);

        verifyNull(decoder, binary(
                "c080080061a61915340100001dec"));

        verifyPositions(decoder, binary(
                "C0866300CD1400002273231400580008011308A2E68DA10110002006280030003800400048005000600068007000142B08EC979EB60410EEB7CC8C02180020002804300038A2E68DA1012C33080010001800200028003000344308381000180220382800300244DF2A"));

    }

}