Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
test_support.h File Reference

(e4657a741c23c8f48e0e97ae2091dc2d99f4f27d)

#include <stdint.h>
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/span.h"
Include dependency graph for test_support.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pdfium::StrFuncTestData
struct  pdfium::DecodeTestData
struct  pdfium::NullTermWstrFuncTestData

Namespaces

namespace  pdfium

Macros

#define STR_IN_TEST_CASE(input_literal, ...)
#define STR_IN_OUT_CASE(input_literal, expected_literal, ...)

Macro Definition Documentation

◆ STR_IN_OUT_CASE

#define STR_IN_OUT_CASE ( input_literal,
expected_literal,
... )
Value:
{ \
reinterpret_cast<const uint8_t*>(input_literal), \
sizeof(input_literal) - 1, \
reinterpret_cast<const uint8_t*>(expected_literal), \
sizeof(expected_literal) - 1, __VA_ARGS__ \
}

Definition at line 21 of file test_support.h.

◆ STR_IN_TEST_CASE

#define STR_IN_TEST_CASE ( input_literal,
... )
Value:
{ \
reinterpret_cast<const uint8_t*>(input_literal), \
sizeof(input_literal) - 1, __VA_ARGS__ \
}

Definition at line 15 of file test_support.h.