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

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

#include <stdint.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 unsigned char*>(input_literal), \
sizeof(input_literal) - 1, \
reinterpret_cast<const unsigned char*>(expected_literal), \
sizeof(expected_literal) - 1, __VA_ARGS__ \
}

Definition at line 18 of file test_support.h.

◆ STR_IN_TEST_CASE

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

Definition at line 12 of file test_support.h.