Lines Matching full:assertion

504  * @fmt: an informational message to be printed when the assertion is made.
997 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1005 * this is otherwise known as an *assertion failure*.
1018 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1022 * Sets an assertion that the value that @condition evaluates to is false. This
1023 * is the same as KUNIT_EXPECT_FALSE(), except it causes an assertion failure
1024 * (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1037 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1042 * Sets an assertion that the values that @left and @right evaluate to are
1043 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1044 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1062 * Sets an assertion that the values that @left and @right evaluate to are
1063 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
1064 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1077 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1082 * Sets an assertion that the values that @left and @right evaluate to are not
1083 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1084 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1103 * Sets an assertion that the values that @left and @right evaluate to are not
1104 * equal. This is the same as KUNIT_EXPECT_NE(), except it causes an assertion
1105 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1117 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1122 * Sets an assertion that the value that @left evaluates to is less than the
1124 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1137 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1142 * Sets an assertion that the value that @left evaluates to is less than or
1144 * KUNIT_EXPECT_LE(), except it causes an assertion failure (see
1145 * KUNIT_ASSERT_TRUE()) when the assertion is not met.
1158 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1163 * Sets an assertion that the value that @left evaluates to is greater than the
1165 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1179 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1184 * Sets an assertion that the value that @left evaluates to is greater than the
1186 * it causes an assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion
1200 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1205 * Sets an assertion that the values that @left and @right evaluate to are
1207 * assertion failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1245 * Sets an assertion that the values that @ptr evaluates to is null. This is
1246 * the same as KUNIT_EXPECT_NULL(), except it causes an assertion
1247 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1266 * Sets an assertion that the values that @ptr evaluates to is not null. This
1267 * is the same as KUNIT_EXPECT_NOT_NULL(), except it causes an assertion
1268 * failure (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1283 * KUNIT_ASSERT_NOT_ERR_OR_NULL() - Assertion that @ptr is not null and not err.
1287 * Sets an assertion that the value that @ptr evaluates to is not null and not
1289 * KUNIT_EXPECT_NOT_ERR_OR_NULL(), except it causes an assertion failure (see
1290 * KUNIT_ASSERT_TRUE()) when the assertion is not met.