aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/H02ProtocolEncoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-04-11 11:27:08 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-04-11 11:27:08 -0700
commit2099230503370be87b893287e264aa200d0d930f (patch)
tree618b9aff989e713dc734b871a5c082f3c734f779 /src/test/java/org/traccar/protocol/H02ProtocolEncoderTest.java
parent4904b15558f05b3458fc5f80253707e51f0ff2c0 (diff)
downloadtrackermap-server-2099230503370be87b893287e264aa200d0d930f.tar.gz
trackermap-server-2099230503370be87b893287e264aa200d0d930f.tar.bz2
trackermap-server-2099230503370be87b893287e264aa200d0d930f.zip
Use var in tests
Diffstat (limited to 'src/test/java/org/traccar/protocol/H02ProtocolEncoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/H02ProtocolEncoderTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/java/org/traccar/protocol/H02ProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/H02ProtocolEncoderTest.java
index 155869b24..3ed0a7e91 100644
--- a/src/test/java/org/traccar/protocol/H02ProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/H02ProtocolEncoderTest.java
@@ -19,7 +19,7 @@ public class H02ProtocolEncoderTest extends ProtocolTest {
LocalDateTime.of(LocalDate.now(), LocalTime.of(1, 2, 3)).atZone(ZoneOffset.systemDefault()).toInstant());
@Test
- public void testAlarmArmEncode() throws Exception {
+ public void testAlarmArmEncode() {
Command command = new Command();
command.setDeviceId(1);
@@ -29,7 +29,7 @@ public class H02ProtocolEncoderTest extends ProtocolTest {
}
@Test
- public void testAlarmDisarmEncode() throws Exception {
+ public void testAlarmDisarmEncode() {
Command command = new Command();
command.setDeviceId(1);
@@ -39,7 +39,7 @@ public class H02ProtocolEncoderTest extends ProtocolTest {
}
@Test
- public void testEngineStopEncode() throws Exception {
+ public void testEngineStopEncode() {
Command command = new Command();
command.setDeviceId(1);
@@ -49,7 +49,7 @@ public class H02ProtocolEncoderTest extends ProtocolTest {
}
@Test
- public void testEngineResumeEncode() throws Exception {
+ public void testEngineResumeEncode() {
Command command = new Command();
command.setDeviceId(1);
@@ -59,7 +59,7 @@ public class H02ProtocolEncoderTest extends ProtocolTest {
}
@Test
- public void testPositionPeriodicEncode() throws Exception {
+ public void testPositionPeriodicEncode() {
Command command = new Command();
command.setDeviceId(1);