Home
last modified time | relevance | path

Searched full:expected (Results 1 – 25 of 5779) sorted by relevance

12345678910>>...232

/freebsd-src/contrib/ntp/sntp/unity/
H A Dunity.h69 … UNITY_TEST_ASSERT( (condition), __LINE__, " Expected TRUE Was FALSE")
71 … UNITY_TEST_ASSERT( !(condition), __LINE__, " Expected FALSE Was TRUE")
72 … UNITY_TEST_ASSERT_NULL( (pointer), __LINE__, " Expected NULL")
73 … UNITY_TEST_ASSERT_NOT_NULL((pointer), __LINE__, " Expected Non-NULL")
76 … 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
[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,
491 void UnityAssertEqualFloatArray(UNITY_PTR_ATTRIBUTE const _UF* expected,
505 const _UD expected,
[all …]
/freebsd-src/crypto/openssh/regress/unittests/authopt/
H A Dtests.c90 const struct sshauthopt *expected) in compare_opts() argument
95 ASSERT_PTR_NE(expected, NULL); in compare_opts()
96 ASSERT_PTR_NE(expected, opts); /* bozo :) */ in compare_opts()
98 #define FLAG_EQ(x) ASSERT_INT_EQ(opts->x, expected->x) in compare_opts()
110 if (expected->x == NULL) \ in compare_opts()
111 ASSERT_PTR_EQ(opts->x, expected->x); \ in compare_opts()
113 ASSERT_STRING_EQ(opts->x, expected->x); \ in compare_opts()
123 ASSERT_SIZE_T_EQ(opts->nx, expected->nx); \ in compare_opts()
124 if (expected->nx == 0) \ in compare_opts()
126 for (i = 0; i < expected->nx; i++) \ in compare_opts()
[all …]
/freebsd-src/contrib/libfido2/src/
H A Dtpm.c229 tpm_rs256_pubarea_t expected; in check_rs256_pubarea() local
238 memset(&expected, 0, sizeof(expected)); in check_rs256_pubarea()
239 expected.alg = TPM_ALG_RSA; in check_rs256_pubarea()
240 expected.hash = TPM_ALG_SHA256; in check_rs256_pubarea()
241 expected.attr = be32toh(actual->attr); in check_rs256_pubarea()
242 expected.attr &= ~(TPMA_RESERVED|TPMA_CLEAR); in check_rs256_pubarea()
243 expected.attr |= (TPMA_FIXED|TPMA_FIXED_P|TPMA_SENSITIVE|TPMA_SIGN); in check_rs256_pubarea()
244 expected.policy = actual->policy; in check_rs256_pubarea()
245 expected.policy.size = sizeof(expected.policy.body); in check_rs256_pubarea()
246 expected.param.symmetric = TPM_ALG_NULL; in check_rs256_pubarea()
[all …]
/freebsd-src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.basename.d.out4 echo "basename(\"/foo/bar/baz\") is \"baz\"; expected \"`basename "/foo/bar/baz"`"\"
8 echo "dirname(\"/foo/bar/baz\") is \"/foo/bar\"; expected \"`dirname "/foo/bar/baz"`"\"
12 echo "basename(\"/foo/bar///baz/\") is \"baz\"; expected \"`basename "/foo/bar///baz/"`"\"
16 echo "dirname(\"/foo/bar///baz/\") is \"/foo/bar\"; expected \"`dirname "/foo/bar///baz/"`"\"
20 echo "basename(\"/foo/bar/baz/\") is \"baz\"; expected \"`basename "/foo/bar/baz/"`"\"
24 echo "dirname(\"/foo/bar/baz/\") is \"/foo/bar\"; expected \"`dirname "/foo/bar/baz/"`"\"
28 echo "basename(\"/foo/bar/baz//\") is \"baz\"; expected \"`basename "/foo/bar/baz//"`"\"
32 echo "dirname(\"/foo/bar/baz//\") is \"/foo/bar\"; expected \"`dirname "/foo/bar/baz//"`"\"
36 echo "basename(\"/foo/bar/baz/.\") is \".\"; expected \"`basename "/foo/bar/baz/."`"\"
40 echo "dirname(\"/foo/bar/baz/.\") is \"/foo/bar/baz\"; expected \"`dirname "/foo/bar/baz/."`"\"
[all …]
/freebsd-src/tools/regression/poll/n/
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
10 ok 9 FIFO state 0: expected clear; got clear
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
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
8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
9 ok 8 Sock state 6a: expected POLLHUP; got POLLHUP
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
/freebsd-src/usr.bin/bmake/tests/archives/fmt_oldbsd/
H A DMakefile7 ${PACKAGE}FILES+= expected.status.1
8 ${PACKAGE}FILES+= expected.status.2
9 ${PACKAGE}FILES+= expected.status.3
10 ${PACKAGE}FILES+= expected.status.4
11 ${PACKAGE}FILES+= expected.status.5
12 ${PACKAGE}FILES+= expected.status.6
13 ${PACKAGE}FILES+= expected.status.7
14 ${PACKAGE}FILES+= expected.stderr.1
15 ${PACKAGE}FILES+= expected.stderr.2
16 ${PACKAGE}FILES+= expected
[all...]
/freebsd-src/usr.bin/bmake/tests/archives/fmt_44bsd_mod/
H A DMakefile8 ${PACKAGE}FILES+= expected.status.1
9 ${PACKAGE}FILES+= expected.status.2
10 ${PACKAGE}FILES+= expected.status.3
11 ${PACKAGE}FILES+= expected.status.4
12 ${PACKAGE}FILES+= expected.status.5
13 ${PACKAGE}FILES+= expected.status.6
14 ${PACKAGE}FILES+= expected.status.7
15 ${PACKAGE}FILES+= expected.stderr.1
16 ${PACKAGE}FILES+= expected.stderr.2
17 ${PACKAGE}FILES+= expected
[all...]
/freebsd-src/usr.bin/bmake/tests/archives/fmt_44bsd/
H A DMakefile8 ${PACKAGE}FILES+= expected.status.1
9 ${PACKAGE}FILES+= expected.status.2
10 ${PACKAGE}FILES+= expected.status.3
11 ${PACKAGE}FILES+= expected.status.4
12 ${PACKAGE}FILES+= expected.status.5
13 ${PACKAGE}FILES+= expected.status.6
14 ${PACKAGE}FILES+= expected.status.7
15 ${PACKAGE}FILES+= expected.stderr.1
16 ${PACKAGE}FILES+= expected.stderr.2
17 ${PACKAGE}FILES+= expected
[all...]
/freebsd-src/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
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
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
8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
9 ok 8 Sock state 6a: expected POLLHUP; got POLLHUP
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: 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
10 not ok 9 FIFO state 0: expected set; got clear
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
/freebsd-src/tools/regression/poll/l/
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
10 not ok 9 FIFO state 0: expected set; got clear
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
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
8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN | POLLHUP
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
H A Dsockpoll.out2 ok 1 state initial 0: expected POLLOUT; got POLLOUT
3 ok 2 state initial 1: expected POLLOUT; got POLLOUT
4 ok 3 state after large write: expected 0; got 0
5 ok 4 state other side after large write: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
6 not ok 5 state other side after close: expected POLLIN | POLLHUP; got POLLIN | POLLOUT | POLLHUP
7 not ok 6 state other side after reading input: expected POLLHUP; got POLLIN | POLLOUT | POLLHUP
8 ok 7 state after shutdown(SHUT_WR): expected POLLOUT; got POLLOUT
9 ok 8 state other side after shutdown(SHUT_WR): expected POLLIN | POLLOUT; got POLLIN | POLLOUT
10 ok 9 state other side after reading EOF: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
11 ok 10 state after data from other side: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
[all …]
/freebsd-src/tools/regression/poll/4/
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
10 not ok 9 FIFO state 0: expected clear; got set
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 not ok 4 Pipe state 6a: expected POLLHUP; got POLLIN | POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
8 not ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN
9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN
10 not ok 9 FIFO state 0: expected 0; got POLLIN
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
/freebsd-src/tools/regression/poll/7/
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
10 ok 9 FIFO state 0: expected clear; got clear
11 ok 10 FIFO state 1: expected clear; got clear
[all …]
H A Dpipepoll.out2 ok 1 Pipe state 4: expected 0; got 0
3 ok 2 Pipe state 5: expected POLLIN; got POLLIN
4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 not ok 4 Pipe state 6a: expected POLLHUP; got POLLIN | POLLHUP
6 ok 5 Sock state 4: expected 0; got 0
7 ok 6 Sock state 5: expected POLLIN; got POLLIN
8 not ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN
9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN
10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
[all …]
/freebsd-src/tools/regression/poll/14/
H A Dsockpoll.out2 ok 1 state initial 0: expected POLLOUT; got POLLOUT
3 ok 2 state initial 1: expected POLLOUT; got POLLOUT
4 ok 3 state after large write: expected 0; got 0
5 ok 4 state other side after large write: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
6 ok 5 state other side after close: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
7 not ok 6 state other side after reading input: expected POLLHUP; got POLLIN | POLLHUP
8 ok 7 state after shutdown(SHUT_WR): expected POLLOUT; got POLLOUT
9 ok 8 state other side after shutdown(SHUT_WR): expected POLLIN | POLLOUT; got POLLIN | POLLOUT
10 ok 9 state other side after reading EOF: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
11 ok 10 state after data from other side: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
[all …]
/freebsd-src/usr.bin/posixmqcontrol/
H A Dposixmqcontroltest8x64.sh23 expected='MSGSIZE: 64'
25 if [ "$expected" != "$actual" ]; then
26 echo "EXPECTED: $expected"
30 expected='MAXMSG: 8'
32 if [ "$expected" != "$actual" ]; then
33 echo "EXPECTED: $expected"
37 expected='CURMSG: 0'
39 if [ "$expected" != "$actual" ]; then
40 echo "EXPECTED: $expected"
58 expected='CURMSG: 8'
[all …]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Derror_test.cpp86 // Test that error_cast works as expected.
170 ADD_FAILURE() << "Expected StringError value"; in TEST()
173 // Test Checked Expected<T> in success mode.
175 Expected<int> A = 7; in TEST()
176 EXPECT_TRUE(!!A) << "Expected with non-error value doesn't convert to 'true'"; in TEST()
178 EXPECT_EQ(*A, 7) << "Incorrect Expected non-error value"; in TEST()
181 // Test Expected with reference type.
184 Expected<int &> B = A; in TEST()
188 EXPECT_EQ(&A, &C) << "Expected failed to propagate reference"; in TEST()
191 // Test Unchecked Expected<T> in success mode.
[all …]
/freebsd-src/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-src/contrib/llvm-project/libcxx/include/__expected/
H A Dexpected.h61 class expected;
67 struct __is_std_expected<expected<_Tp, _Err>> : true_type {};
142 // This class implements the storage used by `std::expected`. We have a few
146 // expected, so as to save space.
147 // 2. Whenever the `expected<_Tp, _Unex>` as a whole has free bytes in its tail
148 // padding, we should allow an object following the expected to be stored in
151 // `expected<_Tp, _Unex>` to be stored in the padding bytes of the
203 // // complete `expected` object.
394 // In case we copy/move construct from another `expected` we need to create
395 // our `expected` s
70 class expected; global() variable
[all...]
/freebsd-src/crypto/openssl/test/
H A Devp_test.c44 char *expected_err; /* Expected error value of test */
45 char *reason; /* Expected error reason string */
94 * However, if there is expected to be an error and the actual error
95 * matches then the memory is expected to be different so handle this
99 const void *expected, size_t expected_len, in memory_err_compare() argument
105 r = !TEST_mem_ne(expected, expected_len, got, got_len); in memory_err_compare()
107 r = TEST_mem_eq(expected, expected_len, got, got_len); in memory_err_compare()
333 /* Expected output */
400 DIGEST_DATA *expected = t->data; in digest_test_run() local
413 got = OPENSSL_malloc(expected->output_len > EVP_MAX_MD_SIZE ? in digest_test_run()
[all …]

12345678910>>...232