Searched refs:expectedPayload (Results 1 – 3 of 3) sorted by relevance
98 byte[] expectedPayload = TestUtils.hexStringToByteArray(PSK_AUTH_PAYLOAD_HEX_STRING); in testBuildOutboundIkeAuthPskPayload()99 assertEquals(expectedPayload.length, payloadLength); in testBuildOutboundIkeAuthPskPayload()104 assertArrayEquals(expectedPayload, byteBuffer.array()); in testBuildOutboundIkeAuthPskPayload()
491 boolean isIpv4, @NonNull final ByteBuffer expectedPayload) { in isExpectedUdpPacket() argument493 if (p.remaining() != expectedPayload.limit()) return false; in isExpectedUdpPacket()496 expectedPayload.asReadOnlyBuffer())); in isExpectedUdpPacket()503 boolean isIpv4, @NonNull final ByteBuffer expectedPayload) { in isExpectedUdpDnsPacket() argument505 return hasExpectedDnsMessage(p, expectedPayload); in isExpectedUdpDnsPacket()
624 JSONObject expectedPayload = expected.getJSONObject(TestFormatJsonMapping.PAYLOAD_KEY); in areEqualEventReportJsons() local626 if (expectedPayload.getDouble(EventReportPayloadKeys.DOUBLE) in areEqualEventReportJsons()632 expectedPayload.get(EventReportPayloadKeys.STRING_OR_ARRAY), in areEqualEventReportJsons()638 expectedPayload.optJSONArray(EventReportPayloadKeys.ARRAY), in areEqualEventReportJsons()644 if (!expectedPayload.optString(key, "").equals(actualPayload.optString(key, ""))) { in areEqualEventReportJsons()