Lines Matching full:assertion
609 * @fmt: an informational message to be printed when the assertion is made.
1193 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1201 * this is otherwise known as an *assertion failure*.
1214 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1218 * Sets an assertion that the value that @condition evaluates to is false. This
1219 * is the same as KUNIT_EXPECT_FALSE(), except it causes an assertion failure
1220 * (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1233 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1238 * Sets an assertion that the values that @left and @right evaluate to are
1239 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1240 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1258 * Sets an assertion that the values that @left and @right evaluate to are
1259 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1260 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1273 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1278 * Sets an assertion that the values that @left and @right evaluate to are not
1279 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1280 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1299 * Sets an assertion that the values that @left and @right evaluate to are not
1300 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1301 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1313 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1318 * Sets an assertion that the value that @left evaluates to is less than the
1320 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1333 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1338 * Sets an assertion that the value that @left evaluates to is less than or
1340 * KUNIT_EXPECT_LE(), except it causes an assertion failure (see
1341 * KUNIT_ASSERT_TRUE()) when the assertion is not met.
1354 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1359 * Sets an assertion that the value that @left evaluates to is greater than the
1361 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1375 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1380 * Sets an assertion that the value that @left evaluates to is greater than the
1382 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1396 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1401 * Sets an assertion that the values that @left and @right evaluate to are
1403 * assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1441 * Sets an assertion that the values that @ptr evaluates to is null. This is
1442 * the same as KUNIT_EXPECT_NULL(), except it causes an assertion
1443 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1462 * Sets an assertion that the values that @ptr evaluates to is not null. This
1463 * is the same as KUNIT_EXPECT_NOT_NULL(), except it causes an assertion
1464 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1479 * KUNIT_ASSERT_NOT_ERR_OR_NULL() - Assertion that @ptr is not null and not err.
1483 * Sets an assertion that the value that @ptr evaluates to is not null and not
1485 * KUNIT_EXPECT_NOT_ERR_OR_NULL(), except it causes an assertion failure (see
1486 * KUNIT_ASSERT_TRUE()) when the assertion is not met.