diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-12 12:28:28 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-12 12:28:28 +1200 |
commit | 639b427eba5738534c10f591e285d707e8b060e5 (patch) | |
tree | bdafa0f9751c77561ade92ebed272b6d6545ea43 /test/org/traccar/protocol/Tr900ProtocolDecoderTest.java | |
parent | 2badcd16f7ae0ce46f7c0cd241c635493d7e6508 (diff) | |
download | trackermap-server-639b427eba5738534c10f591e285d707e8b060e5.tar.gz trackermap-server-639b427eba5738534c10f591e285d707e8b060e5.tar.bz2 trackermap-server-639b427eba5738534c10f591e285d707e8b060e5.zip |
Re-factor decoder interface
Diffstat (limited to 'test/org/traccar/protocol/Tr900ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/Tr900ProtocolDecoderTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/org/traccar/protocol/Tr900ProtocolDecoderTest.java b/test/org/traccar/protocol/Tr900ProtocolDecoderTest.java index 57044a778..784d5b74e 100644 --- a/test/org/traccar/protocol/Tr900ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Tr900ProtocolDecoderTest.java @@ -10,13 +10,13 @@ public class Tr900ProtocolDecoderTest extends ProtocolDecoderTest { Tr900ProtocolDecoder decoder = new Tr900ProtocolDecoder(new Tr900Protocol()); - verify(decoder.decode(null, null, null, + verify(decoder.decode(null, null, ">00001001,4,1,150626,131252,W05830.2978,S3137.2783,,00,348,18,00,003-000,0,3,11111011*3b!")); - verify(decoder.decode(null, null, null, + verify(decoder.decode(null, null, ">12345678,1,1,070201,144111,W05829.2613,S3435.2313,,00,034,25,00,126-000,0,3,11111111*2d!")); - verify(decoder.decode(null, null, null, + verify(decoder.decode(null, null, ">00001001,4,1,150626,131252,W05830.2978,S3137.2783,,00,348,18,00,003-000,0,3,11111011*3b!\r\n")); } |