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

Unified Diff: base/clipboard_unittest.cc

Issue 118469: compile on openbsd: mostly ifdefs and missing includes,... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: base/clipboard_unittest.cc
===================================================================
--- base/clipboard_unittest.cc (revision 17958)
+++ base/clipboard_unittest.cc (working copy)
@@ -116,7 +116,7 @@
}
// TODO(estade): Port the following test (decide what target we use for urls)
-#if !defined(OS_LINUX)
+#if !defined(OS_LINUX) && !defined(OS_OPENBSD)
TEST_F(ClipboardTest, BookmarkTest) {
Clipboard clipboard;
@@ -170,7 +170,7 @@
}
// TODO(estade): Port the following tests (decide what targets we use for files)
-#if !defined(OS_LINUX)
+#if !defined(OS_LINUX) && !defined(OS_OPENBSD)
// Files for this test don't actually need to exist on the file system, just
// don't try to use a non-existent file you've retrieved from the clipboard.
TEST_F(ClipboardTest, FileTest) {
@@ -224,7 +224,7 @@
for (size_t i = 0; i < out_files.size(); ++i)
EXPECT_EQ(files[i].value(), out_files[i].value());
}
-#endif // !defined(OS_LINUX)
+#endif // !defined(OS_LINUX) && !defined(OS_OPENBSD)
#if defined(OS_WIN) // Windows only tests.
TEST_F(ClipboardTest, HyperlinkTest) {

Powered by Google App Engine
This is Rietveld 408576698