diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-03-23 11:01:41 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-03-23 11:01:41 +1300 |
commit | ee4f40561f5cce1a9a07576662af69fadb9851ca (patch) | |
tree | a1e674953278269d206653683189fa2cbf924ea7 /test/org | |
parent | 34f61800a807370383df1cafd0d442d69325c648 (diff) | |
download | traccar-server-ee4f40561f5cce1a9a07576662af69fadb9851ca.tar.gz traccar-server-ee4f40561f5cce1a9a07576662af69fadb9851ca.tar.bz2 traccar-server-ee4f40561f5cce1a9a07576662af69fadb9851ca.zip |
Add TK5000 support (fix #177)
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/WondexProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Vt300ProtocolDecoderTest.java) | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/Vt300ProtocolDecoderTest.java b/test/org/traccar/protocol/WondexProtocolDecoderTest.java index 5a1bf685f..e8e52c149 100644 --- a/test/org/traccar/protocol/Vt300ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/WondexProtocolDecoderTest.java @@ -3,17 +3,20 @@ package org.traccar.protocol; import static org.junit.Assert.assertNotNull; import org.junit.Test; -public class Vt300ProtocolDecoderTest { +public class WondexProtocolDecoderTest { @Test public void testDecode() throws Exception { - Vt300ProtocolDecoder decoder = new Vt300ProtocolDecoder(null); + WondexProtocolDecoder decoder = new WondexProtocolDecoder(null); decoder.setDataManager(new TestDataManager()); assertNotNull(decoder.decode(null, null, "210000001,20070313170040,121.123456,12.654321,0,233,0,9,2,0.0,0,0.00,0.00,0")); + assertNotNull(decoder.decode(null, null, + "1044989601,20130322172647,13.572583,52.401070,22,204,49,0,2")); + } } |