Lines Matching full:assertion

670  * @fmt: an informational message to be printed when the assertion is made.
1472 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1480 * this is otherwise known as an *assertion failure*.
1493 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1497 * Sets an assertion that the value that @condition evaluates to is false. This
1498 * is the same as KUNIT_EXPECT_FALSE(), except it causes an assertion failure
1499 * (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1512 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1517 * Sets an assertion that the values that @left and @right evaluate to are
1518 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1519 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1538 * Sets an assertion that the values that @left and @right evaluate to are
1539 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1540 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1554 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1559 * Sets an assertion that the values that @left and @right evaluate to are not
1560 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1561 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1581 * Sets an assertion that the values that @left and @right evaluate to are not
1582 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1583 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1596 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1601 * Sets an assertion that the value that @left evaluates to is less than the
1603 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1617 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1622 * Sets an assertion that the value that @left evaluates to is less than or
1624 * KUNIT_EXPECT_LE(), except it causes an assertion failure (see
1625 * KUNIT_ASSERT_TRUE()) when the assertion is not met.
1639 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1644 * Sets an assertion that the value that @left evaluates to is greater than the
1646 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1661 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1666 * Sets an assertion that the value that @left evaluates to is greater than the
1668 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1683 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1688 * Sets an assertion that the values that @left and @right evaluate to are
1690 * assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1726 * KUNIT_ASSERT_NOT_ERR_OR_NULL() - Assertion that @ptr is not null and not err.
1730 * Sets an assertion that the value that @ptr evaluates to is not null and not
1732 * KUNIT_EXPECT_NOT_ERR_OR_NULL(), except it causes an assertion failure (see
1733 * KUNIT_ASSERT_TRUE()) when the assertion is not met.