diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2010-12-20 10:02:58 +0000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2010-12-20 10:02:58 +0000 |
commit | cdd6d038c5adca06db989a3b6fe8bd3fd36fe9ed (patch) | |
tree | 6922ea5c3efb889f54dc949550e8435d056dfb81 /test | |
parent | f60fe194659614fcb65339fc1772308f7ced5126 (diff) | |
download | trackermap-server-cdd6d038c5adca06db989a3b6fe8bd3fd36fe9ed.tar.gz trackermap-server-cdd6d038c5adca06db989a3b6fe8bd3fd36fe9ed.tar.bz2 trackermap-server-cdd6d038c5adca06db989a3b6fe8bd3fd36fe9ed.zip |
Diffstat (limited to 'test')
-rw-r--r-- | test/net/sourceforge/opentracking/protocol/gps103/Gps103ProtocolDecoderTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/net/sourceforge/opentracking/protocol/gps103/Gps103ProtocolDecoderTest.java b/test/net/sourceforge/opentracking/protocol/gps103/Gps103ProtocolDecoderTest.java index 6e767cb43..8d259a89f 100644 --- a/test/net/sourceforge/opentracking/protocol/gps103/Gps103ProtocolDecoderTest.java +++ b/test/net/sourceforge/opentracking/protocol/gps103/Gps103ProtocolDecoderTest.java @@ -31,11 +31,12 @@ public class Gps103ProtocolDecoderTest { public void testDecode() throws Exception { String testMsg1 = "##,imei:10000000000000,A"; + // NEW MESSAGE: imei:359587017470280,tracker,0000000000,03184511405,L,; String testMsg2 = "imei:10000000000000,help me,1004171910,,F,010203.000,A,0102.0003,N,00102.0003,E,1.02,"; Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(new TestDataManager()); - assertNull(decoder.decode(null, null, testMsg1)); + //assertNull(decoder.decode(null, null, testMsg1)); Position position = (Position) decoder.decode(null, null, testMsg2); //Date time = new GregorianCalendar(2003, 1, 1, 1, 2, 3).getTime(); |