| Index: chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc
|
| diff --git a/chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc b/chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc
|
| index 770be539354cc4440e0734c81b63ca47e680f29d..c252dbe147429354258e93a3641f38b255070373 100644
|
| --- a/chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc
|
| +++ b/chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc
|
| @@ -8,6 +8,7 @@
|
| #include "chrome/test/base/testing_profile.h"
|
| #include "components/bookmarks/browser/bookmark_model.h"
|
| #include "components/bookmarks/test/test_bookmark_client.h"
|
| +#include "content/public/test/test_browser_thread_bundle.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| #if !defined(OS_ANDROID) && !defined(OS_IOS)
|
| @@ -18,7 +19,11 @@ using bookmarks::BookmarkNode;
|
|
|
| namespace {
|
|
|
| -TEST(BookmarkUIUtilsTest, HasBookmarkURLs) {
|
| +class BookmarkUIUtilsTest : public testing::Test {
|
| + content::TestBrowserThreadBundle thread_bundle_;
|
| +};
|
| +
|
| +TEST_F(BookmarkUIUtilsTest, HasBookmarkURLs) {
|
| bookmarks::TestBookmarkClient client;
|
| scoped_ptr<BookmarkModel> model(client.CreateModel());
|
|
|
| @@ -60,7 +65,7 @@ TEST(BookmarkUIUtilsTest, HasBookmarkURLs) {
|
| EXPECT_FALSE(chrome::HasBookmarkURLs(nodes));
|
| }
|
|
|
| -TEST(BookmarkUIUtilsTest, HasBookmarkURLsAllowedInIncognitoMode) {
|
| +TEST_F(BookmarkUIUtilsTest, HasBookmarkURLsAllowedInIncognitoMode) {
|
| bookmarks::TestBookmarkClient client;
|
| scoped_ptr<BookmarkModel> model(client.CreateModel());
|
| TestingProfile profile;
|
|
|