From ac8fca1ef44ee5ceb1fa454d52f41178a4d66f79 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Mon, 29 Apr 2019 11:32:48 -0700 Subject: Appease googletest deprecation PiperOrigin-RevId: 245788366 Change-Id: I17bbecf8493132dbe95564c34c45b838194bfabb --- test/syscalls/linux/getdents.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/syscalls/linux/getdents.cc') diff --git a/test/syscalls/linux/getdents.cc b/test/syscalls/linux/getdents.cc index 526925599..e8a7bcd43 100644 --- a/test/syscalls/linux/getdents.cc +++ b/test/syscalls/linux/getdents.cc @@ -224,8 +224,8 @@ class GetdentsTest : public ::testing::Test { FileDescriptor fd_; }; -// GUnit TYPED_TEST_CASE does not allow multiple template parameters, so we -// must use explicit template specialization to set the syscall number. +// Multiple template parameters are not allowed, so we must use explicit +// template specialization to set the syscall number. template <> int GetdentsTest::SyscallNum() { return SYS_getdents; @@ -239,7 +239,7 @@ int GetdentsTest::SyscallNum() { // Test both legacy getdents and getdents64. typedef ::testing::Types GetdentsTypes; -TYPED_TEST_CASE(GetdentsTest, GetdentsTypes); +TYPED_TEST_SUITE(GetdentsTest, GetdentsTypes); // N.B. TYPED_TESTs require explicitly using this-> to access members of // GetdentsTest, since we are inside of a derived class template. -- cgit v1.2.3