#include <kunit/assert.h>
#include <kunit/test.h>
#include <kunit/visibility.h>
#include "string-stream.h"
void kunit_assert_prologue(const struct kunit_loc *loc,
enum kunit_assert_type type,
struct string_stream *stream)
{ … }
EXPORT_SYMBOL_GPL(…);
VISIBLE_IF_KUNIT
void kunit_assert_print_msg(const struct va_format *message,
struct string_stream *stream)
{ … }
void kunit_fail_assert_format(const struct kunit_assert *assert,
const struct va_format *message,
struct string_stream *stream)
{ … }
EXPORT_SYMBOL_GPL(…);
void kunit_unary_assert_format(const struct kunit_assert *assert,
const struct va_format *message,
struct string_stream *stream)
{ … }
EXPORT_SYMBOL_GPL(…);
void kunit_ptr_not_err_assert_format(const struct kunit_assert *assert,
const struct va_format *message,
struct string_stream *stream)
{ … }
EXPORT_SYMBOL_GPL(…);
VISIBLE_IF_KUNIT bool is_literal(const char *text, long long value)
{ … }
void kunit_binary_assert_format(const struct kunit_assert *assert,
const struct va_format *message,
struct string_stream *stream)
{ … }
EXPORT_SYMBOL_GPL(…);
void kunit_binary_ptr_assert_format(const struct kunit_assert *assert,
const struct va_format *message,
struct string_stream *stream)
{ … }
EXPORT_SYMBOL_GPL(…);
VISIBLE_IF_KUNIT bool is_str_literal(const char *text, const char *value)
{ … }
void kunit_binary_str_assert_format(const struct kunit_assert *assert,
const struct va_format *message,
struct string_stream *stream)
{ … }
EXPORT_SYMBOL_GPL(…);
VISIBLE_IF_KUNIT
void kunit_assert_hexdump(struct string_stream *stream,
const void *buf,
const void *compared_buf,
const size_t len)
{ … }
void kunit_mem_assert_format(const struct kunit_assert *assert,
const struct va_format *message,
struct string_stream *stream)
{ … }
EXPORT_SYMBOL_GPL(…);