Lines Matching +full:foo +full:- +full:bar

1 /* SPDX-License-Identifier: GPL-2.0 */
19 * enum kunit_assert_type - Type of expectation/assertion.
32 * struct kunit_loc - Identifies the source location of a line of code.
44 * struct kunit_assert - Data for printing a failed assertion or expectation.
60 * struct kunit_fail_assert - Represents a plain fail expectation/assertion.
74 * struct kunit_unary_assert - Represents a KUNIT_{EXPECT|ASSERT}_{TRUE|FALSE}
94 * struct kunit_ptr_not_err_assert - An expectation/assertion that a pointer is
95 * not NULL and not a -errno.
101 * not contain a -errno. (See IS_ERR_OR_NULL().)
114 * struct kunit_binary_assert_text - holds strings for &struct
127 * struct kunit_binary_assert - An expectation/assertion that compares two
128 * non-pointer values (for example, KUNIT_EXPECT_EQ(test, 1 + 1, 2)).
134 * Represents an expectation/assertion that compares two non-pointer values. For
150 * struct kunit_binary_ptr_assert - An expectation/assertion that compares two
151 * pointer values (for example, KUNIT_EXPECT_PTR_EQ(test, foo, bar)).
158 * example, to expect that foo and bar point to the same thing, you can use the
159 * expectation KUNIT_EXPECT_PTR_EQ(test, foo, bar);
173 * struct kunit_binary_str_assert - An expectation/assertion that compares two
174 * string values (for example, KUNIT_EXPECT_STREQ(test, foo, "bar")).
181 * example, to expect that the string in foo is equal to "bar", you can use the
182 * expectation KUNIT_EXPECT_STREQ(test, foo, "bar");
196 * struct kunit_mem_assert - An expectation/assertion that compares two
205 * example, to expect that the first three bytes of foo is equal to the
206 * first three bytes of bar, you can use the expectation
207 * KUNIT_EXPECT_MEMEQ(test, foo, bar, 3);