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

Side by Side Diff: tests/TestConfigParsing.cpp

Issue 2070953002: Add missing include (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | 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 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkCommonFlagsConfig.h" 8 #include "SkCommonFlagsConfig.h"
9 #include "SkColorSpace.h"
9 #include "Test.h" 10 #include "Test.h"
10 #include <initializer_list> 11 #include <initializer_list>
11 12
12 using sk_gpu_test::GrContextFactory; 13 using sk_gpu_test::GrContextFactory;
13 14
14 namespace { 15 namespace {
15 // The code 16 // The code
16 // SkCommandLineFlags::StringArray FLAGS_config1 = make_string_array({"a", "b" }) 17 // SkCommandLineFlags::StringArray FLAGS_config1 = make_string_array({"a", "b" })
17 // can be used to construct string array that one gets with command line flags. 18 // can be used to construct string array that one gets with command line flags.
18 // For example, the call above is equivalent of 19 // For example, the call above is equivalent of
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 REPORTER_ASSERT(reporter, 357 REPORTER_ASSERT(reporter,
357 configs[i]->getViaParts()[j].equals(expectedConfigs[ i].vias[j])); 358 configs[i]->getViaParts()[j].equals(expectedConfigs[ i].vias[j]));
358 } 359 }
359 } 360 }
360 #if SK_SUPPORT_GPU 361 #if SK_SUPPORT_GPU
361 REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()); 362 REPORTER_ASSERT(reporter, configs[0]->asConfigGpu());
362 REPORTER_ASSERT(reporter, !configs[1]->asConfigGpu()); 363 REPORTER_ASSERT(reporter, !configs[1]->asConfigGpu());
363 REPORTER_ASSERT(reporter, !configs[2]->asConfigGpu()); 364 REPORTER_ASSERT(reporter, !configs[2]->asConfigGpu());
364 #endif 365 #endif
365 } 366 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698