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

Side by Side Diff: components/supervised_user_error_page/supervised_user_error_page_unittest.cc

Issue 2712513004: Use a qualified path for grit-generated headers in components/ (Closed)
Patch Set: more checkdeps Created 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium 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 "components/supervised_user_error_page/supervised_user_error_page.h"
6
5 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
6 #include "components/supervised_user_error_page/supervised_user_error_page.h" 8 #include "components/grit/components_resources.h"
7 #include "grit/components_resources.h" 9 #include "components/strings/grit/components_strings.h"
8 #include "grit/components_strings.h"
9 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
10 #include "testing/gtest/include/gtest/gtest-param-test.h" 11 #include "testing/gtest/include/gtest/gtest-param-test.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
13 #include "ui/base/resource/resource_bundle.h" 14 #include "ui/base/resource/resource_bundle.h"
14 15
15 namespace supervised_user_error_page { 16 namespace supervised_user_error_page {
16 17
17 struct BlockMessageIDTestParameter { 18 struct BlockMessageIDTestParameter {
18 FilteringBehaviorReason reason; 19 FilteringBehaviorReason reason;
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 "custodian2_email", false, DEFAULT, true}, 202 "custodian2_email", false, DEFAULT, true},
202 {true, "url1", "url2", "custodian", "custodian_email", "custodian2", 203 {true, "url1", "url2", "custodian", "custodian_email", "custodian2",
203 "custodian2_email", false, ASYNC_CHECKER, true}, 204 "custodian2_email", false, ASYNC_CHECKER, true},
204 }; 205 };
205 206
206 INSTANTIATE_TEST_CASE_P(GetBlockMessageIDParameterized, 207 INSTANTIATE_TEST_CASE_P(GetBlockMessageIDParameterized,
207 SupervisedUserErrorPageTest_BuildHtml, 208 SupervisedUserErrorPageTest_BuildHtml,
208 ::testing::ValuesIn(build_html_test_parameter)); 209 ::testing::ValuesIn(build_html_test_parameter));
209 210
210 } // namespace supervised_user_error_page 211 } // namespace supervised_user_error_page
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698