diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-29 16:40:01 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-29 16:40:01 +1300 |
commit | 35b82397627fa48505861ec69da34fa9164a60b5 (patch) | |
tree | a931e017c32e6447f9110a235af33a98928cff83 /test/org/traccar/ProtocolDecoderTest.java | |
parent | 9a7e9e1b5822351c2c7aec8d6f1fde5b637afaaf (diff) | |
download | trackermap-server-35b82397627fa48505861ec69da34fa9164a60b5.tar.gz trackermap-server-35b82397627fa48505861ec69da34fa9164a60b5.tar.bz2 trackermap-server-35b82397627fa48505861ec69da34fa9164a60b5.zip |
Support GL200 info messages
Diffstat (limited to 'test/org/traccar/ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/ProtocolDecoderTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/org/traccar/ProtocolDecoderTest.java b/test/org/traccar/ProtocolDecoderTest.java index 925f457a1..e52ea4695 100644 --- a/test/org/traccar/ProtocolDecoderTest.java +++ b/test/org/traccar/ProtocolDecoderTest.java @@ -51,10 +51,10 @@ public class ProtocolDecoderTest { protected void verifyAttributes(BaseProtocolDecoder decoder, Object object) throws Exception { Object decodedObject = decoder.decode(null, null, object); - 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; - Assert.assertFalse(position.getAttributes().isEmpty()); + Assert.assertFalse("no attributes", position.getAttributes().isEmpty()); } protected void verifyPosition(BaseProtocolDecoder decoder, Object object) throws Exception { |