aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/ProtocolTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-19 11:31:12 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-19 11:31:12 +1200
commit4af79323eff0aa57c44e4069bcb46cb8388c9524 (patch)
tree306f28f2d76ec6f092b74c5b80751154e034635b /test/org/traccar/ProtocolTest.java
parentd882668353819880970fa889d89705da2c93c02b (diff)
downloadtrackermap-server-4af79323eff0aa57c44e4069bcb46cb8388c9524.tar.gz
trackermap-server-4af79323eff0aa57c44e4069bcb46cb8388c9524.tar.bz2
trackermap-server-4af79323eff0aa57c44e4069bcb46cb8388c9524.zip
Improve support for Ulbotech protocol
Diffstat (limited to 'test/org/traccar/ProtocolTest.java')
-rw-r--r--test/org/traccar/ProtocolTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/ProtocolTest.java b/test/org/traccar/ProtocolTest.java
index a4dcbf61c..2f5f3962f 100644
--- a/test/org/traccar/ProtocolTest.java
+++ b/test/org/traccar/ProtocolTest.java
@@ -104,6 +104,10 @@ public class ProtocolTest {
return request;
}
+ protected void verifyNotNull(BaseProtocolDecoder decoder, Object object) throws Exception {
+ Assert.assertNotNull(decoder.decode(null, null, object));
+ }
+
protected void verifyNothing(BaseProtocolDecoder decoder, Object object) throws Exception {
Assert.assertNull(decoder.decode(null, null, object));
}