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

Unified Diff: mojo/edk/system/data_pipe_unittest.cc

Issue 1554443003: Stop linking in the old Mojo EDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes Created 4 years, 11 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: mojo/edk/system/data_pipe_unittest.cc
diff --git a/mojo/edk/system/data_pipe_unittest.cc b/mojo/edk/system/data_pipe_unittest.cc
index af2cf3e6e815170e5c929df195fc2fd8c46a65dc..2bef49f7d09e65d44c0423696e27715c3de85192 100644
--- a/mojo/edk/system/data_pipe_unittest.cc
+++ b/mojo/edk/system/data_pipe_unittest.cc
@@ -35,10 +35,12 @@ const uint32_t kSizeOfOptions =
// TODO(vtl): Get rid of this.
const size_t kMaxPoll = 100;
+#if !defined(OS_IOS)
// Used in Multiprocess test.
const size_t kMultiprocessCapacity = 37;
const char kMultiprocessTestData[] = "hello i'm a string that is 36 bytes";
const int kMultiprocessMaxIter = 513;
+#endif
class DataPipeTest : public testing::Test {
public:
@@ -1633,6 +1635,8 @@ TEST_F(DataPipeTest, ConsumerWithClosedProducerSent) {
ASSERT_EQ(MOJO_RESULT_OK, MojoClose(pipe1));
}
+#if !defined(OS_IOS)
+
bool WriteAllData(MojoHandle producer,
const void* elements,
uint32_t num_bytes) {
@@ -1847,6 +1851,8 @@ MOJO_MULTIPROCESS_TEST_CHILD_TEST(MultiprocessClient) {
EXPECT_EQ(MOJO_RESULT_OK, MojoClose(client_mp));
}
+#endif // !defined(OS_IOS)
+
} // namespace
} // namespace edk
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698