Lines Matching full:assertion
762 * @fmt: an informational message to be printed when the assertion is made.
1351 * @fmt: an informational message to be printed when the assertion is made.
1354 * The opposite of KUNIT_SUCCEED(), it is an assertion that always fails. In
1355 * other words, it always results in a failed assertion, and consequently
1363 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1371 * this is otherwise known as an *assertion failure*.
1384 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1388 * Sets an assertion that the value that @condition evaluates to is false. This
1389 * is the same as KUNIT_EXPECT_FALSE(), except it causes an assertion failure
1390 * (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1403 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1408 * Sets an assertion that the values that @left and @right evaluate to are
1409 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1410 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1428 * Sets an assertion that the values that @left and @right evaluate to are
1429 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1430 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1443 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1448 * Sets an assertion that the values that @left and @right evaluate to are not
1449 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1450 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1469 * Sets an assertion that the values that @left and @right evaluate to are not
1470 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1471 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1483 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1488 * Sets an assertion that the value that @left evaluates to is less than the
1490 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1503 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1508 * Sets an assertion that the value that @left evaluates to is less than or
1510 * KUNIT_EXPECT_LE(), except it causes an assertion failure (see
1511 * KUNIT_ASSERT_TRUE()) when the assertion is not met.
1524 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1529 * Sets an assertion that the value that @left evaluates to is greater than the
1531 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1545 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1550 * Sets an assertion that the value that @left evaluates to is greater than the
1552 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1566 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1571 * Sets an assertion that the values that @left and @right evaluate to are
1573 * assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1586 * KUNIT_ASSERT_STRNEQ() - An assertion that strings @left and @right are not equal.
1591 * Sets an assertion that the values that @left and @right evaluate to are
1613 * Sets an assertion that the values that @left and @right evaluate to are
1618 * Although this assertion works for any memory block, it is not recommended
1619 * for comparing more structured data, such as structs. This assertion is
1640 * Sets an assertion that the values that @left and @right evaluate to are
1645 * Although this assertion works for any memory block, it is not recommended
1646 * for comparing more structured data, such as structs. This assertion is
1665 * Sets an assertion that the values that @ptr evaluates to is null. This is
1666 * the same as KUNIT_EXPECT_NULL(), except it causes an assertion
1667 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1686 * Sets an assertion that the values that @ptr evaluates to is not null. This
1687 * is the same as KUNIT_EXPECT_NOT_NULL(), except it causes an assertion
1688 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1703 * KUNIT_ASSERT_NOT_ERR_OR_NULL() - Assertion that @ptr is not null and not err.
1707 * Sets an assertion that the value that @ptr evaluates to is not null and not
1709 * KUNIT_EXPECT_NOT_ERR_OR_NULL(), except it causes an assertion failure (see
1710 * KUNIT_ASSERT_TRUE()) when the assertion is not met.
1809 * a failed KUnit assertion), kunit_add_action() cleans up at test
1883 * KUNIT_ASSERT_SUPPRESSED_WARNING_COUNT() - Sets an assertion that the
1889 * Sets an assertion that the number of suppressed WARN*() calls equals
1891 * except it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the
1892 * assertion is not met.