aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-03-31 22:35:39 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-03-31 22:35:39 -0700
commit59416923dcb3a756eaf532cc4259f2f6625c0762 (patch)
tree9082dae6616deac8fda432b7bfd80e4a52b6d9dc /test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
parent79a129dd6327d932133d6b9a50190d3f4927bff9 (diff)
downloadtrackermap-server-59416923dcb3a756eaf532cc4259f2f6625c0762.tar.gz
trackermap-server-59416923dcb3a756eaf532cc4259f2f6625c0762.tar.bz2
trackermap-server-59416923dcb3a756eaf532cc4259f2f6625c0762.zip
Convert project to gradle
Diffstat (limited to 'test/org/traccar/protocol/GpsGateProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/GpsGateProtocolDecoderTest.java52
1 files changed, 0 insertions, 52 deletions
diff --git a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java b/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
deleted file mode 100644
index d35666b56..000000000
--- a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
+++ /dev/null
@@ -1,52 +0,0 @@
-package org.traccar.protocol;
-
-import org.junit.Test;
-import org.traccar.ProtocolTest;
-
-public class GpsGateProtocolDecoderTest extends ProtocolTest {
-
- @Test
- public void testDecode() throws Exception {
-
- GpsGateProtocolDecoder decoder = new GpsGateProtocolDecoder(null);
-
- verifyPosition(decoder, text(
- "$FRCMD,0097,_SendMessage,,7618.51990,S,4002.26182,E,350.0,1.08,0.0,250816,183522.000,0*7F"));
-
- verifyPosition(decoder, text(
- "$FRCMD,356406061385182,_SendMessage,,5223.88542,N,11440.45866,W,951.2,0.027,,220716,153507.00,1*5F"));
-
- verifyPosition(decoder, text(
- "$FRCMD,353067011068246,_SendMessage,,1918.1942,N,09906.3696,W,2246.5,000.0,295.9,150416,213147.00,1,Odometer=*70"));
-
- verifyNull(decoder, text(
- "$FRCMD,862950025974620,_Ping,voltage=4*4F"));
-
- verifyPosition(decoder, text(
- "$FRCMD,862950025974620,_SendMessage, ,2721.5781,S,15259.145,E,61,0.00,61,080316,092612,1,SosButton=0,voltage=4*60"));
-
- verifyNull(decoder, text(
- "$FRLIN,,user1,8IVHF*7A"));
-
- verifyNull(decoder, text(
- "$FRLIN,,354503026292842,VGZTHKT*0C"));
-
- verifyNull(decoder, text(
- "$FRLIN,IMEI,1234123412341234,*7B"));
-
- verifyNull(decoder, text(
- "$FRLIN,,saab93_device,KLRFBGIVDJ*28"));
-
- verifyPosition(decoder, text(
- "$GPRMC,154403.000,A,6311.64120,N,01438.02740,E,0.000,0.0,270707,,*0A"),
- position("2007-07-27 15:44:03.000", true, 63.19402, 14.63379));
-
- verifyPosition(decoder, text(
- "$GPRMC,074524,A,5553.73701,N,03728.90491,E,10.39,226.5,160614,0.0,E*75"));
-
- verifyPosition(decoder, text(
- "$GPRMC,154403.000,A,6311.64120,N,01438.02740,E,0.000,0.0,270707,,*0A"));
-
- }
-
-}