Lines Matching full:that
70 * that makes expectations and assertions (see KUNIT_EXPECT_TRUE() and
141 * is used to lazily generate a series of arbitrarily typed values that fit into
162 * A kunit_suite is a collection of related &struct kunit_case s, such that
217 * Because resources is a list that may be updated multiple times (with
287 * This functions identically as kunit_test_suites() except that it suppresses
295 * The only thing this macro does that's different from kunit_test_suites is
296 * that it suffixes the array and suite declarations it makes with _probe;
466 * The opposite of KUNIT_FAIL(), it is an expectation that cannot fail. In other
507 * The opposite of KUNIT_SUCCEED(), it is an expectation that always fails. In
558 * Unfortunately, there is no common type that all types can be promoted to for
560 * (for example, there is no type that long long and unsigned long long can
708 * Sets an expectation that @condition evaluates to false. See
722 * KUNIT_EXPECT_EQ() - Sets an expectation that @left and @right are equal.
724 * @left: an arbitrary expression that evaluates to a primitive C type.
725 * @right: an arbitrary expression that evaluates to a primitive C type.
727 * Sets an expectation that the values that @left and @right evaluate to are
743 * KUNIT_EXPECT_PTR_EQ() - Expects that pointers @left and @right are equal.
745 * @left: an arbitrary expression that evaluates to a pointer.
746 * @right: an arbitrary expression that evaluates to a pointer.
748 * Sets an expectation that the values that @left and @right evaluate to are
764 * KUNIT_EXPECT_NE() - An expectation that @left and @right are not equal.
766 * @left: an arbitrary expression that evaluates to a primitive C type.
767 * @right: an arbitrary expression that evaluates to a primitive C type.
769 * Sets an expectation that the values that @left and @right evaluate to are not
785 * KUNIT_EXPECT_PTR_NE() - Expects that pointers @left and @right are not equal.
787 * @left: an arbitrary expression that evaluates to a pointer.
788 * @right: an arbitrary expression that evaluates to a pointer.
790 * Sets an expectation that the values that @left and @right evaluate to are not
806 * KUNIT_EXPECT_LT() - An expectation that @left is less than @right.
808 * @left: an arbitrary expression that evaluates to a primitive C type.
809 * @right: an arbitrary expression that evaluates to a primitive C type.
811 * Sets an expectation that the value that @left evaluates to is less than the
812 * value that @right evaluates to. This is semantically equivalent to
827 * KUNIT_EXPECT_LE() - Expects that @left is less than or equal to @right.
829 * @left: an arbitrary expression that evaluates to a primitive C type.
830 * @right: an arbitrary expression that evaluates to a primitive C type.
832 * Sets an expectation that the value that @left evaluates to is less than or
833 * equal to the value that @right evaluates to. Semantically this is equivalent
848 * KUNIT_EXPECT_GT() - An expectation that @left is greater than @right.
850 * @left: an arbitrary expression that evaluates to a primitive C type.
851 * @right: an arbitrary expression that evaluates to a primitive C type.
853 * Sets an expectation that the value that @left evaluates to is greater than
854 * the value that @right evaluates to. This is semantically equivalent to
869 * KUNIT_EXPECT_GE() - Expects that @left is greater than or equal to @right.
871 * @left: an arbitrary expression that evaluates to a primitive C type.
872 * @right: an arbitrary expression that evaluates to a primitive C type.
874 * Sets an expectation that the value that @left evaluates to is greater than
875 * the value that @right evaluates to. This is semantically equivalent to
890 * KUNIT_EXPECT_STREQ() - Expects that strings @left and @right are equal.
892 * @left: an arbitrary expression that evaluates to a null terminated string.
893 * @right: an arbitrary expression that evaluates to a null terminated string.
895 * Sets an expectation that the values that @left and @right evaluate to are
911 * KUNIT_EXPECT_STRNEQ() - Expects that strings @left and @right are not equal.
913 * @left: an arbitrary expression that evaluates to a null terminated string.
914 * @right: an arbitrary expression that evaluates to a null terminated string.
916 * Sets an expectation that the values that @left and @right evaluate to are
932 * KUNIT_EXPECT_NULL() - Expects that @ptr is null.
936 * Sets an expectation that the value that @ptr evaluates to is null. This is
953 * KUNIT_EXPECT_NOT_NULL() - Expects that @ptr is not null.
957 * Sets an expectation that the value that @ptr evaluates to is not null. This
974 * KUNIT_EXPECT_NOT_ERR_OR_NULL() - Expects that @ptr is not null and not err.
978 * Sets an expectation that the value that @ptr evaluates to is not null and not
997 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
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
1037 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1039 * @left: an arbitrary expression that evaluates to a primitive C type.
1040 * @right: an arbitrary expression that evaluates to a primitive C type.
1042 * Sets an assertion that the values that @left and @right evaluate to are
1057 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1059 * @left: an arbitrary expression that evaluates to a pointer.
1060 * @right: an arbitrary expression that evaluates to a pointer.
1062 * Sets an assertion that the values that @left and @right evaluate to are
1077 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1079 * @left: an arbitrary expression that evaluates to a primitive C type.
1080 * @right: an arbitrary expression that evaluates to a primitive C type.
1082 * Sets an assertion that the values that @left and @right evaluate to are not
1097 * KUNIT_ASSERT_PTR_NE() - Asserts that pointers @left and @right are not equal.
1098 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1100 * @left: an arbitrary expression that evaluates to a pointer.
1101 * @right: an arbitrary expression that evaluates to a pointer.
1103 * Sets an assertion that the values that @left and @right evaluate to are not
1117 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1119 * @left: an arbitrary expression that evaluates to a primitive C type.
1120 * @right: an arbitrary expression that evaluates to a primitive C type.
1122 * Sets an assertion that the value that @left evaluates to is less than the
1123 * value that @right evaluates to. This is the same as KUNIT_EXPECT_LT(), except
1137 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1139 * @left: an arbitrary expression that evaluates to a primitive C type.
1140 * @right: an arbitrary expression that evaluates to a primitive C type.
1142 * Sets an assertion that the value that @left evaluates to is less than or
1143 * equal to the value that @right evaluates to. This is the same as
1158 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1160 * @left: an arbitrary expression that evaluates to a primitive C type.
1161 * @right: an arbitrary expression that evaluates to a primitive C type.
1163 * Sets an assertion that the value that @left evaluates to is greater than the
1164 * value that @right evaluates to. This is the same as KUNIT_EXPECT_GT(), except
1179 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1181 * @left: an arbitrary expression that evaluates to a primitive C type.
1182 * @right: an arbitrary expression that evaluates to a primitive C type.
1184 * Sets an assertion that the value that @left evaluates to is greater than the
1185 * value that @right evaluates to. This is the same as KUNIT_EXPECT_GE(), except
1200 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1202 * @left: an arbitrary expression that evaluates to a null terminated string.
1203 * @right: an arbitrary expression that evaluates to a null terminated string.
1205 * Sets an assertion that the values that @left and @right evaluate to are
1220 * KUNIT_ASSERT_STRNEQ() - Expects that strings @left and @right are not equal.
1222 * @left: an arbitrary expression that evaluates to a null terminated string.
1223 * @right: an arbitrary expression that evaluates to a null terminated string.
1225 * Sets an expectation that the values that @left and @right evaluate to are
1241 * KUNIT_ASSERT_NULL() - Asserts that pointers @ptr is null.
1245 * Sets an assertion that the values that @ptr evaluates to is null. This is
1262 * KUNIT_ASSERT_NOT_NULL() - Asserts that pointers @ptr is not null.
1266 * Sets an assertion that the values that @ptr evaluates to is not null. This
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