Commit 99c3aa1b authored by Xida Chen's avatar Xida Chen Committed by Commit Bot

Disable two BookmarkNodeDataTest tests

TBR=hbos@chromium.org
NOTRY=true

Bug: 1010027
Change-Id: If748a3342be75e72b79a4b989a9af131847e6a56
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1829786Reviewed-by: default avatarXida Chen <xidachen@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701552}
parent 0bcef8b3
...@@ -292,7 +292,12 @@ TEST_F(BookmarkNodeDataTest, DISABLED_WriteToClipboardURL) { ...@@ -292,7 +292,12 @@ TEST_F(BookmarkNodeDataTest, DISABLED_WriteToClipboardURL) {
EXPECT_EQ(base::UTF8ToUTF16(url.spec()), clipboard_result); EXPECT_EQ(base::UTF8ToUTF16(url.spec()), clipboard_result);
} }
TEST_F(BookmarkNodeDataTest, WriteToClipboardMultipleURLs) { #if defined(OS_MACOSX)
#define MAYBE_WriteToClipboardMultipleURLs DISABLED_WriteToClipboardMultipleURLs
#else
#define MAYBE_WriteToClipboardMultipleURLs WriteToClipboardMultipleURLs
#endif
TEST_F(BookmarkNodeDataTest, MAYBE_WriteToClipboardMultipleURLs) {
BookmarkNodeData data; BookmarkNodeData data;
const BookmarkNode* root = model()->bookmark_bar_node(); const BookmarkNode* root = model()->bookmark_bar_node();
GURL url(GURL("http://foo.com")); GURL url(GURL("http://foo.com"));
...@@ -322,7 +327,12 @@ TEST_F(BookmarkNodeDataTest, WriteToClipboardMultipleURLs) { ...@@ -322,7 +327,12 @@ TEST_F(BookmarkNodeDataTest, WriteToClipboardMultipleURLs) {
EXPECT_EQ(combined_text, clipboard_result); EXPECT_EQ(combined_text, clipboard_result);
} }
TEST_F(BookmarkNodeDataTest, WriteToClipboardEmptyFolder) { #if defined(OS_MACOSX)
#define MAYBE_WriteToClipboardEmptyFolder DISABLED_WriteToClipboardEmptyFolder
#else
#define MAYBE_WriteToClipboardEmptyFolder WriteToClipboardEmptyFolder
#endif
TEST_F(BookmarkNodeDataTest, MAYBE_WriteToClipboardEmptyFolder) {
BookmarkNodeData data; BookmarkNodeData data;
const BookmarkNode* root = model()->bookmark_bar_node(); const BookmarkNode* root = model()->bookmark_bar_node();
const BookmarkNode* folder = model()->AddFolder(root, 0, ASCIIToUTF16("g1")); const BookmarkNode* folder = model()->AddFolder(root, 0, ASCIIToUTF16("g1"));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment