aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorseym45 <seym45@gmail.com>2023-08-29 17:29:30 +0400
committerseym45 <seym45@gmail.com>2023-08-29 17:31:57 +0400
commitf6f210592413157006776ba454d29834e167688c (patch)
treefe4752e629ca63e69a8265dbc6217a870958c878 /src/test/java
parent63ea08a14e381261568192a999f51e8c3cc3f574 (diff)
downloadtrackermap-server-f6f210592413157006776ba454d29834e167688c.tar.gz
trackermap-server-f6f210592413157006776ba454d29834e167688c.tar.bz2
trackermap-server-f6f210592413157006776ba454d29834e167688c.zip
- Set supported commands in one call
- Remove timing interval command - Rename messages according to codebase standard
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java
index 1559e8294..af6c71e37 100644
--- a/src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java
@@ -20,17 +20,4 @@ public class GatorProtocolEncoderTest extends ProtocolTest {
command.setType(Command.TYPE_POSITION_SINGLE);
verifyCommand(encoder, command, binary("24243000062008958C070D"));
}
-
- @Test
- public void testEncodePeriodicPositionRetrievalIntervalSet() throws Exception {
- var encoder = inject(new GatorProtocolEncoder(null));
- var device = encoder.getCacheManager().getObject(Device.class, 1);
- when(device.getUniqueId()).thenReturn("13088005658");
-
- Command command = new Command();
- command.setDeviceId(1);
- command.set(command.KEY_FREQUENCY, "5;5;120");
- command.setType(Command.TYPE_POSITION_PERIODIC);
- verifyCommand(encoder, command, binary("242434000b5800383a00050005781d0d"));
- }
}