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

Side by Side Diff: core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp

Issue 1439223003: Merge to XFA: Remove relative includes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: fix merge Created 5 years, 1 month 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
« no previous file with comments | « core/src/fxcodec/codec/codec_int.h ('k') | core/src/fxcrt/fx_basic_bstring_unittest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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 #include <stdint.h> 5 #include <stdint.h>
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "codec_int.h" 9 #include "codec_int.h"
10 #include "testing/fx_string_testhelpers.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 #include "../../../testing/fx_string_testhelpers.h"
12 12
13 static const OPJ_OFF_T kSkipError = static_cast<OPJ_OFF_T>(-1); 13 static const OPJ_OFF_T kSkipError = static_cast<OPJ_OFF_T>(-1);
14 static const OPJ_SIZE_T kReadError = static_cast<OPJ_SIZE_T>(-1); 14 static const OPJ_SIZE_T kReadError = static_cast<OPJ_SIZE_T>(-1);
15 static const OPJ_SIZE_T kWriteError = static_cast<OPJ_SIZE_T>(-1); 15 static const OPJ_SIZE_T kWriteError = static_cast<OPJ_SIZE_T>(-1);
16 16
17 static unsigned char stream_data[] = { 17 static unsigned char stream_data[] = {
18 0x00, 0x01, 0x02, 0x03, 18 0x00, 0x01, 0x02, 0x03,
19 0x84, 0x85, 0x86, 0x87, // Include some hi-bytes, too. 19 0x84, 0x85, 0x86, 0x87, // Include some hi-bytes, too.
20 }; 20 };
21 21
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 EXPECT_NE(img.comps[0].h, img.comps[1].h); 533 EXPECT_NE(img.comps[0].h, img.comps[1].h);
534 EXPECT_NE(img.comps[0].w, img.comps[2].w); 534 EXPECT_NE(img.comps[0].w, img.comps[2].w);
535 EXPECT_NE(img.comps[0].h, img.comps[2].h); 535 EXPECT_NE(img.comps[0].h, img.comps[2].h);
536 } 536 }
537 FX_Free(img.comps[0].data); 537 FX_Free(img.comps[0].data);
538 FX_Free(img.comps[1].data); 538 FX_Free(img.comps[1].data);
539 FX_Free(img.comps[2].data); 539 FX_Free(img.comps[2].data);
540 } 540 }
541 FX_Free(img.comps); 541 FX_Free(img.comps);
542 } 542 }
OLDNEW
« no previous file with comments | « core/src/fxcodec/codec/codec_int.h ('k') | core/src/fxcrt/fx_basic_bstring_unittest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698