aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-28 14:20:10 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-28 14:20:10 +1300
commit3971b656af48b25a54ab9d486773dd9e6739e0ac (patch)
treef11c8003f2df2162db346e035716991da12ddf71 /test/org/traccar/ProtocolDecoderTest.java
parent997ea52de4da2ac0ebbd332982dba70cba30a069 (diff)
downloadtraccar-server-3971b656af48b25a54ab9d486773dd9e6739e0ac.tar.gz
traccar-server-3971b656af48b25a54ab9d486773dd9e6739e0ac.tar.bz2
traccar-server-3971b656af48b25a54ab9d486773dd9e6739e0ac.zip
Refactor Freedom protocol decoder
Diffstat (limited to 'test/org/traccar/ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/ProtocolDecoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/ProtocolDecoderTest.java b/test/org/traccar/ProtocolDecoderTest.java
index 61c333d67..e6d5270e8 100644
--- a/test/org/traccar/ProtocolDecoderTest.java
+++ b/test/org/traccar/ProtocolDecoderTest.java
@@ -140,8 +140,8 @@ public class ProtocolDecoderTest {
private void verifyDecodedPosition(Object decodedObject, Position expected) {
- 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;