diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-27 03:48:30 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-27 03:48:30 +1300 |
commit | 893078d3ac294078b9403a472858e59b1b6e1f6b (patch) | |
tree | cd3aec65d0037ae4a2017c093c72506607881982 /test | |
parent | 4324e2a34729a3035a519996cc70c96562dd6250 (diff) | |
download | traccar-server-893078d3ac294078b9403a472858e59b1b6e1f6b.tar.gz traccar-server-893078d3ac294078b9403a472858e59b1b6e1f6b.tar.bz2 traccar-server-893078d3ac294078b9403a472858e59b1b6e1f6b.zip |
Fix GT06 unit tests
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java index 70dab4f48..3bb180206 100644 --- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -10,19 +10,13 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { Gt06ProtocolDecoder decoder = new Gt06ProtocolDecoder(new Gt06Protocol()); - verifyAttributes(decoder, binary( - "7979003F940D110315102A202141494F494C2C30322C3030382E3239302C3032392E3630302C3531394A2C303430302C3030382E3433302C302C30302C4142001678EA0D0A")); - - verifyNothing(decoder, binary( - "79790005840016BB1A0D0A")); - verifyNothing(decoder, binary( "787805120099abec0d0a")); verifyNothing(decoder, binary( "78780D01086471700328358100093F040D0A")); - verifyNothing(decoder, binary( + verifyAttributes(decoder, binary( "7979003F940D110315102A202141494F494C2C30322C3030382E3239302C3032392E3630302C3531394A2C303430302C3030382E3433302C302C30302C4142001678EA0D0A")); verifyNothing(decoder, binary( |