aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2019-02-27 16:38:36 -0800
committerLei Zhang <thestig@chromium.org>2019-02-28 03:09:44 +0000
commit19a8433a604e6105575c08529fc8e0b2947f5af5 (patch)
treeb61fcb030df433ff0ad3cfedb82c0176e092aae8 /src
parentRoll DEPS for googletest to 5ec7f0c4. (diff)
downloadbreakpad-19a8433a604e6105575c08529fc8e0b2947f5af5.tar.xz
Replace TYPED_TEST_CASE with TYPED_TEST_SUITE.
TYPED_TEST_CASE is deprecated in modern googletest. BUG=chromium:936654 Change-Id: I08004ffbb26089ebe17302934ed6d3268220d151 Reviewed-on: https://chromium-review.googlesource.com/c/1493423 Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/common/linux/dump_symbols_unittest.cc2
-rw-r--r--src/common/linux/file_id_unittest.cc2
-rw-r--r--src/common/linux/synth_elf_unittest.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/common/linux/dump_symbols_unittest.cc b/src/common/linux/dump_symbols_unittest.cc
index bb7b2007..f011c8a7 100644
--- a/src/common/linux/dump_symbols_unittest.cc
+++ b/src/common/linux/dump_symbols_unittest.cc
@@ -85,7 +85,7 @@ class DumpSymbols : public Test {
typedef Types<ElfClass32, ElfClass64> ElfClasses;
-TYPED_TEST_CASE(DumpSymbols, ElfClasses);
+TYPED_TEST_SUITE(DumpSymbols, ElfClasses);
TYPED_TEST(DumpSymbols, Invalid) {
Elf32_Ehdr header;
diff --git a/src/common/linux/file_id_unittest.cc b/src/common/linux/file_id_unittest.cc
index e60a87bc..f4f9ac45 100644
--- a/src/common/linux/file_id_unittest.cc
+++ b/src/common/linux/file_id_unittest.cc
@@ -138,7 +138,7 @@ public:
typedef Types<ElfClass32, ElfClass64> ElfClasses;
-TYPED_TEST_CASE(FileIDTest, ElfClasses);
+TYPED_TEST_SUITE(FileIDTest, ElfClasses);
TYPED_TEST(FileIDTest, ElfClass) {
const char expected_identifier_string[] =
diff --git a/src/common/linux/synth_elf_unittest.cc b/src/common/linux/synth_elf_unittest.cc
index 3715b6e6..cd74c286 100644
--- a/src/common/linux/synth_elf_unittest.cc
+++ b/src/common/linux/synth_elf_unittest.cc
@@ -193,7 +193,7 @@ class BasicElf : public Test {};
typedef Types<ElfClass32, ElfClass64> ElfClasses;
-TYPED_TEST_CASE(BasicElf, ElfClasses);
+TYPED_TEST_SUITE(BasicElf, ElfClasses);
TYPED_TEST(BasicElf, EmptyLE) {
typedef typename TypeParam::Ehdr Ehdr;