Lines Matching full:that

99  * that makes expectations and assertions (see KUNIT_EXPECT_TRUE() and
197 * is used to lazily generate a series of arbitrarily typed values that fit into
233 * A kunit_suite is a collection of related &struct kunit_case s, such that
238 * Note that @exit and @suite_exit will run even if @init or @suite_init
298 * Because resources is a list that may be updated multiple times (with
383 * This functions identically as kunit_test_suites() except that it suppresses
391 * The only thing this macro does that's different from kunit_test_suites is
392 * that it suffixes the array and suite declarations it makes with _probe;
419 * Note that some internal context data is also allocated with GFP_KERNEL,
432 * Note that some internal context data is also allocated with GFP_KERNEL,
567 * The opposite of KUNIT_FAIL(), it is an expectation that cannot fail. In other
612 * The opposite of KUNIT_SUCCEED(), it is an expectation that always fails. In
666 * Unfortunately, there is no common type that all types can be promoted to for
668 * (for example, there is no type that long long and unsigned long long can
850 * Sets an expectation that @condition evaluates to false. See
864 * KUNIT_EXPECT_EQ() - Sets an expectation that @left and @right are equal.
866 * @left: an arbitrary expression that evaluates to a primitive C type.
867 * @right: an arbitrary expression that evaluates to a primitive C type.
869 * Sets an expectation that the values that @left and @right evaluate to are
885 * KUNIT_EXPECT_PTR_EQ() - Expects that pointers @left and @right are equal.
887 * @left: an arbitrary expression that evaluates to a pointer.
888 * @right: an arbitrary expression that evaluates to a pointer.
890 * Sets an expectation that the values that @left and @right evaluate to are
906 * KUNIT_EXPECT_NE() - An expectation that @left and @right are not equal.
908 * @left: an arbitrary expression that evaluates to a primitive C type.
909 * @right: an arbitrary expression that evaluates to a primitive C type.
911 * Sets an expectation that the values that @left and @right evaluate to are not
927 * KUNIT_EXPECT_PTR_NE() - Expects that pointers @left and @right are not equal.
929 * @left: an arbitrary expression that evaluates to a pointer.
930 * @right: an arbitrary expression that evaluates to a pointer.
932 * Sets an expectation that the values that @left and @right evaluate to are not
948 * KUNIT_EXPECT_LT() - An expectation that @left is less than @right.
950 * @left: an arbitrary expression that evaluates to a primitive C type.
951 * @right: an arbitrary expression that evaluates to a primitive C type.
953 * Sets an expectation that the value that @left evaluates to is less than the
954 * value that @right evaluates to. This is semantically equivalent to
969 * KUNIT_EXPECT_LE() - Expects that @left is less than or equal to @right.
971 * @left: an arbitrary expression that evaluates to a primitive C type.
972 * @right: an arbitrary expression that evaluates to a primitive C type.
974 * Sets an expectation that the value that @left evaluates to is less than or
975 * equal to the value that @right evaluates to. Semantically this is equivalent
990 * KUNIT_EXPECT_GT() - An expectation that @left is greater than @right.
992 * @left: an arbitrary expression that evaluates to a primitive C type.
993 * @right: an arbitrary expression that evaluates to a primitive C type.
995 * Sets an expectation that the value that @left evaluates to is greater than
996 * the value that @right evaluates to. This is semantically equivalent to
1011 * KUNIT_EXPECT_GE() - Expects that @left is greater than or equal to @right.
1013 * @left: an arbitrary expression that evaluates to a primitive C type.
1014 * @right: an arbitrary expression that evaluates to a primitive C type.
1016 * Sets an expectation that the value that @left evaluates to is greater than
1017 * the value that @right evaluates to. This is semantically equivalent to
1032 * KUNIT_EXPECT_STREQ() - Expects that strings @left and @right are equal.
1034 * @left: an arbitrary expression that evaluates to a null terminated string.
1035 * @right: an arbitrary expression that evaluates to a null terminated string.
1037 * Sets an expectation that the values that @left and @right evaluate to are
1053 * KUNIT_EXPECT_STRNEQ() - Expects that strings @left and @right are not equal.
1055 * @left: an arbitrary expression that evaluates to a null terminated string.
1056 * @right: an arbitrary expression that evaluates to a null terminated string.
1058 * Sets an expectation that the values that @left and @right evaluate to are
1074 * KUNIT_EXPECT_MEMEQ() - Expects that the first @size bytes of @left and @right are equal.
1076 * @left: An arbitrary expression that evaluates to the specified size.
1077 * @right: An arbitrary expression that evaluates to the specified size.
1080 * Sets an expectation that the values that @left and @right evaluate to are
1101 * KUNIT_EXPECT_MEMNEQ() - Expects that the first @size bytes of @left and @right are not equal.
1103 * @left: An arbitrary expression that evaluates to the specified size.
1104 * @right: An arbitrary expression that evaluates to the specified size.
1107 * Sets an expectation that the values that @left and @right evaluate to are
1128 * KUNIT_EXPECT_NULL() - Expects that @ptr is null.
1132 * Sets an expectation that the value that @ptr evaluates to is null. This is
1149 * KUNIT_EXPECT_NOT_NULL() - Expects that @ptr is not null.
1153 * Sets an expectation that the value that @ptr evaluates to is not null. This
1170 * KUNIT_EXPECT_NOT_ERR_OR_NULL() - Expects that @ptr is not null and not err.
1174 * Sets an expectation that the value that @ptr evaluates to is not null and not
1193 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1214 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1218 * Sets an assertion that the value that @condition evaluates to is false. This
1233 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1235 * @left: an arbitrary expression that evaluates to a primitive C type.
1236 * @right: an arbitrary expression that evaluates to a primitive C type.
1238 * Sets an assertion that the values that @left and @right evaluate to are
1253 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1255 * @left: an arbitrary expression that evaluates to a pointer.
1256 * @right: an arbitrary expression that evaluates to a pointer.
1258 * Sets an assertion that the values that @left and @right evaluate to are
1273 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1275 * @left: an arbitrary expression that evaluates to a primitive C type.
1276 * @right: an arbitrary expression that evaluates to a primitive C type.
1278 * Sets an assertion that the values that @left and @right evaluate to are not
1293 * KUNIT_ASSERT_PTR_NE() - Asserts that pointers @left and @right are not equal.
1294 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1296 * @left: an arbitrary expression that evaluates to a pointer.
1297 * @right: an arbitrary expression that evaluates to a pointer.
1299 * Sets an assertion that the values that @left and @right evaluate to are not
1313 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1315 * @left: an arbitrary expression that evaluates to a primitive C type.
1316 * @right: an arbitrary expression that evaluates to a primitive C type.
1318 * Sets an assertion that the value that @left evaluates to is less than the
1319 * value that @right evaluates to. This is the same as KUNIT_EXPECT_LT(), except
1333 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1335 * @left: an arbitrary expression that evaluates to a primitive C type.
1336 * @right: an arbitrary expression that evaluates to a primitive C type.
1338 * Sets an assertion that the value that @left evaluates to is less than or
1339 * equal to the value that @right evaluates to. This is the same as
1354 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1356 * @left: an arbitrary expression that evaluates to a primitive C type.
1357 * @right: an arbitrary expression that evaluates to a primitive C type.
1359 * Sets an assertion that the value that @left evaluates to is greater than the
1360 * value that @right evaluates to. This is the same as KUNIT_EXPECT_GT(), except
1375 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1377 * @left: an arbitrary expression that evaluates to a primitive C type.
1378 * @right: an arbitrary expression that evaluates to a primitive C type.
1380 * Sets an assertion that the value that @left evaluates to is greater than the
1381 * value that @right evaluates to. This is the same as KUNIT_EXPECT_GE(), except
1396 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1398 * @left: an arbitrary expression that evaluates to a null terminated string.
1399 * @right: an arbitrary expression that evaluates to a null terminated string.
1401 * Sets an assertion that the values that @left and @right evaluate to are
1416 * KUNIT_ASSERT_STRNEQ() - Expects that strings @left and @right are not equal.
1418 * @left: an arbitrary expression that evaluates to a null terminated string.
1419 * @right: an arbitrary expression that evaluates to a null terminated string.
1421 * Sets an expectation that the values that @left and @right evaluate to are
1437 * KUNIT_ASSERT_NULL() - Asserts that pointers @ptr is null.
1441 * Sets an assertion that the values that @ptr evaluates to is null. This is
1458 * KUNIT_ASSERT_NOT_NULL() - Asserts that pointers @ptr is not null.
1462 * Sets an assertion that the values that @ptr evaluates to is not null. This
1479 * KUNIT_ASSERT_NOT_ERR_OR_NULL() - Assertion that @ptr is not null and not err.
1483 * Sets an assertion that the value that @ptr evaluates to is not null and not