aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/MeiligaoFrameDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-01-25 20:14:42 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-01-26 08:41:45 +1300
commit87bdccbe9843e38174ad345b8e474b1cded9f985 (patch)
tree4b2f90ad2b9a5d32410ab9579fb4135b5ac95bfa /test/org/traccar/protocol/MeiligaoFrameDecoderTest.java
parent8535983fea8c09046c53f2ebf388bbf3fae594ce (diff)
downloadtrackermap-server-87bdccbe9843e38174ad345b8e474b1cded9f985.tar.gz
trackermap-server-87bdccbe9843e38174ad345b8e474b1cded9f985.tar.bz2
trackermap-server-87bdccbe9843e38174ad345b8e474b1cded9f985.zip
Static imports for junit
Diffstat (limited to 'test/org/traccar/protocol/MeiligaoFrameDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/MeiligaoFrameDecoderTest.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/org/traccar/protocol/MeiligaoFrameDecoderTest.java b/test/org/traccar/protocol/MeiligaoFrameDecoderTest.java
index 9b02b646c..214936514 100644
--- a/test/org/traccar/protocol/MeiligaoFrameDecoderTest.java
+++ b/test/org/traccar/protocol/MeiligaoFrameDecoderTest.java
@@ -4,6 +4,9 @@ import org.junit.Assert;
import org.junit.Test;
import org.traccar.ProtocolTest;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNull;
+
public class MeiligaoFrameDecoderTest extends ProtocolTest {
@Test
@@ -11,14 +14,14 @@ public class MeiligaoFrameDecoderTest extends ProtocolTest {
MeiligaoFrameDecoder decoder = new MeiligaoFrameDecoder();
- Assert.assertNull(
+ assertNull(
decoder.decode(null, null, binary("00")));
- Assert.assertEquals(
+ assertEquals(
binary("2424007b8621700151517899553233323835372e3030302c562c333632372e313835342c4e2c30313034352e323130392c452c302e30302c372c3239303131332c2c2a31347c302e307c347c303030307c303030382c303030357c303235443030303230303541374432327c30367c303030314530353527f40d0a"),
decoder.decode(null, null, binary("2424007B8621700151517899553233323835372E3030302C562C333632372E313835342C4E2C30313034352E323130392C452C302E30302C372C3239303131332C2C2A31347C302E307C347C303030307C303030382C303030357C303235443030303230303541374432327C30367C303030314530353527F40D0A")));
- Assert.assertEquals(
+ assertEquals(
binary("2424007b8621700151517899553233323835372e3030302c562c333632372e313835342c4e2c30313034352e323130392c452c302e30302c372c3239303131332c2c2a31347c302e307c347c303030307c303030382c303030357c303235443030303230303541374432327c30367c303030314530353527f40d0a"),
decoder.decode(null, null, binary("002424007B8621700151517899553233323835372E3030302C562C333632372E313835342C4E2C30313034352E323130392C452C302E30302C372C3239303131332C2C2A31347C302E307C347C303030307C303030382C303030357C303235443030303230303541374432327C30367C303030314530353527F40D0A")));