summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/tcp_socket.cc
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2019-04-29 11:32:48 -0700
committerShentubot <shentubot@google.com>2019-04-29 11:34:16 -0700
commitac8fca1ef44ee5ceb1fa454d52f41178a4d66f79 (patch)
tree7f8f9582ccb73759eedf753f6d17f289b47847ac /test/syscalls/linux/tcp_socket.cc
parent2df64cd6d2c835ce5b37a8b9111d24ad382b5d3d (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.cc8
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