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

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

Issue 1707923002: Expand all paths to be based off pdfium/ directory (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 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 "core/src/fxcodec/codec/codec_int.h"
10 #include "testing/fx_string_testhelpers.h" 10 #include "testing/fx_string_testhelpers.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.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.
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 EXPECT_NE(img.comps[0].h, img.comps[1].h); 529 EXPECT_NE(img.comps[0].h, img.comps[1].h);
530 EXPECT_NE(img.comps[0].w, img.comps[2].w); 530 EXPECT_NE(img.comps[0].w, img.comps[2].w);
531 EXPECT_NE(img.comps[0].h, img.comps[2].h); 531 EXPECT_NE(img.comps[0].h, img.comps[2].h);
532 } 532 }
533 FX_Free(img.comps[0].data); 533 FX_Free(img.comps[0].data);
534 FX_Free(img.comps[1].data); 534 FX_Free(img.comps[1].data);
535 FX_Free(img.comps[2].data); 535 FX_Free(img.comps[2].data);
536 } 536 }
537 FX_Free(img.comps); 537 FX_Free(img.comps);
538 } 538 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698