diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-04-10 21:24:01 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-04-10 21:24:01 +1200 |
commit | a946d34d83b76023dcf7cbec23519078a1169749 (patch) | |
tree | be4a0b530a2ce16e94660c126b180e547fc89362 /test | |
parent | 0cae348c40cfc68fac70e8a095733fa4d5955601 (diff) | |
download | traccar-server-a946d34d83b76023dcf7cbec23519078a1169749.tar.gz traccar-server-a946d34d83b76023dcf7cbec23519078a1169749.tar.bz2 traccar-server-a946d34d83b76023dcf7cbec23519078a1169749.zip |
Add P10 support (fix #205)
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/V680ProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/V680ProtocolDecoderTest.java b/test/org/traccar/protocol/V680ProtocolDecoderTest.java index e185ab9fd..4098535ed 100644 --- a/test/org/traccar/protocol/V680ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/V680ProtocolDecoderTest.java @@ -10,10 +10,16 @@ public class V680ProtocolDecoderTest { V680ProtocolDecoder decoder = new V680ProtocolDecoder(null); decoder.setDataManager(new TestDataManager()); + + assertNotNull(decoder.decode(null, null, + "#356823031193431##0#0000#SF#1#72403#V#04702.3025,W,2252.18380,S,008.18,0#090413#134938")); assertNotNull(decoder.decode(null, null, "#356823033219838#1000#0#1478#AUT#1#66830FFB#03855.6628,E,4716.6821,N,001.41,259#130812#143905")); + assertNotNull(decoder.decode(null, null, + "356823033219838#1000#0#1478#AUT#1#66830FFB#03855.6628,E,4716.6821,N,001.41,259#130812#143905")); + } } |