| // Copyright 2015 PDFium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef TESTING_TEST_SUPPORT_H_ |
| #define TESTING_TEST_SUPPORT_H_ |
| #define STR_IN_TEST_CASE(input_literal, ...) \ |
| reinterpret_cast<const unsigned char*>(input_literal), \ |
| sizeof(input_literal) - 1, __VA_ARGS__ \ |
| #define STR_IN_OUT_CASE(input_literal, expected_literal, ...) \ |
| reinterpret_cast<const unsigned char*>(input_literal), \ |
| sizeof(input_literal) - 1, \ |
| reinterpret_cast<const unsigned char*>(expected_literal), \ |
| sizeof(expected_literal) - 1, __VA_ARGS__ \ |
| const unsigned char* input; |
| const unsigned char* expected; |
| const unsigned char* input; |
| const unsigned char* expected; |
| // The size of input string being processed. |
| struct NullTermWstrFuncTestData { |
| #endif // TESTING_TEST_SUPPORT_H_ |