Searched defs:expected (Results 1 - 12 of 12) sorted by relevance

/bind-9.11.3/unit/atf-src/tools/
H A Dtest_helpers.hpp72 check_equal(const char* expected[], const string_vector& actual) argument
74 const char** expected_iter = expected;
92 for (expected_iter = expected; *expected_iter != NULL; expected_iter++)
H A Drequirements_test.cpp50 do_check(const std::string& expected, const vars_map& metadata, argument
54 if (!tools::text::match(actual, expected))
56 "match \"" + expected + "\"");
/bind-9.11.3/lib/dns/tests/
H A Dnsec3_test.c30 iteration_test(const char *file, unsigned int expected) { argument
41 ATF_CHECK_EQ_MSG(iterations, expected, "%s", file);
51 const char *expected_salt; /* string expected in target buffer */
57 * as expected and whether it properly checks available buffer space.
87 "\"%s\": expected success, got %s\n",
90 "\"%s\": expected salt \"%s\", got \"%s\"",
104 "\"%s\": expected a %lu-byte target buffer to be "
110 "\"%s\": expected a %lu-byte target buffer to be "
116 "\"%s\": expected a %lu-byte target buffer to be "
H A Ddnstap_test.c255 static dns_dtmsgtype_t expected = DNS_DTTYPE_SQ; local
268 ATF_CHECK_EQ(dtdata->type, expected);
270 expected <<= 1;
H A Dname_test.c126 unsigned char *expected, unsigned int length,
158 ATF_CHECK(memcmp(target.base, expected, target.used) == 0);
324 "testing %s - expected %u", data[i].name, data[i].istat);
125 compress_test(dns_name_t *name1, dns_name_t *name2, dns_name_t *name3, unsigned char *expected, unsigned int length, dns_compress_t *cctx, dns_decompress_t *dctx) argument
/bind-9.11.3/lib/isc/
H A Dhmacmd5.c358 unsigned char expected[] = { local
382 expected[0] ^= 0x01;
394 result = isc_hmacmd5_verify2(&ctx, expected, sizeof(expected));
H A Dmd5.c353 unsigned char expected[] = { local
358 INSIST(sizeof(expected) == ISC_MD5_DIGESTLENGTH);
377 return (ISC_TF(memcmp(digest, expected, ISC_MD5_DIGESTLENGTH) == 0));
H A Dhmacsha.c1523 unsigned char expected[] = { local
1549 expected[0] ^= 0x01;
1561 result = isc_hmacsha1_verify(&ctx, expected, sizeof(expected));
H A Dsha1.c425 unsigned char expected[] = { local
431 INSIST(sizeof(expected) == ISC_SHA1_DIGESTLENGTH);
450 return (ISC_TF(memcmp(digest, expected, ISC_SHA1_DIGESTLENGTH) == 0));
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/tests/
H A Dtestsuite.c334 idn_testsuite_assertint(idn_testsuite_t ctx, int gotten, int expected, argument
342 if (expected == gotten)
346 sprintf(msg, "`%d' expected, but got `%d'", expected, gotten);
352 const char *gotten, const char *expected,
358 assert(ctx != NULL && gotten != NULL && expected != NULL &&
363 if (strcmp(expected, gotten) == 0)
367 msg = (char *)malloc(strlen(expected) * 4 + strlen(gotten) * 4 + 32);
368 expected_hex = make_hex_string(expected);
373 sprintf(msg, "`%s' expected, bu
351 idn_testsuite_assertstring(idn_testsuite_t ctx, const char *gotten, const char *expected, const char *file, int lineno) argument
385 idn_testsuite_assertptr(idn_testsuite_t ctx, const void *gotten, const void *expected, const char *file, int lineno) argument
430 idn_testsuite_assertresult(idn_testsuite_t ctx, idn_result_t gotten, idn_result_t expected, const char *file, int lineno) argument
449 idn_testsuite_assertucs4string(idn_testsuite_t ctx, const unsigned long *gotten, const unsigned long *expected, const char *file, int lineno) argument
[all...]
/bind-9.11.3/bin/tests/system/lwresd/
H A Dlwtest.c123 test_gabn(const char *target, lwres_result_t expected, const char *address, argument
137 if (ret != expected) {
174 printf("I:gabn(%s) returned %s, expected %s\n",
185 test_gnba(const char *target, lwres_uint32_t af, lwres_result_t expected, argument
205 if (ret != expected) {
213 printf("I:gnba(%s) returned %s, expected %s\n",
251 "expected %s\n", name, outbuf, address);
299 "expected %s\n", name, outbuf, address);
357 "expected %s\n", name, outbuf, address);
398 "expected
[all...]
/bind-9.11.3/bin/tests/names/
H A Dt_names.c161 "got 0x%.2x, expected 0x%.2x\n",
167 t_info("data length error, expected %lu, got %lu\n",
487 test_dns_name_isabsolute(char *test_name, isc_boolean_t expected) { argument
509 if (isabs_p == expected)
549 * label, bitpos, expected value.
764 t_info("expected relationship of %s, got %s\n",
777 t_info("expected ordering %d, got %d\n",
912 t_info("expected order of %d, got %d\n",
1021 t_info("expected order of %d, got %d\n",
1125 t_info("expected retur
[all...]

Completed in 46 milliseconds