aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-29 05:57:26 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-29 04:57:26 +1300
commitc2bdb1c0af69739eb7ed3618e72687bc5e1275c4 (patch)
treeb2c32054701503873644abe88187a2104bb3c9bd /test/org/traccar/protocol
parent4ebf4b522d002884e4f2c009eef62ce2c2ab9859 (diff)
downloadtraccar-server-c2bdb1c0af69739eb7ed3618e72687bc5e1275c4.tar.gz
traccar-server-c2bdb1c0af69739eb7ed3618e72687bc5e1275c4.tar.bz2
traccar-server-c2bdb1c0af69739eb7ed3618e72687bc5e1275c4.zip
Finish Smokey protocol implementation
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/SmokeyProtocolDecoderTest.java13
1 files changed, 2 insertions, 11 deletions
diff --git a/test/org/traccar/protocol/SmokeyProtocolDecoderTest.java b/test/org/traccar/protocol/SmokeyProtocolDecoderTest.java
index fd862b437..d3e268992 100644
--- a/test/org/traccar/protocol/SmokeyProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/SmokeyProtocolDecoderTest.java
@@ -11,19 +11,10 @@ public class SmokeyProtocolDecoderTest extends ProtocolTest {
SmokeyProtocolDecoder decoder = new SmokeyProtocolDecoder(new SmokeyProtocol());
verifyAttributes(decoder, binary(
- "534D0300865628025161227F030100000000029E03020200A4021405028F0007010658300200028F0007010625F21D028F00070106000027028F00070106584E19028F000701065DCF2707537265696C6C69634E657400E8DE27400DF0A80084C9B2D85A1DB7537265696C6C69634E657400E8DE27401048D44350455F44423745393900A8A668DB7E99A94D794E6574776F726B4E616D6500002675ED6D70AB74686170616E6500002675F4DA3CA94D75666173610088CEFA735AFCA9C524"));
+ "534d0300865101019383025f0403000000000b86250200000c0000028f000102f8cc0900127f08"));
verifyAttributes(decoder, binary(
- "534d0300865628025163272f031400000000001c000200000c0168028f000102c9f93a011f538d"));
-
- verifyAttributes(decoder, binary(
- "534d0300865628025163272f031400000000001f000200000c0167028f000102c9f93a011f5082"));
-
- verifyAttributes(decoder, binary(
- "534d0300865628025163272f031400000000001d000200000c0167028f000102c9f93a011f5282"));
-
- verifyAttributes(decoder, binary(
- "534d0300865628025163272f031400000000001e000200000c0167028f000102c9f93a011f5182"));
+ "534d0300865101019383025f0403000000000bcf260200000c0000028f000102f8cc090012360b"));
}