Lines Matching full:that

98  * that makes expectations and assertions (see KUNIT_EXPECT_TRUE() and
196 * is used to lazily generate a series of arbitrarily typed values that fit into
232 * A kunit_suite is a collection of related &struct kunit_case s, such that
237 * 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
395 * This functions similar to kunit_test_suites() except that it compiles the
399 * _probe; so that modpost suppresses warnings about referencing init data
431 * Note that some internal context data is also allocated with GFP_KERNEL,
444 * Note that some internal context data is also allocated with GFP_KERNEL,
653 * The opposite of KUNIT_FAIL(), it is an expectation that cannot fail. In other
700 * The opposite of KUNIT_SUCCEED(), it is an expectation that always fails. In
755 * Unfortunately, there is no common type that all types can be promoted to for
757 * (for example, there is no type that long long and unsigned long long can
943 * Sets an expectation that @condition evaluates to false. See
957 * KUNIT_EXPECT_EQ() - Sets an expectation that @left and @right are equal.
959 * @left: an arbitrary expression that evaluates to a primitive C type.
960 * @right: an arbitrary expression that evaluates to a primitive C type.
962 * Sets an expectation that the values that @left and @right evaluate to are
978 * KUNIT_EXPECT_PTR_EQ() - Expects that pointers @left and @right are equal.
980 * @left: an arbitrary expression that evaluates to a pointer.
981 * @right: an arbitrary expression that evaluates to a pointer.
983 * Sets an expectation that the values that @left and @right evaluate to are
999 * KUNIT_EXPECT_NE() - An expectation that @left and @right are not equal.
1001 * @left: an arbitrary expression that evaluates to a primitive C type.
1002 * @right: an arbitrary expression that evaluates to a primitive C type.
1004 * Sets an expectation that the values that @left and @right evaluate to are not
1020 * KUNIT_EXPECT_PTR_NE() - Expects that pointers @left and @right are not equal.
1022 * @left: an arbitrary expression that evaluates to a pointer.
1023 * @right: an arbitrary expression that evaluates to a pointer.
1025 * Sets an expectation that the values that @left and @right evaluate to are not
1041 * KUNIT_EXPECT_LT() - An expectation that @left is less than @right.
1043 * @left: an arbitrary expression that evaluates to a primitive C type.
1044 * @right: an arbitrary expression that evaluates to a primitive C type.
1046 * Sets an expectation that the value that @left evaluates to is less than the
1047 * value that @right evaluates to. This is semantically equivalent to
1062 * KUNIT_EXPECT_LE() - Expects that @left is less than or equal to @right.
1064 * @left: an arbitrary expression that evaluates to a primitive C type.
1065 * @right: an arbitrary expression that evaluates to a primitive C type.
1067 * Sets an expectation that the value that @left evaluates to is less than or
1068 * equal to the value that @right evaluates to. Semantically this is equivalent
1083 * KUNIT_EXPECT_GT() - An expectation that @left is greater than @right.
1085 * @left: an arbitrary expression that evaluates to a primitive C type.
1086 * @right: an arbitrary expression that evaluates to a primitive C type.
1088 * Sets an expectation that the value that @left evaluates to is greater than
1089 * the value that @right evaluates to. This is semantically equivalent to
1104 * KUNIT_EXPECT_GE() - Expects that @left is greater than or equal to @right.
1106 * @left: an arbitrary expression that evaluates to a primitive C type.
1107 * @right: an arbitrary expression that evaluates to a primitive C type.
1109 * Sets an expectation that the value that @left evaluates to is greater than
1110 * the value that @right evaluates to. This is semantically equivalent to
1125 * KUNIT_EXPECT_STREQ() - Expects that strings @left and @right are equal.
1127 * @left: an arbitrary expression that evaluates to a null terminated string.
1128 * @right: an arbitrary expression that evaluates to a null terminated string.
1130 * Sets an expectation that the values that @left and @right evaluate to are
1146 * KUNIT_EXPECT_STRNEQ() - Expects that strings @left and @right are not equal.
1148 * @left: an arbitrary expression that evaluates to a null terminated string.
1149 * @right: an arbitrary expression that evaluates to a null terminated string.
1151 * Sets an expectation that the values that @left and @right evaluate to are
1167 * KUNIT_EXPECT_MEMEQ() - Expects that the first @size bytes of @left and @right are equal.
1169 * @left: An arbitrary expression that evaluates to the specified size.
1170 * @right: An arbitrary expression that evaluates to the specified size.
1173 * Sets an expectation that the values that @left and @right evaluate to are
1194 * KUNIT_EXPECT_MEMNEQ() - Expects that the first @size bytes of @left and @right are not equal.
1196 * @left: An arbitrary expression that evaluates to the specified size.
1197 * @right: An arbitrary expression that evaluates to the specified size.
1200 * Sets an expectation that the values that @left and @right evaluate to are
1221 * KUNIT_EXPECT_NULL() - Expects that @ptr is null.
1225 * Sets an expectation that the value that @ptr evaluates to is null. This is
1242 * KUNIT_EXPECT_NOT_NULL() - Expects that @ptr is not null.
1246 * Sets an expectation that the value that @ptr evaluates to is not null. This
1263 * KUNIT_EXPECT_NOT_ERR_OR_NULL() - Expects that @ptr is not null and not err.
1267 * Sets an expectation that the value that @ptr evaluates to is not null and not
1288 * The opposite of KUNIT_SUCCEED(), it is an assertion that always fails. In
1297 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1318 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1322 * Sets an assertion that the value that @condition evaluates to is false. This
1337 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1339 * @left: an arbitrary expression that evaluates to a primitive C type.
1340 * @right: an arbitrary expression that evaluates to a primitive C type.
1342 * Sets an assertion that the values that @left and @right evaluate to are
1357 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1359 * @left: an arbitrary expression that evaluates to a pointer.
1360 * @right: an arbitrary expression that evaluates to a pointer.
1362 * Sets an assertion that the values that @left and @right evaluate to are
1377 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1379 * @left: an arbitrary expression that evaluates to a primitive C type.
1380 * @right: an arbitrary expression that evaluates to a primitive C type.
1382 * Sets an assertion that the values that @left and @right evaluate to are not
1397 * KUNIT_ASSERT_PTR_NE() - Asserts that pointers @left and @right are not equal.
1398 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1400 * @left: an arbitrary expression that evaluates to a pointer.
1401 * @right: an arbitrary expression that evaluates to a pointer.
1403 * Sets an assertion that the values that @left and @right evaluate to are not
1417 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1419 * @left: an arbitrary expression that evaluates to a primitive C type.
1420 * @right: an arbitrary expression that evaluates to a primitive C type.
1422 * Sets an assertion that the value that @left evaluates to is less than the
1423 * value that @right evaluates to. This is the same as KUNIT_EXPECT_LT(), except
1437 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1439 * @left: an arbitrary expression that evaluates to a primitive C type.
1440 * @right: an arbitrary expression that evaluates to a primitive C type.
1442 * Sets an assertion that the value that @left evaluates to is less than or
1443 * equal to the value that @right evaluates to. This is the same as
1458 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1460 * @left: an arbitrary expression that evaluates to a primitive C type.
1461 * @right: an arbitrary expression that evaluates to a primitive C type.
1463 * Sets an assertion that the value that @left evaluates to is greater than the
1464 * value that @right evaluates to. This is the same as KUNIT_EXPECT_GT(), except
1479 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1481 * @left: an arbitrary expression that evaluates to a primitive C type.
1482 * @right: an arbitrary expression that evaluates to a primitive C type.
1484 * Sets an assertion that the value that @left evaluates to is greater than the
1485 * value that @right evaluates to. This is the same as KUNIT_EXPECT_GE(), except
1500 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1502 * @left: an arbitrary expression that evaluates to a null terminated string.
1503 * @right: an arbitrary expression that evaluates to a null terminated string.
1505 * Sets an assertion that the values that @left and @right evaluate to are
1520 * KUNIT_ASSERT_STRNEQ() - An assertion that strings @left and @right are not equal.
1522 * @left: an arbitrary expression that evaluates to a null terminated string.
1523 * @right: an arbitrary expression that evaluates to a null terminated string.
1525 * Sets an assertion that the values that @left and @right evaluate to are
1541 * KUNIT_ASSERT_MEMEQ() - Asserts that the first @size bytes of @left and @right are equal.
1543 * @left: An arbitrary expression that evaluates to the specified size.
1544 * @right: An arbitrary expression that evaluates to the specified size.
1547 * Sets an assertion that the values that @left and @right evaluate to are
1568 * KUNIT_ASSERT_MEMNEQ() - Asserts that the first @size bytes of @left and @right are not equal.
1570 * @left: An arbitrary expression that evaluates to the specified size.
1571 * @right: An arbitrary expression that evaluates to the specified size.
1574 * Sets an assertion that the values that @left and @right evaluate to are
1595 * KUNIT_ASSERT_NULL() - Asserts that pointers @ptr is null.
1599 * Sets an assertion that the values that @ptr evaluates to is null. This is
1616 * KUNIT_ASSERT_NOT_NULL() - Asserts that pointers @ptr is not null.
1620 * Sets an assertion that the values that @ptr evaluates to is not null. This
1637 * KUNIT_ASSERT_NOT_ERR_OR_NULL() - Assertion that @ptr is not null and not err.
1641 * Sets an assertion that the value that @ptr evaluates to is not null and not