Skip to content

Commit

Permalink
Add prefix to empty param tests.
Browse files Browse the repository at this point in the history
googletest will no longer support empty prefix
for parameterized INSTANTIATE_TEST_SUITE_P.
Adding "All" prefix to existing empty prefix test suites.

This CL was uploaded by git cl split.

R=jam@chromium.org

Bug: 1023677
Change-Id: I261ccc105df9968d29dbe90d62aeb670bb403b45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1926913
Auto-Submit: Ilia Samsonov <isamsonov@google.com>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Commit-Queue: Ilia Samsonov <isamsonov@google.com>
Cr-Commit-Position: refs/heads/master@{#717941}
  • Loading branch information
isamsonov-g authored and Commit Bot committed Nov 22, 2019
1 parent 2532333 commit 500c3e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mojo/core/multiprocess_message_pipe_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,7 @@ DEFINE_TEST_CLIENT_TEST_WITH_PIPE(BadMessageClient,
}

INSTANTIATE_TEST_SUITE_P(
,
All,
MultiprocessMessagePipeTestWithPeerSupport,
testing::Values(test::MojoTestBase::LaunchType::CHILD,
test::MojoTestBase::LaunchType::PEER,
Expand Down
2 changes: 1 addition & 1 deletion mojo/public/cpp/bindings/tests/receiver_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ INSTANTIATE_MOJO_BINDINGS_TEST_SUITE_P(StrongBindingTest);

// These tests only make sense for serialized messages.
INSTANTIATE_TEST_SUITE_P(
,
All,
ReceiverSerializationTest,
testing::Values(mojo::BindingsTestSerializationMode::kSerializeBeforeSend));

Expand Down
2 changes: 1 addition & 1 deletion mojo/public/cpp/platform/tests/platform_handle_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ TEST_P(PlatformHandleTest, CStructConversion) {
EXPECT_EQ(kTestData, GetObjectContents(handle));
}

INSTANTIATE_TEST_SUITE_P(,
INSTANTIATE_TEST_SUITE_P(All,
PlatformHandleTest,
#if defined(OS_WIN)
testing::Values(HandleType::kHandle)
Expand Down
2 changes: 1 addition & 1 deletion mojo/public/cpp/system/tests/invitation_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ DEFINE_TEST_CLIENT(CppProcessErrorsClient) {
EXPECT_EQ(kDisconnectMessage, ReadMessage(pipe));
}

INSTANTIATE_TEST_SUITE_P(,
INSTANTIATE_TEST_SUITE_P(All,
InvitationCppTest,
testing::Values(TransportType::kChannel
#if !defined(OS_FUCHSIA)
Expand Down

0 comments on commit 500c3e4

Please sign in to comment.