Lines Matching full:assertion
616 * @fmt: an informational message to be printed when the assertion is made.
1200 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1208 * this is otherwise known as an *assertion failure*.
1221 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1225 * Sets an assertion that the value that @condition evaluates to is false. This
1226 * is the same as KUNIT_EXPECT_FALSE(), except it causes an assertion failure
1227 * (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1240 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1245 * Sets an assertion that the values that @left and @right evaluate to are
1246 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1247 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1265 * Sets an assertion that the values that @left and @right evaluate to are
1266 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1267 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1280 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1285 * Sets an assertion that the values that @left and @right evaluate to are not
1286 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1287 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1306 * Sets an assertion that the values that @left and @right evaluate to are not
1307 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1308 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1320 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1325 * Sets an assertion that the value that @left evaluates to is less than the
1327 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1340 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1345 * Sets an assertion that the value that @left evaluates to is less than or
1347 * KUNIT_EXPECT_LE(), except it causes an assertion failure (see
1348 * KUNIT_ASSERT_TRUE()) when the assertion is not met.
1361 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1366 * Sets an assertion that the value that @left evaluates to is greater than the
1368 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1382 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1387 * Sets an assertion that the value that @left evaluates to is greater than the
1389 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1403 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1408 * Sets an assertion that the values that @left and @right evaluate to are
1410 * assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1448 * Sets an assertion that the values that @ptr evaluates to is null. This is
1449 * the same as KUNIT_EXPECT_NULL(), 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 @ptr evaluates to is not null. This
1470 * is the same as KUNIT_EXPECT_NOT_NULL(), except it causes an assertion
1471 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1486 * KUNIT_ASSERT_NOT_ERR_OR_NULL() - Assertion that @ptr is not null and not err.
1490 * Sets an assertion that the value that @ptr evaluates to is not null and not
1492 * KUNIT_EXPECT_NOT_ERR_OR_NULL(), except it causes an assertion failure (see
1493 * KUNIT_ASSERT_TRUE()) when the assertion is not met.