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

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

Issue 1871043004: Make PromiseResolver's members read-only (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 AddLibrary(IDR_WEBUI_JS_CR); 232 AddLibrary(IDR_WEBUI_JS_CR);
233 AddLibrary(IDR_WEBUI_JS_CR_UI); 233 AddLibrary(IDR_WEBUI_JS_CR_UI);
234 AddLibrary(IDR_WEBUI_JS_CR_UI_SPLITTER); 234 AddLibrary(IDR_WEBUI_JS_CR_UI_SPLITTER);
235 LoadFile(base::FilePath(FILE_PATH_LITERAL("splitter_test.html"))); 235 LoadFile(base::FilePath(FILE_PATH_LITERAL("splitter_test.html")));
236 } 236 }
237 237
238 IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, UtilTest) { 238 IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, UtilTest) {
239 AddLibrary(IDR_WEBUI_JS_UTIL); 239 AddLibrary(IDR_WEBUI_JS_UTIL);
240 LoadFile(base::FilePath(FILE_PATH_LITERAL("util_test.html"))); 240 LoadFile(base::FilePath(FILE_PATH_LITERAL("util_test.html")));
241 } 241 }
242
243 IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, PromiseResolverTest) {
244 AddLibrary(IDR_WEBUI_JS_ASSERT);
245 AddLibrary(IDR_WEBUI_JS_PROMISE_RESOLVER);
246 LoadFile(base::FilePath(FILE_PATH_LITERAL("promise_resolver_test.html")));
dpapad 2016/04/08 22:32:49 Thanks for adding tests! Just one comment/question
Dan Beam 2016/04/08 23:11:21 as per offline convo, i'll add a TODO to deprecate
247 }
OLDNEW
« no previous file with comments | « chrome/test/data/webui/promise_resolver_test.html ('k') | ui/webui/resources/html/promise_resolver.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698