aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/CastelProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/CastelProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/CastelProtocolDecoderTest.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/org/traccar/protocol/CastelProtocolDecoderTest.java b/test/org/traccar/protocol/CastelProtocolDecoderTest.java
index 4ecb263ba..bbc5f1f37 100644
--- a/test/org/traccar/protocol/CastelProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/CastelProtocolDecoderTest.java
@@ -15,25 +15,25 @@ public class CastelProtocolDecoderTest extends ProtocolTest {
verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"404043000432313345503230313630303035383500000000004006a2021d5810031d58ae940400da050000f6040000070000000400076401680000000001001bd20d0a"));
- verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"4040d0000432313345503230313630303035383500000000001001831c1c58b1fc1c58ae94040012220000f60400005800000000000763016800008484004944445f3231335730315f532056312e302e37004944445f3231335730315f482056312e302e370032000110021003100410051006100710081009100a100b100c100d100e1011100111021103110411051106110711011202120312041201130213031301160216011701180218011b011c011d011e011f021f031f041f051f061f071f0121022101260127012861780d0a"));
- verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"404029000432313345503230313630303035383500000000009001ffffffff0000b4fc1c582b6e0d0a"));
verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"40406000043231334550323031363030303538350000000000400708000000831c1c58f4fb1c58ae94040012220000f604000058000000200007630168000084c401040b10090c3532db3f07f07f7520090100000101010e00000000c7920d0a"));
- verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"404042000432313345503230313630303035383500000000001002831c1c58b7fc1c58ae94040012220000f604000058000000000007630168000084840072a20d0a"));
- verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"4040d0000432313345503230313630303035383500000000001001831c1c5805fe1c58ae94040012220000f60400005800000000000763016800008484004944445f3231335730315f532056312e302e37004944445f3231335730315f482056312e302e370032000110021003100410051006100710081009100a100b100c100d100e1011100111021103110411051106110711011202120312041201130213031301160216011701180218011b011c011d011e011f021f031f041f051f061f071f012102210126012701284eb10d0a"));
verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"40405700043231334e583230313630303131373700000000004002c458ce572159ce57a9e2020082030000500c00000f0000000400036401240e0403023c000505210c210d210f21102101075b14030121330269430d0a"));
- verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"40407800043231334e583230313630303131373700000000004004fa52ce574b53ce57cad1020041020000050c00000d0000000400036401240b0503001b042105210c210d210f211021112113211c211f212121232124212c212d213021312133213e2141214221452149214a214c214f215021384e0d0a"));
verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN,
@@ -45,7 +45,7 @@ public class CastelProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"40403600043231334e583230313630303033343600000000004009ad31a457050810061a35b29bf80ae6da83180300320bbe32580d0a40403600043231334e583230313630303033343600000000004009ad31a457050810061a35b29bf80ae6da83180300320bbe32580d0a"));
- verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"4040d400043535333133350000000000000000000000000000100196d499574bd899570000000000000000010000000000000000000000002410000000004944445f3231334730325f532056322e332e345f4e004944445f3231334730325f482056322e332e345f4e0032000110021003100410051006100710081009100a100b100c100d100e1011100111021103110411051106110711011202120312041201130213031301160216011701180218011b011c011d011e011f021f031f041f051f061f071f012102210126012701285b410d0a"));
verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN,
@@ -78,7 +78,7 @@ public class CastelProtocolDecoderTest extends ProtocolTest {
verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"404043000431303031313132353239393837000000000000004006C1F0695209F169529C91110000000000698300000D0000000400036401014C00030000009AF40D0A"));
- verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"404086000431303031313132353239393837000000000000004004C1F0695200F169529C91110000000000698300000D0000000400036401014C00030022032104210521062107210C210D210E210F2110211121132115211C211F21212124212E212F2130213121322133213C214221432144214521472149214A214C214D214E219AE90D0A"));
verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN,
@@ -93,22 +93,22 @@ public class CastelProtocolDecoderTest extends ProtocolTest {
verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"4040450004323132474c31313433303035303033000000000040082ca89b55a6a99b555c57000000000000c40200000b0000001400036401111f000302f5533bd653f10d0a"));
- verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"40404d0004323132474c3131343330303530303300000000004007120000002ca89b55cba99b555c57000000000000c40200000b0000000000036401111f000102000101170000000068850d0a"));
- verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"4040420004323132474c31313433303035303033000000000010022ca89b55cca99b555c57000000000000cf0200000b0000000000036401111f0000020013be0d0a"));
verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"4040870004323132474c31313433303035303033000000000040052ca89b55e3a89b555c57000000000000c4020000040000001400036401111f0003000012042105210b210c210d210f211021112113211c2121212321242133213421422146214f212b50663603003ce9030dff060000600dffffc25865ffff9e02b43624000000003cbc0d0a"));
- verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"4040d00004323132474c31313433303035303033000000000010013ec09b5596c29b555c57000000000000de0200000f0000000000036401111f000000004944445f3231334730325f532056322e322e36004944445f3231334730325f482056322e322e360032000110021003100410051006100710081009100a100b100c100d100e1011100111021103110411051106110711011202120312041201130213031301160216011701180218011b011c011d011e011f021f031f041f051f061f071f012102210126012701288a690d0a"));
- verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"40404d0004323132474c3131343330303530303300000000004007050000003ec09b5564c29b555c57000000000000de0200000f0000002000036401111f0000020001010e00000000237e0d0a"));
- verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"40401F00043130303131313235323939383700000000000000100303320D0A"));
verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN,