Lines Matching full:assertion
697 * @fmt: an informational message to be printed when the assertion is made.
1285 * @fmt: an informational message to be printed when the assertion is made.
1288 * The opposite of KUNIT_SUCCEED(), it is an assertion that always fails. In
1289 * other words, it always results in a failed assertion, and consequently
1297 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1305 * this is otherwise known as an *assertion failure*.
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
1323 * is the same as KUNIT_EXPECT_FALSE(), except it causes an assertion failure
1324 * (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1337 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1342 * Sets an assertion that the values that @left and @right evaluate to are
1343 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1344 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1362 * Sets an assertion that the values that @left and @right evaluate to are
1363 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1364 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1377 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1382 * Sets an assertion that the values that @left and @right evaluate to are not
1383 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1384 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1403 * Sets an assertion that the values that @left and @right evaluate to are not
1404 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1405 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1417 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1422 * Sets an assertion that the value that @left evaluates to is less than the
1424 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1437 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1442 * Sets an assertion that the value that @left evaluates to is less than or
1444 * KUNIT_EXPECT_LE(), except it causes an assertion failure (see
1445 * KUNIT_ASSERT_TRUE()) when the assertion is not met.
1458 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1463 * Sets an assertion that the value that @left evaluates to is greater than the
1465 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1479 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1484 * Sets an assertion that the value that @left evaluates to is greater than the
1486 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1500 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1505 * Sets an assertion that the values that @left and @right evaluate to are
1507 * assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1520 * KUNIT_ASSERT_STRNEQ() - An assertion that strings @left and @right are not equal.
1525 * Sets an assertion that the values that @left and @right evaluate to are
1547 * Sets an assertion that the values that @left and @right evaluate to are
1552 * Although this assertion works for any memory block, it is not recommended
1553 * for comparing more structured data, such as structs. This assertion is
1574 * Sets an assertion that the values that @left and @right evaluate to are
1579 * Although this assertion works for any memory block, it is not recommended
1580 * for comparing more structured data, such as structs. This assertion is
1599 * Sets an assertion that the values that @ptr evaluates to is null. This is
1600 * the same as KUNIT_EXPECT_NULL(), except it causes an assertion
1601 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1620 * Sets an assertion that the values that @ptr evaluates to is not null. This
1621 * is the same as KUNIT_EXPECT_NOT_NULL(), except it causes an assertion
1622 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
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
1643 * KUNIT_EXPECT_NOT_ERR_OR_NULL(), except it causes an assertion failure (see
1644 * KUNIT_ASSERT_TRUE()) when the assertion is not met.