diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-27 10:56:05 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-27 10:56:05 +1300 |
commit | 52f6ed7567fc11babf831401ac9744f9ebd7c735 (patch) | |
tree | f355fae03a740567387869262ffe89661afa7872 /test/org/traccar/ProtocolDecoderTest.java | |
parent | 622706ec1c8e2a78dae161a1db64b09247efbfd9 (diff) | |
download | trackermap-server-52f6ed7567fc11babf831401ac9744f9ebd7c735.tar.gz trackermap-server-52f6ed7567fc11babf831401ac9744f9ebd7c735.tar.bz2 trackermap-server-52f6ed7567fc11babf831401ac9744f9ebd7c735.zip |
Refactor Visiontek protocol decoder
Diffstat (limited to 'test/org/traccar/ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/ProtocolDecoderTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/ProtocolDecoderTest.java b/test/org/traccar/ProtocolDecoderTest.java index d91675f10..ed06cf1fb 100644 --- a/test/org/traccar/ProtocolDecoderTest.java +++ b/test/org/traccar/ProtocolDecoderTest.java @@ -148,8 +148,8 @@ public class ProtocolDecoderTest { private void verifyDecodedPosition(Object decodedObject) { - Assert.assertNotNull(decodedObject); - Assert.assertTrue(decodedObject instanceof Position); + Assert.assertNotNull("position is null", decodedObject); + Assert.assertTrue("not a position", decodedObject instanceof Position); Position position = (Position) decodedObject; |