aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/PathAwayProtocolDecoderTest.java
blob: e4c9bf449758f96c699349696dbbf29fbacd99af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package org.traccar.protocol;

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

public class PathAwayProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        var decoder = new PathAwayProtocolDecoder(null);
        
        verifyPosition(decoder, request(
                "?UserName=name&Password=pass&LOC=$PWS,1,\"Roger\",,,100107,122846,45.317270,-79.642219,45.00,42,1,\"Comment\",0*58"));

    }

}