diff options
Diffstat (limited to 'base/clipboard_unittest.cc')
-rw-r--r-- | base/clipboard_unittest.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/base/clipboard_unittest.cc b/base/clipboard_unittest.cc index 6e72c81..c035c9c0 100644 --- a/base/clipboard_unittest.cc +++ b/base/clipboard_unittest.cc @@ -16,6 +16,8 @@ TEST_F(ClipboardTest, ClearTest) { Clipboard clipboard; clipboard.Clear(); + clipboard.WriteText(L"erase me"); + clipboard.Clear(); EXPECT_EQ(false, clipboard.IsFormatAvailable( Clipboard::GetPlainTextFormatType())); EXPECT_EQ(false, clipboard.IsFormatAvailable( @@ -52,14 +54,15 @@ TEST_F(ClipboardTest, HTMLTest) { Clipboard::GetHtmlFormatType())); clipboard.ReadHTML(&markup_result, &url_result); EXPECT_EQ(markup, markup_result); -#if defined(OS_MACOSX) - // TODO(playmobil): It's not clear that the OS X clipboard needs to support +#if defined(OS_WIN) + // TODO(playmobil): It's not clear that non windows clipboards need to support // this. -#else EXPECT_EQ(url, url_result); #endif } +// TODO(estade): Port the following tests. +#if !defined(OS_LINUX) TEST_F(ClipboardTest, TrickyHTMLTest) { Clipboard clipboard; @@ -221,3 +224,4 @@ TEST_F(ClipboardTest, BitmapTest) { Clipboard::GetBitmapFormatType())); } #endif +#endif // !defined(OS_LINUX) |