std::stack<std::pair<std::string, std::string>> saved_settings;
ConfigProxy* conf = nullptr;
+ std::string orig_death_test_style;
+
public:
boost::scoped_ptr<ObjectStore> store;
ObjectStore::CollectionHandle ch;
void SetUp() override;
void TearDown() override;
+ void SetDeathTestStyle(const char* new_style) {
+ if (orig_death_test_style.empty()) {
+ orig_death_test_style = ::testing::FLAGS_gtest_death_test_style;
+ }
+ ::testing::FLAGS_gtest_death_test_style = new_style;
+ }
+
void SetVal(ConfigProxy& conf, const char* key, const char* val);
struct SettingsBookmark {
StoreTestFixture& s;