Remove some #ifdef __native_client__ on tests. These tests were only problematic for SFI NaCl, which is now gone. R=jamesr@chromium.org Review URL: https://codereview.chromium.org/2107893003 .
diff --git a/mojo/public/c/system/tests/buffer_unittest.cc b/mojo/public/c/system/tests/buffer_unittest.cc index 9d29dc9..5c5ebe0 100644 --- a/mojo/public/c/system/tests/buffer_unittest.cc +++ b/mojo/public/c/system/tests/buffer_unittest.cc
@@ -40,13 +40,7 @@ EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoUnmapBuffer(nullptr)); } -// TODO(ncbray): enable this test once NaCl supports the corresponding APIs. -#ifdef __native_client__ -#define MAYBE_Basic DISABLED_Basic -#else -#define MAYBE_Basic Basic -#endif -TEST(BufferTest, MAYBE_Basic) { +TEST(BufferTest, Basic) { // Create a shared buffer (|h0|). MojoHandle h0 = MOJO_HANDLE_INVALID; EXPECT_EQ(MOJO_RESULT_OK, MojoCreateSharedBuffer(nullptr, 100, &h0));
diff --git a/mojo/public/c/system/tests/data_pipe_unittest.cc b/mojo/public/c/system/tests/data_pipe_unittest.cc index fb89e31..7c0a1e4 100644 --- a/mojo/public/c/system/tests/data_pipe_unittest.cc +++ b/mojo/public/c/system/tests/data_pipe_unittest.cc
@@ -63,13 +63,7 @@ MojoEndReadData(MOJO_HANDLE_INVALID, 1u)); } -// TODO(ncbray): enable this test once NaCl supports the corresponding APIs. -#ifdef __native_client__ -#define MAYBE_Basic DISABLED_Basic -#else -#define MAYBE_Basic Basic -#endif -TEST(DataPipeTest, MAYBE_Basic) { +TEST(DataPipeTest, Basic) { MojoHandle hp = MOJO_HANDLE_INVALID; MojoHandle hc = MOJO_HANDLE_INVALID; EXPECT_EQ(MOJO_RESULT_OK, MojoCreateDataPipe(nullptr, &hp, &hc));
diff --git a/mojo/public/cpp/system/tests/core_unittest.cc b/mojo/public/cpp/system/tests/core_unittest.cc index 1843c37..8dc592f 100644 --- a/mojo/public/cpp/system/tests/core_unittest.cc +++ b/mojo/public/cpp/system/tests/core_unittest.cc
@@ -544,13 +544,7 @@ } } -// TODO(ncbray): enable this test once NaCl supports the corresponding APIs. -#ifdef __native_client__ -#define MAYBE_DataPipe DISABLED_DataPipe -#else -#define MAYBE_DataPipe DataPipe -#endif -TEST(CoreCppTest, MAYBE_DataPipe) { +TEST(CoreCppTest, DataPipe) { ScopedDataPipeProducerHandle ph; ScopedDataPipeConsumerHandle ch;