diff options
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/WondexProtocolEncoderTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/WondexProtocolEncoderTest.java b/test/org/traccar/protocol/WondexProtocolEncoderTest.java index b898b2c8a..fb038a18b 100644 --- a/test/org/traccar/protocol/WondexProtocolEncoderTest.java +++ b/test/org/traccar/protocol/WondexProtocolEncoderTest.java @@ -10,12 +10,12 @@ public class WondexProtocolEncoderTest extends ProtocolTest { public void testEncode() throws Exception {
WondexProtocolEncoder encoder = new WondexProtocolEncoder();
-
+
Command command = new Command();
command.setDeviceId(2);
command.setType(Command.TYPE_POSITION_SINGLE);
command.set(Command.KEY_DEVICE_PASSWORD, "0000");
-
+
Assert.assertEquals("$WP+GETLOCATION=0000", encoder.encodeCommand(command));
}
|