package org.traccar.protocol;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import org.junit.Test;

public class GlobalSatProtocolDecoderTest {

    @Test
    public void testDecode() throws Exception {

        GlobalSatProtocolDecoder decoder = new GlobalSatProtocolDecoder(null);
        decoder.setDataManager(new TestDataManager());

        //assertNull(decoder.decode(null, null, "GSh,131826789036289,3,M,ea04*3d!"));

        assertNotNull(decoder.decode(null, null,
                "GSr,135785412249986,01,I,EA02,,3,230410,153318,E12129.2839,N2459.8570,0,1.17,212,8,1.0,12.3V*55!"));

    }

}

@@ -471,16 +471,18 @@
         
+/*
 assertNo
@@ -627,23 +627,25 @@
 2.3V*55!%22));
+*/
 %0A%0A    %7D%0A%0A%7D%0A

Disable GS unit testing