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

Side by Side Diff: chrome/test/data/webui/webui_resource_browsertest.cc

Issue 1952253004: I18nBehavior: make i18nRaw private as raw_, add tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@i18n-behavior
Patch Set: . Created 4 years, 7 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 | « chrome/test/data/webui/i18n_behavior_test.html ('k') | ui/webui/resources/js/i18n_behavior.js » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <vector> 5 #include <vector>
6 6
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/tabs/tab_strip_model.h" 9 #include "chrome/browser/ui/tabs/tab_strip_model.h"
10 #include "chrome/grit/options_test_resources.h" 10 #include "chrome/grit/options_test_resources.h"
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 AddLibrary(IDR_WEBUI_JS_CR); 239 AddLibrary(IDR_WEBUI_JS_CR);
240 AddLibrary(IDR_WEBUI_JS_UTIL); 240 AddLibrary(IDR_WEBUI_JS_UTIL);
241 LoadFile(base::FilePath(FILE_PATH_LITERAL("util_test.html"))); 241 LoadFile(base::FilePath(FILE_PATH_LITERAL("util_test.html")));
242 } 242 }
243 243
244 IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, PromiseResolverTest) { 244 IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, PromiseResolverTest) {
245 AddLibrary(IDR_WEBUI_JS_ASSERT); 245 AddLibrary(IDR_WEBUI_JS_ASSERT);
246 AddLibrary(IDR_WEBUI_JS_PROMISE_RESOLVER); 246 AddLibrary(IDR_WEBUI_JS_PROMISE_RESOLVER);
247 LoadFile(base::FilePath(FILE_PATH_LITERAL("promise_resolver_test.html"))); 247 LoadFile(base::FilePath(FILE_PATH_LITERAL("promise_resolver_test.html")));
248 } 248 }
249
250 IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, I18nBehaviorTest) {
251 AddLibrary(IDR_WEBUI_JS_LOAD_TIME_DATA);
252 AddLibrary(IDR_WEBUI_JS_PARSE_HTML_SUBSET);
253 AddLibrary(IDR_WEBUI_JS_I18N_BEHAVIOR);
254 LoadFile(base::FilePath(FILE_PATH_LITERAL("i18n_behavior_test.html")));
255 }
OLDNEW
« no previous file with comments | « chrome/test/data/webui/i18n_behavior_test.html ('k') | ui/webui/resources/js/i18n_behavior.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698