diff options
author | Tamir Duberstein <tamird@google.com> | 2019-04-29 11:32:48 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-04-29 11:34:16 -0700 |
commit | ac8fca1ef44ee5ceb1fa454d52f41178a4d66f79 (patch) | |
tree | 7f8f9582ccb73759eedf753f6d17f289b47847ac /test/syscalls/linux/tcp_socket.cc | |
parent | 2df64cd6d2c835ce5b37a8b9111d24ad382b5d3d (diff) |
Appease googletest deprecation
PiperOrigin-RevId: 245788366
Change-Id: I17bbecf8493132dbe95564c34c45b838194bfabb
Diffstat (limited to 'test/syscalls/linux/tcp_socket.cc')
-rw-r--r-- | test/syscalls/linux/tcp_socket.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/syscalls/linux/tcp_socket.cc b/test/syscalls/linux/tcp_socket.cc index 9d8b4ecc7..1057f5892 100644 --- a/test/syscalls/linux/tcp_socket.cc +++ b/test/syscalls/linux/tcp_socket.cc @@ -508,8 +508,8 @@ TEST_P(TcpSocketTest, SetNoDelay) { EXPECT_EQ(get, kSockOptOff); } -INSTANTIATE_TEST_CASE_P(AllInetTests, TcpSocketTest, - ::testing::Values(AF_INET, AF_INET6)); +INSTANTIATE_TEST_SUITE_P(AllInetTests, TcpSocketTest, + ::testing::Values(AF_INET, AF_INET6)); // Fixture for tests parameterized by address family that don't want the fixture // to do things. @@ -751,8 +751,8 @@ TEST_P(SimpleTcpSocketTest, NonBlockingConnectRefused) { EXPECT_THAT(close(s.release()), SyscallSucceeds()); } -INSTANTIATE_TEST_CASE_P(AllInetTests, SimpleTcpSocketTest, - ::testing::Values(AF_INET, AF_INET6)); +INSTANTIATE_TEST_SUITE_P(AllInetTests, SimpleTcpSocketTest, + ::testing::Values(AF_INET, AF_INET6)); } // namespace |