Searched refs:shared_resource_ (Results 1 – 2 of 2) sorted by relevance
5409 shared_resource_ = "123"; in SetUpTestCase()5430 shared_resource_ = nullptr; in TearDownTestCase()5444 static const char* shared_resource_; member in testing::SetUpTestCaseTest5448 const char* SetUpTestCaseTest::shared_resource_ = nullptr; member in testing::SetUpTestCaseTest5451 TEST_F(SetUpTestCaseTest, Test1) { EXPECT_STRNE(nullptr, shared_resource_); } in TEST_F()5454 TEST_F(SetUpTestCaseTest, Test2) { EXPECT_STREQ("123", shared_resource_); } in TEST_F()5468 shared_resource_ = "123"; in SetUpTestSuite()5489 shared_resource_ = nullptr; in TearDownTestSuite()5503 static const char* shared_resource_; member in testing::SetUpTestSuiteTest5507 const char* SetUpTestSuiteTest::shared_resource_ = nullptr; member in testing::SetUpTestSuiteTest[all …]
940 shared_resource_ = new ...;942 // If `shared_resource_` is **not deleted** in `TearDownTestSuite()`,946 // if (shared_resource_ == nullptr) {947 // shared_resource_ = new ...;955 delete shared_resource_;956 shared_resource_ = nullptr;966 static T* shared_resource_;969 T* FooTest::shared_resource_ = nullptr;972 ... you can refer to shared_resource_ here ...976 ... you can refer to shared_resource_ here ...