aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/Jt600ProtocolEncoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/traccar/protocol/Jt600ProtocolEncoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/Jt600ProtocolEncoderTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/org/traccar/protocol/Jt600ProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/Jt600ProtocolEncoderTest.java
index c0b399c63..51cefb962 100644
--- a/src/test/java/org/traccar/protocol/Jt600ProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/Jt600ProtocolEncoderTest.java
@@ -11,26 +11,26 @@ public class Jt600ProtocolEncoderTest extends ProtocolTest {
Command command = new Command();
@Test
- public void testEngineStop() throws Exception {
+ public void testEngineStop() {
command.setType(Command.TYPE_ENGINE_STOP);
assertEquals("(S07,0)", encoder.encodeCommand(command));
}
@Test
- public void testEngineResume() throws Exception {
+ public void testEngineResume() {
command.setType(Command.TYPE_ENGINE_RESUME);
assertEquals("(S07,1)", encoder.encodeCommand(command));
}
@Test
- public void testSetTimezone() throws Exception {
+ public void testSetTimezone() {
command.setType(Command.TYPE_SET_TIMEZONE);
command.set(Command.KEY_TIMEZONE, "GMT+4");
assertEquals("(S09,1,240)", encoder.encodeCommand(command));
}
@Test
- public void testReboot() throws Exception {
+ public void testReboot() {
command.setType(Command.TYPE_REBOOT_DEVICE);
assertEquals("(S17)", encoder.encodeCommand(command));
}