Chromium Code Reviews

Side by Side Diff: chrome/browser/ui/gtk/bookmark_utils_gtk_unittest.cc

Issue 6099014: Move chrome/browser/gtk to chrome/browser/ui/gtk (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Move browser/gtk/ to browser/ui/gtk/, leave header stubs, update new header guards Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/gtk_dnd_util.h" 5 #include "app/gtk_dnd_util.h"
6 #include "chrome/browser/gtk/bookmark_utils_gtk.h" 6 #include "chrome/browser/gtk/bookmark_utils_gtk.h"
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 TEST(BookmarkUtilsGtkTest, GetNodesFromSelectionInvalid) { 9 TEST(BookmarkUtilsGtkTest, GetNodesFromSelectionInvalid) {
10 std::vector<const BookmarkNode*> nodes; 10 std::vector<const BookmarkNode*> nodes;
(...skipping 18 matching lines...)
29 gtk_dnd_util::CHROME_BOOKMARK_ITEM, NULL, NULL, NULL); 29 gtk_dnd_util::CHROME_BOOKMARK_ITEM, NULL, NULL, NULL);
30 EXPECT_EQ(0u, nodes.size()); 30 EXPECT_EQ(0u, nodes.size());
31 31
32 guchar test_data[] = ""; 32 guchar test_data[] = "";
33 data.data = test_data; 33 data.data = test_data;
34 data.length = 0; 34 data.length = 0;
35 nodes = bookmark_utils::GetNodesFromSelection(NULL, &data, 35 nodes = bookmark_utils::GetNodesFromSelection(NULL, &data,
36 gtk_dnd_util::CHROME_BOOKMARK_ITEM, NULL, NULL, NULL); 36 gtk_dnd_util::CHROME_BOOKMARK_ITEM, NULL, NULL, NULL);
37 EXPECT_EQ(0u, nodes.size()); 37 EXPECT_EQ(0u, nodes.size());
38 } 38 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/bookmark_utils_gtk.cc ('k') | chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine