Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 207) sorted by relevance

123456789

/freebsd-src/contrib/ntp/sntp/unity/
H A Dunity.h76 #define TEST_ASSERT_EQUAL_INT(expected, actual) … argument
77 #define TEST_ASSERT_EQUAL_INT8(expected, actual) … argument
78 #define TEST_ASSERT_EQUAL_INT16(expected, actual) … argument
79 #define TEST_ASSERT_EQUAL_INT32(expected, actual) … argument
80 #define TEST_ASSERT_EQUAL_INT64(expected, actual) … argument
81 #define TEST_ASSERT_EQUAL(expected, actual) … argument
82 #define TEST_ASSERT_NOT_EQUAL(expected, actual) … argument
83 #define TEST_ASSERT_EQUAL_UINT(expected, actual) … argument
84 #define TEST_ASSERT_EQUAL_UINT8(expected, actual) … argument
85 #define TEST_ASSERT_EQUAL_UINT16(expected, actual) … argument
[all …]
H A Dunity_internals.h593 #define UNITY_TEST_ASSERT_EQUAL_INT(expected, actual, line, message) Un… argument
594 #define UNITY_TEST_ASSERT_EQUAL_INT8(expected, actual, line, message) Un… argument
595 #define UNITY_TEST_ASSERT_EQUAL_INT16(expected, actual, line, message) Un… argument
596 #define UNITY_TEST_ASSERT_EQUAL_INT32(expected, actual, line, message) Un… argument
597 #define UNITY_TEST_ASSERT_EQUAL_UINT(expected, actual, line, message) Un… argument
598 #define UNITY_TEST_ASSERT_EQUAL_UINT8(expected, actual, line, message) Un… argument
599 #define UNITY_TEST_ASSERT_EQUAL_UINT16(expected, actual, line, message) Un… argument
600 #define UNITY_TEST_ASSERT_EQUAL_UINT32(expected, actual, line, message) Un… argument
601 #define UNITY_TEST_ASSERT_EQUAL_HEX8(expected, actual, line, message) Un… argument
602 #define UNITY_TEST_ASSERT_EQUAL_HEX16(expected, actual, line, message) Un… argument
[all …]
H A Dunity_fixture.h76 #define TEST_ASSERT_POINTERS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_PTR(expected, actual) argument
77 #define TEST_ASSERT_BYTES_EQUAL(expected, actual) TEST_ASSERT_EQUAL_HEX8(0xff & (expected), 0x… argument
80 #define LONGS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_INT((expected), (actual)) argument
81 #define STRCMP_EQUAL(expected, actual) TEST_ASSERT_EQUAL_STRING((expected), (actual… argument
82 #define DOUBLES_EQUAL(expected, actual, delta) TEST_ASSERT_FLOAT_WITHIN(((expected), (actua… argument
H A Dunity.c387 static void UnityPrintExpectedAndActualStrings(const char* expected, const char* actual) in UnityPrintExpectedAndActualStrings()
417 static int UnityCheckArraysForNull(UNITY_PTR_ATTRIBUTE const void* expected, UNITY_PTR_ATTRIBUTE co… in UnityCheckArraysForNull()
450 const _U_SINT expected, in UnityAssertBits()
470 void UnityAssertEqualNumber(const _U_SINT expected, in UnityAssertEqualNumber()
491 void UnityAssertEqualIntArray(UNITY_PTR_ATTRIBUTE const void* expected, in UnityAssertEqualIntArray()
609 void UnityAssertEqualFloatArray(UNITY_PTR_ATTRIBUTE const _UF* expected, in UnityAssertEqualFloatArray()
666 const _UF expected, in UnityAssertFloatsWithin()
770 void UnityAssertEqualDoubleArray(UNITY_PTR_ATTRIBUTE const _UD* expected, in UnityAssertEqualDoubleArray()
827 const _UD expected, in UnityAssertDoublesWithin()
933 const _U_SINT expected, in UnityAssertNumbersWithin()
[all …]
/freebsd-src/crypto/openssh/regress/unittests/hostkeys/
H A Dtest_iterate.c24 struct expected { struct
37 const struct expected *expected; argument
55 const struct expected *expected; in check() local
152 prepare_expected(struct expected *expected, size_t n) in prepare_expected()
182 cleanup_expected(struct expected *expected, size_t n) in cleanup_expected()
/freebsd-src/contrib/atf/atf-c/
H A Dmacros.h156 #define ATF_REQUIRE_EQ(expected, actual) \ argument
159 #define ATF_CHECK_EQ(expected, actual) \ argument
162 #define ATF_REQUIRE_EQ_MSG(expected, actual, fmt, ...) \ argument
166 #define ATF_CHECK_EQ_MSG(expected, actual, fmt, ...) \ argument
170 #define ATF_REQUIRE_STREQ(expected, actual) do { \ argument
178 #define ATF_CHECK_STREQ(expected, actual) do { \ argument
186 #define ATF_REQUIRE_STREQ_MSG(expected, actual, fmt, ...) do { \ argument
194 #define ATF_CHECK_STREQ_MSG(expected, actual, fmt, ...) do { \ argument
202 #define ATF_REQUIRE_INTEQ(expected, actual) do { \ argument
210 #define ATF_CHECK_INTEQ(expected, actual) do { \ argument
[all …]
/freebsd-src/tests/sys/sys/
H A Dtime_test.c40 atf_check_nstosbt(sbintime_t expected, int64_t ns) { in atf_check_nstosbt()
68 atf_check_ustosbt(sbintime_t expected, int64_t us) { in atf_check_ustosbt()
96 atf_check_mstosbt(sbintime_t expected, int64_t ms) { in atf_check_mstosbt()
123 atf_check_sbttons(int64_t expected, sbintime_t sbt) { in atf_check_sbttons()
152 atf_check_sbttous(int64_t expected, sbintime_t sbt) { in atf_check_sbttous()
182 atf_check_sbttoms(int64_t expected, sbintime_t sbt) { in atf_check_sbttoms()
/freebsd-src/contrib/expat/tests/
H A Dbasic_tests.c111 const uint64_t expected = SIP_ULL(0xa129ca61U, 0x49be45e5U); in START_TEST() local
211 const XML_Char *expected in START_TEST() local
214 const XML_Char *expected in START_TEST() local
226 const XML_Char *expected = XCS("\x00e9\x00e8\x00e0\x00e7\x00ea\x00c8"); in START_TEST() local
228 const XML_Char *expected in START_TEST() local
239 const XML_Char *expected in START_TEST() local
241 const XML_Char *expected START_TEST() local
252 const XML_Char *expected = XCS("\x00e9\x00e8\x00e0\x00e7\x00ea\x00c8"); START_TEST() local
254 const XML_Char *expected START_TEST() local
265 const XML_Char *expected = XCS("\x00e9"); START_TEST() local
267 const XML_Char *expected = XCS("\xC3\xA9"); START_TEST() local
281 const XML_Char *expected = XCS("\xfebf"); START_TEST() local
283 const XML_Char *expected = XCS("\xEF\xBA\xBF"); START_TEST() local
390 const XML_Char *expected = XCS("some \xff21 text"); START_TEST() local
392 const XML_Char *expected = XCS("some \357\274\241 text"); START_TEST() local
459 const XML_Char *expected = XCS("\x00e4 \x00f6 \x00fc ") START_TEST() local
463 const XML_Char *expected = XCS("\xC3\xA4 \xC3\xB6 \xC3\xBC ") START_TEST() local
518 const XML_Char *expected = START_TEST() local
573 const XML_Char *expected = START_TEST() local
647 const StructDataEntry expected[] START_TEST() local
794 const XML_Char *expected = XCS("/c/b/f/d/a"); START_TEST() local
988 const XML_Char *expected = XCS("\x00e9"); START_TEST() local
990 const XML_Char *expected = XCS("\xc3\xa9"); START_TEST() local
1021 const XML_Char *expected = XCS("\x00e9"); START_TEST() local
1023 const XML_Char *expected = XCS("\xc3\xa9"); START_TEST() local
1422 const XML_Char *expected = XCS("<greeting>Hello, world!</greeting>"); START_TEST() local
1464 const XML_Char *expected = XCS("hello"); START_TEST() local
1491 const XML_Char *expected = XCS("hello"); START_TEST() local
1543 const XML_Char *expected = START_TEST() local
1603 const XML_Char *expected = XCS("\xd834\xdd5e\xd834\xdd5f"); START_TEST() local
1605 const XML_Char *expected = XCS("\xf0\x9d\x85\x9e\xf0\x9d\x85\x9f"); START_TEST() local
2389 const XML_Char *expected = XCS("<doc><![CDATA[Hello\nworld]]></doc>"); START_TEST() local
2993 const XML_Char *expected = XCS("<doc>&lt;&gt;&amp;&quot;&apos;</doc>"); START_TEST() local
3053 const XML_Char *expected START_TEST() local
3081 const XML_Char *expected = XCS("<![IGNORE[<!ELEMENT e (#PCDATA)*>]]>\n&en;"); START_TEST() local
3108 const XML_Char *expected = XCS("<![IGNORE[<!ELEMENT e (#PCDATA)*>]]>\n&en;"); START_TEST() local
3327 const XML_Char *expected = XCS("This is a \n \n\nyellow tiger"); START_TEST() local
3749 const XML_Char *expected = XCS("Hello, world"); START_TEST() local
3975 const XML_Char *expected = XCS("<?test processing instruction?>\n<doc/>"); START_TEST() local
3991 const XML_Char *expected = XCS("<!-- This is a comment -->\n<doc/>"); START_TEST() local
4007 const XML_Char *expected = XCS("yml: something like data\n"); START_TEST() local
4022 const XML_Char *expected = XCS("xnl: nothing like data\n"); START_TEST() local
4037 const XML_Char *expected = XCS("xmm: everything like data\n"); START_TEST() local
4060 const XML_Char *expected = XCS("\x0e04\x0e08: \n"); START_TEST() local
4062 const XML_Char *expected = XCS("\xe0\xb8\x84\xe0\xb8\x88: \n"); START_TEST() local
4086 const XML_Char *expected = XCS("\x0e04\x0e08: \n"); START_TEST() local
4088 const XML_Char *expected = XCS("\xe0\xb8\x84\xe0\xb8\x88: \n"); START_TEST() local
4109 const XML_Char *expected = XCS(" Comment A "); START_TEST() local
4128 const XML_Char *expected = XCS(" Comment B "); START_TEST() local
4216 const XML_Char *expected = XCS("abcdefghabcdefghabcdefghijklmnop"); START_TEST() local
4238 const XML_Char *expected = XCS("abcdefghabcdefghabcdefghijklmnop"); START_TEST() local
4347 const XML_Char *expected = XCS("\x00ff\x00feL "); START_TEST() local
4350 const XML_Char *expected = XCS("\xc3\xbf\xc3\xbeL "); START_TEST() local
4378 const XML_Char *expected = XCS("\x00fe\x00ff L"); START_TEST() local
4381 const XML_Char *expected = XCS("\xc3\xbe\xc3\xbf L"); START_TEST() local
4413 const XML_Char *expected = XCS("\x00ff\x00feL "); START_TEST() local
4416 const XML_Char *expected = XCS("\xc3\xbf\xc3\xbeL "); START_TEST() local
4444 const XML_Char *expected = XCS("\x00fe\x00ff L"); START_TEST() local
4447 const XML_Char *expected = "\xc3\xbe\xc3\xbf L"; START_TEST() local
4471 const XML_Char *expected = XCS("\x3c00\x6500\x2f00\x3e00"); START_TEST() local
4473 const XML_Char *expected = XCS("\xe3\xb0\x80" /* U+3C00 */ START_TEST() local
4500 const XML_Char *expected = XCS("\x3c00\x6500\x2f00\x3e00"); START_TEST() local
4502 const XML_Char *expected = XCS("\xe3\xb0\x80" /* U+3C00 */ START_TEST() local
4554 const XML_Char *expected = XCS("\xfec0"); START_TEST() local
4556 const XML_Char *expected = XCS("\xef\xbb\x80"); START_TEST() local
4576 const XML_Char *expected = XCS("one \x00e9 two"); START_TEST() local
4578 const XML_Char *expected = XCS("one \xc3\xa9 two"); START_TEST() local
4589 const XML_Char *expected = XCS("\x00e9]\x00e9two"); START_TEST() local
4591 const XML_Char *expected = XCS("\xc3\xa9]\xc3\xa9two"); START_TEST() local
4707 const XML_Char *expected = XCS("doc/doc"); START_TEST() local
4728 const XML_Char *expected = XCS("a"); START_TEST() local
4748 const XML_Char *expected = XCS("1"); START_TEST() local
4786 const XML_Char *expected = XCS("\x0e04\x0e08=<!ELEMENT doc (#PCDATA)>\n"); START_TEST() local
4788 const XML_Char *expected START_TEST() local
4931 const XML_Char *expected = XCS("\x00e4 \x00e4"); START_TEST() local
4933 const XML_Char *expected = XCS("\xc3\xa4 \xc3\xa4"); START_TEST() local
4953 const XML_Char *expected = XCS("\x00e4 \x00e4"); START_TEST() local
4955 const XML_Char *expected = XCS("\xc3\xa4 \xc3\xa4"); START_TEST() local
4985 const XML_Char *expected = XCS("baz"); START_TEST() local
5017 const XML_Char *expected = XCS("baz"); START_TEST() local
5158 const XML_Char *expected = XCS("COMMENT"); START_TEST() local
5181 const XML_Char *const expected = XCS("start") XCS("e3 head") XCS("e2 head") START_TEST() local
[all...]
H A Dcommon.h123 # define run_attribute_check(text, expected) \ argument
129 run_attribute_check(text,expected) global() argument
145 run_ext_character_check(text,test_data,expected) global() argument
/freebsd-src/lib/msun/tests/
H A Dconj_test.c75 complex long double expected; in ATF_TC_BODY() local
79 __real__ expected = __real__ in = tests[2 * i]; in ATF_TC_BODY() local
81 __imag__ expected = -cimag(in); in ATF_TC_BODY() local
/freebsd-src/lib/libc/tests/stdlib/
H A Dstrfmon_test.c38 char actual[40], expected[40]; in ATF_TC_BODY() local
71 const char *expected; in ATF_TC_BODY() member
111 const char *expected; in ATF_TC_BODY() member
154 const char *expected; in ATF_TC_BODY() member
193 const char *expected; in ATF_TC_BODY() member
221 const char *expected; in ATF_TC_BODY() member
/freebsd-src/contrib/kyua/engine/
H A Datf_result_test.cpp569 const model::test_result expected(model::test_result_broken, in ATF_TEST_CASE_BODY() local
580 const model::test_result expected(model::test_result_expected_failure, in ATF_TEST_CASE_BODY() local
591 const model::test_result expected(model::test_result_expected_failure, in ATF_TEST_CASE_BODY() local
602 const model::test_result expected(model::test_result_expected_failure, in ATF_TEST_CASE_BODY() local
613 const model::test_result expected(model::test_result_expected_failure, in ATF_TEST_CASE_BODY() local
624 const model::test_result expected(model::test_result_expected_failure, in ATF_TEST_CASE_BODY() local
634 const model::test_result expected(model::test_result_failed, in ATF_TEST_CASE_BODY() local
644 const model::test_result expected(model::test_result_passed); in ATF_TEST_CASE_BODY() local
653 const model::test_result expected(model::test_result_skipped, in ATF_TEST_CASE_BODY() local
665 const model::test_result expected( in ATF_TEST_CASE_BODY() local
[all …]
/freebsd-src/contrib/kyua/drivers/
H A Dreport_junit_test.cpp187 const std::string expected = std::string() ATF_TEST_CASE_BODY() local
213 const std::string expected = std::string() ATF_TEST_CASE_BODY() local
235 const std::string expected = std::string() ATF_TEST_CASE_BODY() local
267 const char* expected = ATF_TEST_CASE_BODY() local
310 const std::string expected = std::string() + ATF_TEST_CASE_BODY() local
[all...]
/freebsd-src/crypto/openssl/test/
H A Dpkey_meth_kdf_test.c67 const unsigned char expected[sizeof(out)] = { in test_kdf_tls1_prf() local
134 const unsigned char expected[sizeof(out)] = { in test_kdf_hkdf() local
201 const unsigned char expected[sizeof(out)] = { in test_kdf_scrypt() local
H A Dpoly1305_internal_test.c27 SIZED_DATA expected; member
1513 const unsigned char *expected = test.expected.data; in test_poly1305() local
/freebsd-src/contrib/ntp/sntp/tests/
H A Dutilities.c62 FinishDebugTest(const char * expected, in FinishDebugTest()
102 const char * expected = "2001:db8:85a3:8d3:1319:8a2e:370:7334"; in test_IPv6Address() local
118 struct pkt expected; in test_SetLiVnMode1() local
133 struct pkt expected; in test_SetLiVnMode2() local
H A DkodFile.c117 FILE * expected = fopen(CreatePath("kod-expected-single", INPUT_DIR),"rb"); in test_WriteFileWithSingleEntry() local
147 FILE * expected = fopen(CreatePath("kod-expected-multiple", INPUT_DIR),"rb"); in test_WriteFileWithMultipleEntries() local
/freebsd-src/tools/regression/netinet6/inet6_rth/
H A Dtest_subr.c54 checkptr(caddr_t expected, caddr_t got, const char *desc) in checkptr()
87 checkstr(const char *expected, const char *got, size_t explen, const char *desc) in checkstr()
120 checknum(int expected, int got, int cmp, const char *desc) in checknum()
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dmmap_seek.c39 seek_data(int fd,off_t offset,off_t expected) seek_data() argument
50 seek_hole(int fd,off_t offset,off_t expected) seek_hole() argument
/freebsd-src/sbin/ping/tests/
H A Dtest_ping.py727 test_ping(self, expected) global() argument
756 test_ping_46(self, expected) global() argument
1446 test_pinger(self, pinger_kargs, expected) global() argument
[all...]
/freebsd-src/contrib/wpa/src/utils/
H A Dutils_module_tests.c928 unsigned int expected; in const_time_tests() member
939 unsigned int expected; in const_time_tests() member
951 unsigned int expected; in const_time_tests() member
965 unsigned int expected; in const_time_tests() member
982 unsigned int expected; in const_time_tests() member
999 int expected; in const_time_tests() member
1014 u8 expected; in const_time_tests() member
1029 s8 expected; in const_time_tests() member
1043 u8 *expected; in const_time_tests() member
1054 int expected; in const_time_tests() member
/freebsd-src/sbin/dhclient/tests/
H A Doption-domain-search.c39 char *expected = "example.org."; in one_domain_valid() local
113 char *expected = "example.org. example.com."; in two_domains_valid() local
187 char *expected = "example.org. foobar.org."; in two_domains_compressed() local
287 char *expected = "example.org. cl.foobar.com. fr.foobar.com."; in multiple_domains_valid() local
/freebsd-src/contrib/kyua/model/
H A Dtest_result_test.cpp56 #define GOOD_TEST(name, expected, result_type) \ argument
69 #define OUTPUT_TEST(name, expected, result) \ argument
/freebsd-src/contrib/libfido2/src/
H A Dtpm.c229 tpm_rs256_pubarea_t expected; in check_rs256_pubarea() local
264 tpm_es256_pubarea_t expected; in check_es256_pubarea() local
302 tpm_sha1_attest_t expected; in check_sha1_certinfo() local
/freebsd-src/contrib/libcbor/test/
H A Dassertions.c50 void assert_minimum_input_size(size_t expected, cbor_data data) { in assert_minimum_input_size()
56 void _assert_size_equal(size_t actual, size_t expected, const char* src_file, in _assert_size_equal()

123456789