aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-25 00:46:58 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-10-25 09:52:37 +1300
commitbf42fd74dc38459ffafcf4a329634504efc90d40 (patch)
tree89d532939c254259a0978ea6129a336453c08821 /test/org/traccar
parent96e15853b9c28bd31295ca2c014e226e4a50aaa1 (diff)
downloadtraccar-server-bf42fd74dc38459ffafcf4a329634504efc90d40.tar.gz
traccar-server-bf42fd74dc38459ffafcf4a329634504efc90d40.tar.bz2
traccar-server-bf42fd74dc38459ffafcf4a329634504efc90d40.zip
Update Watch frame tests
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/WatchFrameDecoderTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/org/traccar/protocol/WatchFrameDecoderTest.java b/test/org/traccar/protocol/WatchFrameDecoderTest.java
index c705b24b3..664501a43 100644
--- a/test/org/traccar/protocol/WatchFrameDecoderTest.java
+++ b/test/org/traccar/protocol/WatchFrameDecoderTest.java
@@ -1,6 +1,5 @@
package org.traccar.protocol;
-import org.junit.Assert;
import org.junit.Test;
import org.traccar.ProtocolTest;
@@ -11,11 +10,11 @@ public class WatchFrameDecoderTest extends ProtocolTest {
WatchFrameDecoder decoder = new WatchFrameDecoder();
- Assert.assertEquals(
+ verifyFrame(
binary("5b33472a383330383430363237392a303030382a72636170747572655d"),
decoder.decode(null, null, binary("5b33472a383330383430363237392a303030382a72636170747572655d")));
- Assert.assertEquals(
+ verifyFrame(
binary("5b33472a383330383430363237392a303030392a4c4b2c302c302c38345d"),
decoder.decode(null, null, binary("5b33472a383330383430363237392a303030392a4c4b2c302c302c38345d")));