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

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

Issue 1585493002: [mojo] Ports EDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/core_unittest.cc
diff --git a/mojo/edk/system/core_unittest.cc b/mojo/edk/system/core_unittest.cc
index 9604bbd7f31cf60de36d8f371b26ba1b4ac11732..d996a2abfad3a289885063a32b437c9f5ced73fb 100644
--- a/mojo/edk/system/core_unittest.cc
+++ b/mojo/edk/system/core_unittest.cc
@@ -158,9 +158,7 @@ TEST_F(CoreTest, Basic) {
ASSERT_EQ(0u, info.GetDtorCallCount());
ASSERT_EQ(0u, info.GetCloseCallCount());
- ASSERT_EQ(0u, info.GetCancelAllAwakablesCallCount());
ASSERT_EQ(MOJO_RESULT_OK, core()->Close(h));
- ASSERT_EQ(1u, info.GetCancelAllAwakablesCallCount());
ASSERT_EQ(1u, info.GetCloseCallCount());
ASSERT_EQ(1u, info.GetDtorCallCount());
@@ -718,16 +716,10 @@ TEST_F(CoreTest, MessagePipeBasicLocalHandlePassing1) {
core()->WriteMessage(h_passing[0], kHello, kHelloSize,
&h_passing[0], 1,
MOJO_WRITE_MESSAGE_FLAG_NONE));
-#if defined(OS_WIN)
- if (base::win::GetVersion() >= base::win::VERSION_VISTA) {
-#endif
ASSERT_EQ(MOJO_RESULT_INVALID_ARGUMENT,
core()->WriteMessage(h_passing[0], kHello, kHelloSize,
&h_passing[1], 1,
MOJO_WRITE_MESSAGE_FLAG_NONE));
-#if defined(OS_WIN)
- }
-#endif
MojoHandle h_passed[2];
MojoCreateMessagePipeOptions options;

Powered by Google App Engine
This is Rietveld 408576698