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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp

Issue 2819293003: Fix more g_k_* symbols after blink rename. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/platform/feature_policy/FeaturePolicyTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013, Google Inc. All rights reserved. 2 * Copyright (c) 2013, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 DecodedImageTypeHistogramTest, 302 DecodedImageTypeHistogramTest,
303 ::testing::ValuesIn(kDecodedImageTypeHistogramTestparams)); 303 ::testing::ValuesIn(kDecodedImageTypeHistogramTestparams));
304 304
305 using DecodedImageOrientationHistogramTest = 305 using DecodedImageOrientationHistogramTest =
306 BitmapHistogramTest<ImageOrientationEnum>; 306 BitmapHistogramTest<ImageOrientationEnum>;
307 307
308 TEST_P(DecodedImageOrientationHistogramTest, ImageOrientation) { 308 TEST_P(DecodedImageOrientationHistogramTest, ImageOrientation) {
309 RunTest("Blink.DecodedImage.Orientation"); 309 RunTest("Blink.DecodedImage.Orientation");
310 } 310 }
311 311
312 DecodedImageOrientationHistogramTest::ParamType 312 const DecodedImageOrientationHistogramTest::ParamType
313 g_k_decoded_image_orientation_histogram_test_params[] = { 313 kDecodedImageOrientationHistogramTestParams[] = {
314 {"/LayoutTests/images/resources/exif-orientation-1-ul.jpg", 314 {"/LayoutTests/images/resources/exif-orientation-1-ul.jpg",
315 kOriginTopLeft}, 315 kOriginTopLeft},
316 {"/LayoutTests/images/resources/exif-orientation-2-ur.jpg", 316 {"/LayoutTests/images/resources/exif-orientation-2-ur.jpg",
317 kOriginTopRight}, 317 kOriginTopRight},
318 {"/LayoutTests/images/resources/exif-orientation-3-lr.jpg", 318 {"/LayoutTests/images/resources/exif-orientation-3-lr.jpg",
319 kOriginBottomRight}, 319 kOriginBottomRight},
320 {"/LayoutTests/images/resources/exif-orientation-4-lol.jpg", 320 {"/LayoutTests/images/resources/exif-orientation-4-lol.jpg",
321 kOriginBottomLeft}, 321 kOriginBottomLeft},
322 {"/LayoutTests/images/resources/exif-orientation-5-lu.jpg", 322 {"/LayoutTests/images/resources/exif-orientation-5-lu.jpg",
323 kOriginLeftTop}, 323 kOriginLeftTop},
324 {"/LayoutTests/images/resources/exif-orientation-6-ru.jpg", 324 {"/LayoutTests/images/resources/exif-orientation-6-ru.jpg",
325 kOriginRightTop}, 325 kOriginRightTop},
326 {"/LayoutTests/images/resources/exif-orientation-7-rl.jpg", 326 {"/LayoutTests/images/resources/exif-orientation-7-rl.jpg",
327 kOriginRightBottom}, 327 kOriginRightBottom},
328 {"/LayoutTests/images/resources/exif-orientation-8-llo.jpg", 328 {"/LayoutTests/images/resources/exif-orientation-8-llo.jpg",
329 kOriginLeftBottom}}; 329 kOriginLeftBottom}};
330 330
331 INSTANTIATE_TEST_CASE_P( 331 INSTANTIATE_TEST_CASE_P(
332 DecodedImageOrientationHistogramTest, 332 DecodedImageOrientationHistogramTest,
333 DecodedImageOrientationHistogramTest, 333 DecodedImageOrientationHistogramTest,
334 ::testing::ValuesIn(g_k_decoded_image_orientation_histogram_test_params)); 334 ::testing::ValuesIn(kDecodedImageOrientationHistogramTestParams));
335 335
336 } // namespace blink 336 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/feature_policy/FeaturePolicyTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698