Home
last modified time | relevance | path

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

123456789

/freebsd/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.h590 UNITY_TEST_ASSERT_EQUAL_INT(expected,actual,line,message) global() argument
591 UNITY_TEST_ASSERT_EQUAL_INT8(expected,actual,line,message) global() argument
592 UNITY_TEST_ASSERT_EQUAL_INT16(expected,actual,line,message) global() argument
593 UNITY_TEST_ASSERT_EQUAL_INT32(expected,actual,line,message) global() argument
594 UNITY_TEST_ASSERT_EQUAL_UINT(expected,actual,line,message) global() argument
595 UNITY_TEST_ASSERT_EQUAL_UINT8(expected,actual,line,message) global() argument
596 UNITY_TEST_ASSERT_EQUAL_UINT16(expected,actual,line,message) global() argument
597 UNITY_TEST_ASSERT_EQUAL_UINT32(expected,actual,line,message) global() argument
598 UNITY_TEST_ASSERT_EQUAL_HEX8(expected,actual,line,message) global() argument
599 UNITY_TEST_ASSERT_EQUAL_HEX16(expected,actual,line,message) global() argument
600 UNITY_TEST_ASSERT_EQUAL_HEX32(expected,actual,line,message) global() argument
601 UNITY_TEST_ASSERT_BITS(mask,expected,actual,line,message) global() argument
603 UNITY_TEST_ASSERT_INT_WITHIN(delta,expected,actual,line,message) global() argument
604 UNITY_TEST_ASSERT_INT8_WITHIN(delta,expected,actual,line,message) global() argument
605 UNITY_TEST_ASSERT_INT16_WITHIN(delta,expected,actual,line,message) global() argument
606 UNITY_TEST_ASSERT_INT32_WITHIN(delta,expected,actual,line,message) global() argument
607 UNITY_TEST_ASSERT_UINT_WITHIN(delta,expected,actual,line,message) global() argument
608 UNITY_TEST_ASSERT_UINT8_WITHIN(delta,expected,actual,line,message) global() argument
609 UNITY_TEST_ASSERT_UINT16_WITHIN(delta,expected,actual,line,message) global() argument
610 UNITY_TEST_ASSERT_UINT32_WITHIN(delta,expected,actual,line,message) global() argument
611 UNITY_TEST_ASSERT_HEX8_WITHIN(delta,expected,actual,line,message) global() argument
612 UNITY_TEST_ASSERT_HEX16_WITHIN(delta,expected,actual,line,message) global() argument
613 UNITY_TEST_ASSERT_HEX32_WITHIN(delta,expected,actual,line,message) global() argument
615 UNITY_TEST_ASSERT_EQUAL_PTR(expected,actual,line,message) global() argument
616 UNITY_TEST_ASSERT_EQUAL_STRING(expected,actual,line,message) global() argument
617 UNITY_TEST_ASSERT_EQUAL_MEMORY(expected,actual,len,line,message) global() argument
619 UNITY_TEST_ASSERT_EQUAL_INT_ARRAY(expected,actual,num_elements,line,message) global() argument
620 UNITY_TEST_ASSERT_EQUAL_INT8_ARRAY(expected,actual,num_elements,line,message) global() argument
621 UNITY_TEST_ASSERT_EQUAL_INT16_ARRAY(expected,actual,num_elements,line,message) global() argument
622 UNITY_TEST_ASSERT_EQUAL_INT32_ARRAY(expected,actual,num_elements,line,message) global() argument
623 UNITY_TEST_ASSERT_EQUAL_UINT_ARRAY(expected,actual,num_elements,line,message) global() argument
624 UNITY_TEST_ASSERT_EQUAL_UINT8_ARRAY(expected,actual,num_elements,line,message) global() argument
625 UNITY_TEST_ASSERT_EQUAL_UINT16_ARRAY(expected,actual,num_elements,line,message) global() argument
626 UNITY_TEST_ASSERT_EQUAL_UINT32_ARRAY(expected,actual,num_elements,line,message) global() argument
627 UNITY_TEST_ASSERT_EQUAL_HEX8_ARRAY(expected,actual,num_elements,line,message) global() argument
628 UNITY_TEST_ASSERT_EQUAL_HEX16_ARRAY(expected,actual,num_elements,line,message) global() argument
629 UNITY_TEST_ASSERT_EQUAL_HEX32_ARRAY(expected,actual,num_elements,line,message) global() argument
630 UNITY_TEST_ASSERT_EQUAL_PTR_ARRAY(expected,actual,num_elements,line,message) global() argument
631 UNITY_TEST_ASSERT_EQUAL_STRING_ARRAY(expected,actual,num_elements,line,message) global() argument
632 UNITY_TEST_ASSERT_EQUAL_MEMORY_ARRAY(expected,actual,len,num_elements,line,message) global() argument
635 UNITY_TEST_ASSERT_EQUAL_INT64(expected,actual,line,message) global() argument
636 UNITY_TEST_ASSERT_EQUAL_UINT64(expected,actual,line,message) global() argument
637 UNITY_TEST_ASSERT_EQUAL_HEX64(expected,actual,line,message) global() argument
638 UNITY_TEST_ASSERT_EQUAL_INT64_ARRAY(expected,actual,num_elements,line,message) global() argument
639 UNITY_TEST_ASSERT_EQUAL_UINT64_ARRAY(expected,actual,num_elements,line,message) global() argument
640 UNITY_TEST_ASSERT_EQUAL_HEX64_ARRAY(expected,actual,num_elements,line,message) global() argument
641 UNITY_TEST_ASSERT_INT64_WITHIN(delta,expected,actual,line,message) global() argument
642 UNITY_TEST_ASSERT_UINT64_WITHIN(delta,expected,actual,line,message) global() argument
643 UNITY_TEST_ASSERT_HEX64_WITHIN(delta,expected,actual,line,message) global() argument
645 UNITY_TEST_ASSERT_EQUAL_INT64(expected,actual,line,message) global() argument
646 UNITY_TEST_ASSERT_EQUAL_UINT64(expected,actual,line,message) global() argument
647 UNITY_TEST_ASSERT_EQUAL_HEX64(expected,actual,line,message) global() argument
648 UNITY_TEST_ASSERT_EQUAL_INT64_ARRAY(expected,actual,num_elements,line,message) global() argument
649 UNITY_TEST_ASSERT_EQUAL_UINT64_ARRAY(expected,actual,num_elements,line,message) global() argument
650 UNITY_TEST_ASSERT_EQUAL_HEX64_ARRAY(expected,actual,num_elements,line,message) global() argument
651 UNITY_TEST_ASSERT_INT64_WITHIN(delta,expected,actual,line,message) global() argument
652 UNITY_TEST_ASSERT_UINT64_WITHIN(delta,expected,actual,line,message) global() argument
653 UNITY_TEST_ASSERT_HEX64_WITHIN(delta,expected,actual,line,message) global() argument
657 UNITY_TEST_ASSERT_FLOAT_WITHIN(delta,expected,actual,line,message) global() argument
658 UNITY_TEST_ASSERT_EQUAL_FLOAT(expected,actual,line,message) global() argument
659 UNITY_TEST_ASSERT_EQUAL_FLOAT_ARRAY(expected,actual,num_elements,line,message) global() argument
669 UNITY_TEST_ASSERT_FLOAT_WITHIN(delta,expected,actual,line,message) global() argument
670 UNITY_TEST_ASSERT_EQUAL_FLOAT(expected,actual,line,message) global() argument
671 UNITY_TEST_ASSERT_EQUAL_FLOAT_ARRAY(expected,actual,num_elements,line,message) global() argument
683 UNITY_TEST_ASSERT_DOUBLE_WITHIN(delta,expected,actual,line,message) global() argument
684 UNITY_TEST_ASSERT_EQUAL_DOUBLE(expected,actual,line,message) global() argument
685 UNITY_TEST_ASSERT_EQUAL_DOUBLE_ARRAY(expected,actual,num_elements,line,message) global() argument
695 UNITY_TEST_ASSERT_DOUBLE_WITHIN(delta,expected,actual,line,message) global() argument
696 UNITY_TEST_ASSERT_EQUAL_DOUBLE(expected,actual,line,message) global() argument
697 UNITY_TEST_ASSERT_EQUAL_DOUBLE_ARRAY(expected,actual,num_elements,line,message) global() 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/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/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/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/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 = XCS("\x00e9\x00e8\x00e0\x00e7\x00ea\x00c8"); in START_TEST() local
241 const XML_Char *expected in START_TEST() local
252 const XML_Char *expected = XCS("\x00e9\x00e8\x00e0\x00e7\x00ea\x00c8"); in START_TEST() local
254 const XML_Char *expected in START_TEST() local
265 const XML_Char *expected = XCS("\x00e9"); in START_TEST() local
[all …]
H A Dcommon.h123 # define run_character_check(text, expected) \ argument
129 # define run_attribute_check(text, expected) \ argument
145 # define run_ext_character_check(text, test_data, expected) \ argument
/freebsd/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/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/crypto/openssl/test/
H A Dpkey_meth_kdf_test.c54 const unsigned char expected[sizeof(out)] = { test_kdf_tls1_prf() local
108 const unsigned char expected[sizeof(out)] = { test_kdf_hkdf() local
175 const unsigned char expected[sizeof(out)] = { test_kdf_scrypt() local
/freebsd/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/contrib/kyua/drivers/
H A Dreport_junit_test.cpp191 const std::string expected = std::string() in ATF_TEST_CASE_BODY() local
219 const std::string expected = std::string() in ATF_TEST_CASE_BODY() local
243 const std::string expected = std::string() in ATF_TEST_CASE_BODY() local
275 const char* expected = in ATF_TEST_CASE_BODY() local
318 const std::string expected = std::string() + in ATF_TEST_CASE_BODY() local
/freebsd/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/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/contrib/libarchive/libarchive/test/
H A Dtest_write_format_zip_windows_path.c72 const char *expected = replaced; in test_with_hdrcharset() local
75 const char *expected = raw_path; in test_with_hdrcharset() local
/freebsd/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/sbin/ping/tests/
H A Dtest_ping.py728 def test_ping(self, expected): argument
758 def test_ping_46(self, expected): argument
1448 def test_pinger(self, pinger_kargs, expected): argument
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dmmap_seek.c49 seek_data(int fd, off_t offset, off_t expected) in seek_data()
60 seek_hole(int fd, off_t offset, off_t expected) in seek_hole()
/freebsd/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/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/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/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