Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: testing/test_support.h

Issue 1711793002: Sort headers in non-xfa directories. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 PDFium Authors. All rights reserved. 1 // Copyright 2015 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TESTING_EMBEDDER_TEST_SUPPORT_H_ 5 #ifndef TESTING_EMBEDDER_TEST_SUPPORT_H_
6 #define TESTING_EMBEDDER_TEST_SUPPORT_H_ 6 #define TESTING_EMBEDDER_TEST_SUPPORT_H_
7 7
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "public/fpdf_save.h"
12 #include "public/fpdfview.h" 13 #include "public/fpdfview.h"
13 #include "public/fpdf_save.h"
14 14
15 #ifdef PDF_ENABLE_V8 15 #ifdef PDF_ENABLE_V8
16 #include "v8/include/v8.h" 16 #include "v8/include/v8.h"
17 #endif // PDF_ENABLE_V8 17 #endif // PDF_ENABLE_V8
18 18
19 namespace pdfium { 19 namespace pdfium {
20 20
21 #define STR_IN_TEST_CASE(input_literal, ...) \ 21 #define STR_IN_TEST_CASE(input_literal, ...) \
22 { \ 22 { \
23 (const unsigned char*) input_literal, sizeof(input_literal) - 1, \ 23 (const unsigned char*) input_literal, sizeof(input_literal) - 1, \
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 private: 102 private:
103 static int WriteBlockCallback(FPDF_FILEWRITE* pFileWrite, 103 static int WriteBlockCallback(FPDF_FILEWRITE* pFileWrite,
104 const void* data, 104 const void* data,
105 unsigned long size); 105 unsigned long size);
106 106
107 std::string m_String; 107 std::string m_String;
108 }; 108 };
109 109
110 #endif // TESTING_EMBEDDER_TEST_SUPPORT_H_ 110 #endif // TESTING_EMBEDDER_TEST_SUPPORT_H_
OLDNEW
« fpdfsdk/include/fpdfxfa/fpdfxfa_util.h ('K') | « testing/fx_string_testhelpers.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698