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

Side by Side Diff: components/bookmarks/browser/bookmark_utils_unittest.cc

Issue 284893003: Move bookmarks/core/... to bookmarks/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing errors reported by presubmit Created 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/bookmarks/core/browser/bookmark_utils.h" 5 #include "components/bookmarks/browser/bookmark_utils.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "components/bookmarks/core/browser/base_bookmark_model_observer.h" 11 #include "components/bookmarks/browser/base_bookmark_model_observer.h"
12 #include "components/bookmarks/core/browser/bookmark_model.h" 12 #include "components/bookmarks/browser/bookmark_model.h"
13 #include "components/bookmarks/core/browser/bookmark_node_data.h" 13 #include "components/bookmarks/browser/bookmark_node_data.h"
14 #include "components/bookmarks/core/test/test_bookmark_client.h" 14 #include "components/bookmarks/test/test_bookmark_client.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "ui/base/clipboard/clipboard.h" 16 #include "ui/base/clipboard/clipboard.h"
17 #include "ui/base/clipboard/scoped_clipboard_writer.h" 17 #include "ui/base/clipboard/scoped_clipboard_writer.h"
18 18
19 using base::ASCIIToUTF16; 19 using base::ASCIIToUTF16;
20 using std::string; 20 using std::string;
21 21
22 namespace bookmark_utils { 22 namespace bookmark_utils {
23 namespace { 23 namespace {
24 24
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 EXPECT_EQ(2u, clone->GetMetaInfoMap()->size()); 381 EXPECT_EQ(2u, clone->GetMetaInfoMap()->size());
382 std::string value; 382 std::string value;
383 EXPECT_TRUE(clone->GetMetaInfo("somekey", &value)); 383 EXPECT_TRUE(clone->GetMetaInfo("somekey", &value));
384 EXPECT_EQ("somevalue", value); 384 EXPECT_EQ("somevalue", value);
385 EXPECT_TRUE(clone->GetMetaInfo("someotherkey", &value)); 385 EXPECT_TRUE(clone->GetMetaInfo("someotherkey", &value));
386 EXPECT_EQ("someothervalue", value); 386 EXPECT_EQ("someothervalue", value);
387 } 387 }
388 388
389 } // namespace 389 } // namespace
390 } // namespace bookmark_utils 390 } // namespace bookmark_utils
OLDNEW
« no previous file with comments | « components/bookmarks/browser/bookmark_utils.cc ('k') | components/bookmarks/browser/scoped_group_bookmark_actions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698