Lines Matching defs:condition

794 		      KUNIT_INIT_ASSERT(.condition = #condition_,	       \
800 #define KUNIT_TRUE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \
803 condition, \
808 #define KUNIT_FALSE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \
811 condition, \
985 * @condition: an arbitrary boolean expression. The test fails when this does
989 * to fail when the specified condition is not met; however, it will not prevent
993 #define KUNIT_EXPECT_TRUE(test, condition) \
994 KUNIT_EXPECT_TRUE_MSG(test, condition, NULL)
996 #define KUNIT_EXPECT_TRUE_MSG(test, condition, fmt, ...) \
999 condition, \
1006 * @condition: an arbitrary boolean expression. The test fails when this does
1009 * Sets an expectation that @condition evaluates to false. See
1012 #define KUNIT_EXPECT_FALSE(test, condition) \
1013 KUNIT_EXPECT_FALSE_MSG(test, condition, NULL)
1015 #define KUNIT_EXPECT_FALSE_MSG(test, condition, fmt, ...) \
1018 condition, \
1363 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1365 * @condition: an arbitrary boolean expression. The test fails and aborts when
1369 * fail *and immediately abort* when the specified condition is not met. Unlike
1373 #define KUNIT_ASSERT_TRUE(test, condition) \
1374 KUNIT_ASSERT_TRUE_MSG(test, condition, NULL)
1376 #define KUNIT_ASSERT_TRUE_MSG(test, condition, fmt, ...) \
1379 condition, \
1384 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1386 * @condition: an arbitrary boolean expression.
1388 * Sets an assertion that the value that @condition evaluates to is false. This
1392 #define KUNIT_ASSERT_FALSE(test, condition) \
1393 KUNIT_ASSERT_FALSE_MSG(test, condition, NULL)
1395 #define KUNIT_ASSERT_FALSE_MSG(test, condition, fmt, ...) \
1398 condition, \