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

Side by Side Diff: chrome/browser/gtk/keyword_editor_view_unittest.cc

Issue 3129007: FBTF: Forward declare everything possible in testing_profile.h (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: argh mac problems now Created 10 years, 4 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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/gtk/keyword_editor_view.h" 5 #include "chrome/browser/gtk/keyword_editor_view.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h"
13 #include "chrome/browser/gtk/gtk_tree.h" 14 #include "chrome/browser/gtk/gtk_tree.h"
14 #include "chrome/browser/search_engines/template_url.h" 15 #include "chrome/browser/search_engines/template_url.h"
15 #include "chrome/browser/search_engines/template_url_model.h" 16 #include "chrome/browser/search_engines/template_url_model.h"
16 #include "chrome/browser/search_engines/template_url_table_model.h" 17 #include "chrome/browser/search_engines/template_url_table_model.h"
17 #include "chrome/test/testing_profile.h" 18 #include "chrome/test/testing_profile.h"
18 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
19 20
20 class KeywordEditorViewTest : public testing::Test { 21 class KeywordEditorViewTest : public testing::Test {
21 public: 22 public:
22 virtual void SetUp() { 23 virtual void SetUp() {
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 GetDisplayedEngines(editor).c_str()); 253 GetDisplayedEngines(editor).c_str());
253 254
254 editor.OnEditedKeyword(d, L"DD", L"d", "example.com"); 255 editor.OnEditedKeyword(d, L"DD", L"d", "example.com");
255 EXPECT_STREQ("!,_,AA,BBB,_,@,_,C,DD", 256 EXPECT_STREQ("!,_,AA,BBB,_,@,_,C,DD",
256 GetDisplayedEngines(editor).c_str()); 257 GetDisplayedEngines(editor).c_str());
257 258
258 editor.OnEditedKeyword(c, L"CC", L"cc", "example.com"); 259 editor.OnEditedKeyword(c, L"CC", L"cc", "example.com");
259 EXPECT_STREQ("!,_,AA,BBB,_,@,_,CC,DD", 260 EXPECT_STREQ("!,_,AA,BBB,_,@,_,CC,DD",
260 GetDisplayedEngines(editor).c_str()); 261 GetDisplayedEngines(editor).c_str());
261 } 262 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/gtk_theme_provider_unittest.cc ('k') | chrome/browser/gtk/options/languages_page_gtk_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698