aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
index 847f6707d..6e8bd85b3 100644
--- a/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
@@ -9,7 +9,7 @@ public class SuntechProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecodeTemperature() throws Exception {
- SuntechProtocolDecoder decoder = new SuntechProtocolDecoder(null);
+ var decoder = new SuntechProtocolDecoder(null);
decoder.setHbm(true);
decoder.setIncludeAdc(true);
@@ -38,7 +38,7 @@ public class SuntechProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecodeRpm() throws Exception {
- SuntechProtocolDecoder decoder = new SuntechProtocolDecoder(null);
+ var decoder = new SuntechProtocolDecoder(null);
decoder.setHbm(true);
decoder.setIncludeRpm(true);
@@ -52,7 +52,7 @@ public class SuntechProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecodeHours() throws Exception {
- SuntechProtocolDecoder decoder = new SuntechProtocolDecoder(null);
+ var decoder = new SuntechProtocolDecoder(null);
decoder.setHbm(true);
@@ -65,7 +65,7 @@ public class SuntechProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecodeDriver() throws Exception {
- SuntechProtocolDecoder decoder = new SuntechProtocolDecoder(null);
+ var decoder = new SuntechProtocolDecoder(null);
verifyAttribute(decoder, buffer(
"ST300HTE;511050566;45;308;20200909;13:38:38;0;12.50;001354;0.0;1;0;1;1;0;-27.636632;-052.277933;-27.636675;-052.277947;000.000;002.296;0;00000000000000"),
@@ -80,7 +80,7 @@ public class SuntechProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
- SuntechProtocolDecoder decoder = new SuntechProtocolDecoder(null);
+ var decoder = new SuntechProtocolDecoder(null);
verifyAttribute(decoder, buffer(
"STT;0560001616;BFFFFF;56;1.0.15;1;20200219;20:52:25;00008D6C;334;20;0925;24;+20.741764;-103.430364;0.00;0.00;19;1;00000001;00000000;2;1;1765;00008003;0.0;12.14;136598"),