Lines Matching full:assertion

695  * @fmt: an informational message to be printed when the assertion is made.
1283 * @fmt: an informational message to be printed when the assertion is made.
1286 * The opposite of KUNIT_SUCCEED(), it is an assertion that always fails. In
1287 * other words, it always results in a failed assertion, and consequently
1295 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1303 * this is otherwise known as an *assertion failure*.
1316 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1320 * Sets an assertion that the value that @condition evaluates to is false. This
1321 * is the same as KUNIT_EXPECT_FALSE(), except it causes an assertion failure
1322 * (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1335 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1340 * Sets an assertion that the values that @left and @right evaluate to are
1341 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1342 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1360 * Sets an assertion that the values that @left and @right evaluate to are
1361 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1362 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1375 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1380 * Sets an assertion that the values that @left and @right evaluate to are not
1381 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1382 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1401 * Sets an assertion that the values that @left and @right evaluate to are not
1402 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1403 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1415 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1420 * Sets an assertion that the value that @left evaluates to is less than the
1422 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1435 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1440 * Sets an assertion that the value that @left evaluates to is less than or
1442 * KUNIT_EXPECT_LE(), except it causes an assertion failure (see
1443 * KUNIT_ASSERT_TRUE()) when the assertion is not met.
1456 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1461 * Sets an assertion that the value that @left evaluates to is greater than the
1463 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1477 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1482 * Sets an assertion that the value that @left evaluates to is greater than the
1484 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1498 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1503 * Sets an assertion that the values that @left and @right evaluate to are
1505 * assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1518 * KUNIT_ASSERT_STRNEQ() - An assertion that strings @left and @right are not equal.
1523 * Sets an assertion that the values that @left and @right evaluate to are
1545 * Sets an assertion that the values that @left and @right evaluate to are
1550 * Although this assertion works for any memory block, it is not recommended
1551 * for comparing more structured data, such as structs. This assertion is
1572 * Sets an assertion that the values that @left and @right evaluate to are
1577 * Although this assertion works for any memory block, it is not recommended
1578 * for comparing more structured data, such as structs. This assertion is
1597 * Sets an assertion that the values that @ptr evaluates to is null. This is
1598 * the same as KUNIT_EXPECT_NULL(), except it causes an assertion
1599 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1618 * Sets an assertion that the values that @ptr evaluates to is not null. This
1619 * is the same as KUNIT_EXPECT_NOT_NULL(), except it causes an assertion
1620 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1635 * KUNIT_ASSERT_NOT_ERR_OR_NULL() - Assertion that @ptr is not null and not err.
1639 * Sets an assertion that the value that @ptr evaluates to is not null and not
1641 * KUNIT_EXPECT_NOT_ERR_OR_NULL(), except it causes an assertion failure (see
1642 * KUNIT_ASSERT_TRUE()) when the assertion is not met.