aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorhallmark9 <spamsink05@yahoo.com>2012-12-23 21:59:13 -0500
committerhallmark9 <spamsink05@yahoo.com>2012-12-23 21:59:13 -0500
commitc8281d6a4dbb8ded05f58d9428d86569a6d94b80 (patch)
tree5f90c3be0ee9f6965222b329e7d279a3060fa0b5 /test/org/traccar/protocol
parentfbb0d0d594bd423ad102c2b5a38526b928918fb9 (diff)
downloadtrackermap-server-c8281d6a4dbb8ded05f58d9428d86569a6d94b80.tar.gz
trackermap-server-c8281d6a4dbb8ded05f58d9428d86569a6d94b80.tar.bz2
trackermap-server-c8281d6a4dbb8ded05f58d9428d86569a6d94b80.zip
Tolerate phone number without "+" prefix in Xexun2 data
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java b/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java
index a8247b8ba..8d585337a 100644
--- a/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java
@@ -19,6 +19,8 @@ public class Xexun2ProtocolDecoderTest {
assertNotNull(decoder.decode(null, null,
"111111120009,+436763737552,GPRMC,120600.000,A,6000.0000,N,13000.0000,E,0.00,0.00,010112,,,A*68,F,help me!, imei:123456789012345,04,481.2,L:3.5V,0,139,2689,232,03,2725,0576"));
+ assertNotNull(decoder.decode(null, null,
+ "111111120009,436763737552,GPRMC,120600.000,A,6000.0000,N,13000.0000,E,0.00,0.00,010112,,,A*68,F,help me!, imei:123456789012345,04,481.2,L:3.5V,0,139,2689,232,03,2725,0576"));
}
}