aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-05-31 22:10:54 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2012-05-31 22:10:54 +0400
commit02de9b3a41bdb4dd3b10ec646200369b94b673fe (patch)
treef2b09b3b5ff7d021e29669622649d25dd97811b5 /test/org
parent3b61199ca03a602514457cf7ed640ff6d9a39519 (diff)
downloadtrackermap-server-02de9b3a41bdb4dd3b10ec646200369b94b673fe.tar.gz
trackermap-server-02de9b3a41bdb4dd3b10ec646200369b94b673fe.tar.bz2
trackermap-server-02de9b3a41bdb4dd3b10ec646200369b94b673fe.zip
Added xexun2 extra fields (fix #10)
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java b/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java
index 845b5757d..817c31874 100644
--- a/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java
@@ -7,12 +7,15 @@ public class Xexun2ProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
-
+
Xexun2ProtocolDecoder decoder = new Xexun2ProtocolDecoder(new TestDataManager(), 0);
assertNotNull(decoder.decode(null, null,
"111111120009,+436763737552,GPRMC,120009.590,A,4639.6774,N,01418.5737,E,0.00,0.00,111111,,,A*68,F,, imei:359853000144328,04,481.2,F:4.15V,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,F:4.15V,0,139,2689,232,03,2725,0576"));
+
}
}