Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 840) sorted by relevance

12345678910>>...34

/freebsd-12.1/contrib/ntp/sntp/unity/
H A Dunity.h76 … TEST_ASSERT_EQUAL_INT(expected, actual) UNITY_… argument
77 …TEST_ASSERT_EQUAL_INT8(expected, actual) UNITY_T… argument
78 …EST_ASSERT_EQUAL_INT16(expected, actual) UNITY_TE… argument
79 …EST_ASSERT_EQUAL_INT32(expected, actual) UNITY_TE… argument
80 …EST_ASSERT_EQUAL_INT64(expected, actual) UNITY_TE… argument
81 …ne TEST_ASSERT_EQUAL(expected, actual) UNIT… argument
83 …TEST_ASSERT_EQUAL_UINT(expected, actual) UNITY_T… argument
88 …TEST_ASSERT_EQUAL_HEX(expected, actual) UNITY_T… argument
117 … TEST_ASSERT_EQUAL_PTR(expected, actual) UNITY_… argument
118 …EST_ASSERT_EQUAL_STRING(expected, actual) UNITY_TE… argument
[all …]
H A Dunity_internals.h436 void UnityAssertEqualNumber(const _U_SINT expected,
442 void UnityAssertEqualIntArray(UNITY_PTR_ATTRIBUTE const void* expected,
450 const _U_SINT expected,
455 void UnityAssertEqualString(const char* expected,
460 void UnityAssertEqualStringArray( const char** expected,
466 void UnityAssertEqualMemory( UNITY_PTR_ATTRIBUTE const void* expected,
474 const _U_SINT expected,
486 const _UF expected,
505 const _UD expected,
670 …T(expected, actual, line, message) UNITY_TEST_ASSERT_FLOAT_WITHIN((_UF)( argument
[all …]
H A Dunity.c390 if (expected != NULL) in UnityPrintExpectedAndActualStrings()
393 UnityPrint(expected); in UnityPrintExpectedAndActualStrings()
424 if (expected == NULL) in UnityCheckArraysForNull()
478 if (expected != actual) in UnityAssertEqualNumber()
671 _UF diff = actual - expected; in UnityAssertFloatsWithin()
691 UnityPrintFloat(expected); in UnityAssertFloatsWithin()
832 _UD diff = actual - expected; in UnityAssertDoublesWithin()
943 if (actual > expected) in UnityAssertNumbersWithin()
981 if (expected && actual) in UnityAssertEqualString()
994 if (expected != actual) in UnityAssertEqualString()
[all …]
/freebsd-12.1/crypto/openssh/regress/unittests/authopt/
H A Dtests.c107 if (expected->x == NULL) \ in compare_opts()
121 if (expected->nx == 0) \ in compare_opts()
202 expected->var = val; \ in test_authkeys_parse()
206 expected->var = val; \ in test_authkeys_parse()
257 expected->var = commasplit(val, &expected->nvar); \ in test_authkeys_parse()
262 expected->var = commasplit(val, &expected->nvar); \ in test_authkeys_parse()
302 expected->var = 0; \ in test_cert_parse()
310 expected->var = 1; \ in test_cert_parse()
384 expected = NULL; \ in test_merge()
422 expected->var = val; \ in test_merge()
[all …]
/freebsd-12.1/usr.bin/bmake/tests/archives/fmt_oldbsd/
H A DMakefile9 ${PACKAGE}FILES+= expected.status.1
10 ${PACKAGE}FILES+= expected.status.2
11 ${PACKAGE}FILES+= expected.status.3
12 ${PACKAGE}FILES+= expected.status.4
13 ${PACKAGE}FILES+= expected.status.5
14 ${PACKAGE}FILES+= expected.status.6
15 ${PACKAGE}FILES+= expected.status.7
16 ${PACKAGE}FILES+= expected.stderr.1
17 ${PACKAGE}FILES+= expected.stderr.2
18 ${PACKAGE}FILES+= expected.stderr.3
[all …]
/freebsd-12.1/usr.bin/bmake/tests/archives/fmt_44bsd_mod/
H A DMakefile10 ${PACKAGE}FILES+= expected.status.1
11 ${PACKAGE}FILES+= expected.status.2
12 ${PACKAGE}FILES+= expected.status.3
13 ${PACKAGE}FILES+= expected.status.4
14 ${PACKAGE}FILES+= expected.status.5
15 ${PACKAGE}FILES+= expected.status.6
16 ${PACKAGE}FILES+= expected.status.7
17 ${PACKAGE}FILES+= expected.stderr.1
18 ${PACKAGE}FILES+= expected.stderr.2
19 ${PACKAGE}FILES+= expected.stderr.3
[all …]
/freebsd-12.1/usr.bin/bmake/tests/archives/fmt_44bsd/
H A DMakefile10 ${PACKAGE}FILES+= expected.status.1
11 ${PACKAGE}FILES+= expected.status.2
12 ${PACKAGE}FILES+= expected.status.3
13 ${PACKAGE}FILES+= expected.status.4
14 ${PACKAGE}FILES+= expected.status.5
15 ${PACKAGE}FILES+= expected.status.6
16 ${PACKAGE}FILES+= expected.status.7
17 ${PACKAGE}FILES+= expected.stderr.1
18 ${PACKAGE}FILES+= expected.stderr.2
19 ${PACKAGE}FILES+= expected.stderr.3
[all …]
/freebsd-12.1/tools/regression/poll/7/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
13 ok 12 FIFO state 2a: expected 0; got 0
14 not ok 13 FIFO state 3: expected POLLHUP; got 0
15 ok 14 FIFO state 4: expected 0; got 0
18 not ok 17 FIFO state 6a: expected POLLHUP; got 0
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
12 ok 11 FIFO state 2: expected set; got set
16 ok 15 FIFO state 5: expected set; got set
[all …]
/freebsd-12.1/tools/regression/poll/n/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
12 ok 11 FIFO state 2: expected POLLIN; got POLLIN
13 ok 12 FIFO state 2a: expected 0; got 0
15 ok 14 FIFO state 4: expected 0; got 0
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
12 ok 11 FIFO state 2: expected set; got set
14 ok 13 FIFO state 3: expected set; got set
[all …]
/freebsd-12.1/tools/regression/poll/l/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
12 ok 11 FIFO state 2: expected POLLIN; got POLLIN
13 ok 12 FIFO state 2a: expected 0; got 0
15 ok 14 FIFO state 4: expected 0; got 0
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
12 ok 11 FIFO state 2: expected set; got set
14 ok 13 FIFO state 3: expected set; got set
[all …]
/freebsd-12.1/tools/regression/poll/m/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
12 ok 11 FIFO state 2: expected POLLIN; got POLLIN
13 ok 12 FIFO state 2a: expected 0; got 0
15 ok 14 FIFO state 4: expected 0; got 0
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
12 ok 11 FIFO state 2: expected set; got set
14 ok 13 FIFO state 3: expected set; got set
[all …]
/freebsd-12.1/tools/regression/poll/4/
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
10 not ok 9 FIFO state 0: expected 0; got POLLIN
11 ok 10 FIFO state 1: expected 0; got 0
12 ok 11 FIFO state 2: expected POLLIN; got POLLIN
13 ok 12 FIFO state 2a: expected 0; got 0
15 ok 14 FIFO state 4: expected 0; got 0
16 ok 15 FIFO state 5: expected POLLIN; got POLLIN
[all …]
H A Dpipeselect.out2 ok 1 Pipe state 4: expected clear; got clear
3 ok 2 Pipe state 5: expected set; got set
4 ok 3 Pipe state 6: expected set; got set
5 ok 4 Pipe state 6a: expected set; got set
6 ok 5 Sock state 4: expected clear; got clear
7 ok 6 Sock state 5: expected set; got set
8 ok 7 Sock state 6: expected set; got set
9 ok 8 Sock state 6a: expected set; got set
12 ok 11 FIFO state 2: expected set; got set
14 ok 13 FIFO state 3: expected set; got set
[all …]
/freebsd-12.1/contrib/atf/atf-c/
H A Dmacros.h156 #define ATF_REQUIRE_EQ(expected, actual) \ argument
157 ATF_REQUIRE_MSG((expected) == (actual), "%s != %s", #expected, #actual)
159 #define ATF_CHECK_EQ(expected, actual) \ argument
160 ATF_CHECK_MSG((expected) == (actual), "%s != %s", #expected, #actual)
170 #define ATF_REQUIRE_STREQ(expected, actual) \ argument
172 #expected, #actual, expected, actual)
174 #define ATF_CHECK_STREQ(expected, actual) \ argument
176 #expected, #actual, expected, actual)
181 #expected, #actual, expected, actual, ##__VA_ARGS__)
184 ATF_CHECK_MSG(strcmp(expected, actual) == 0, \
[all …]
/freebsd-12.1/usr.bin/bmake/tests/syntax/enl/
H A DMakefile10 ${PACKAGE}FILES+= expected.status.1
11 ${PACKAGE}FILES+= expected.status.2
12 ${PACKAGE}FILES+= expected.status.3
13 ${PACKAGE}FILES+= expected.status.4
14 ${PACKAGE}FILES+= expected.status.5
15 ${PACKAGE}FILES+= expected.stderr.1
16 ${PACKAGE}FILES+= expected.stderr.2
17 ${PACKAGE}FILES+= expected.stderr.3
18 ${PACKAGE}FILES+= expected.stderr.4
19 ${PACKAGE}FILES+= expected.stderr.5
[all …]
/freebsd-12.1/crypto/openssh/regress/unittests/hostkeys/
H A Dtest_iterate.c25 struct expected { struct
38 const struct expected *expected; member
56 const struct expected *expected; in check() local
67 expected = ctx->expected + ctx->i++; in check()
81 expected->l.status : (u_int)expected->no_parse_status; in check()
91 expected->l.keytype : expected->no_parse_keytype; in check()
112 if (expected->l.line != NULL) in check()
138 prepare_expected(struct expected *expected, size_t n) in prepare_expected() argument
150 test_data_file(expected[i].key_file), &expected[i].l.key, in prepare_expected()
156 cleanup_expected(struct expected *expected, size_t n) in cleanup_expected() argument
[all …]
/freebsd-12.1/sys/contrib/libsodium/test/default/
H A Dkdf.exp11 Failure -- probably expected for output length=0
12 Failure -- probably expected for output length=1
13 Failure -- probably expected for output length=2
14 Failure -- probably expected for output length=3
15 Failure -- probably expected for output length=4
16 Failure -- probably expected for output length=5
17 Failure -- probably expected for output length=6
18 Failure -- probably expected for output length=7
19 Failure -- probably expected for output length=8
20 Failure -- probably expected for output length=9
[all …]
/freebsd-12.1/tests/sys/cddl/zfs/tests/inheritance/
H A Dinherit.kshlib65 typeset expected=$3
76 if [[ $expected == "default" ]]; then
77 if [[ $prop_src != $expected ]]; then
79 " $prop_src rather than $expected"
82 elif [[ $expected == "local" ]]; then
83 if [[ $prop_src != $expected ]]; then
85 " $prop_src rather than $expected"
88 elif [[ $prop_src != "inherited from $expected" ]]; then
89 log_note "Property $prop of $expected has source $prop_src"\
90 " rather than 'inherited from $expected'"
/freebsd-12.1/usr.bin/bmake/tests/variables/modifier_t/
H A DMakefile10 ${PACKAGE}FILES+= expected.status.1
11 ${PACKAGE}FILES+= expected.status.2
12 ${PACKAGE}FILES+= expected.status.3
13 ${PACKAGE}FILES+= expected.stderr.1
14 ${PACKAGE}FILES+= expected.stderr.2
15 ${PACKAGE}FILES+= expected.stderr.3
16 ${PACKAGE}FILES+= expected.stdout.1
17 ${PACKAGE}FILES+= expected.stdout.2
18 ${PACKAGE}FILES+= expected.stdout.3
/freebsd-12.1/contrib/googletest/googlemock/scripts/generator/cpp/
H A Dgmock_class_test.py340 expected = """\
354 expected, self.GenerateMocks(source))
363 expected = """\
371 expected, self.GenerateMocks(source))
381 expected = """\
389 expected, self.GenerateMocks(source))
399 expected = """\
408 expected, self.GenerateMocks(source))
418 expected = """\
437 expected = """\
[all …]
/freebsd-12.1/tools/regression/netinet6/inet6_rth/
H A Dtest_subr.c57 checkptr(caddr_t expected, caddr_t got, const char *desc) in checkptr() argument
68 if (got == expected) { in checkptr()
75 (unsigned int)expected, (unsigned int)got); in checkptr()
90 checkstr(const char *expected, const char *got, size_t explen, const char *desc) in checkstr() argument
101 if (strncmp(expected, got, explen) == 0) { in checkstr()
108 " : Expected %s, but got %s", expected, got); in checkstr()
123 checknum(int expected, int got, int cmp, const char *desc) in checknum() argument
138 pass = (got == expected) ? 1 : 0; in checknum()
141 pass = (got > expected) ? 1 : 0; in checknum()
144 pass = (got < expected) ? 1 : 0; in checknum()
[all …]

12345678910>>...34