|
@@ -465,6 +465,8 @@ TEST(ExtensionSetTest, SpaceUsedExcludingSelf) {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef GTEST_HAS_DEATH_TEST
|
|
|
|
+
|
|
TEST(ExtensionSetTest, InvalidEnumDeath) {
|
|
TEST(ExtensionSetTest, InvalidEnumDeath) {
|
|
unittest::TestAllExtensions message;
|
|
unittest::TestAllExtensions message;
|
|
EXPECT_DEBUG_DEATH(
|
|
EXPECT_DEBUG_DEATH(
|
|
@@ -473,6 +475,8 @@ TEST(ExtensionSetTest, InvalidEnumDeath) {
|
|
"IsValid");
|
|
"IsValid");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#endif GTEST_HAS_DEATH_TEST
|
|
|
|
+
|
|
} // namespace
|
|
} // namespace
|
|
} // namespace internal
|
|
} // namespace internal
|
|
} // namespace protobuf
|
|
} // namespace protobuf
|