• Home
  • Raw
  • Download

Lines Matching refs:factory_

954   static MockDeathTestFactory* factory_;  member in MacroLogicDeathTest
957 factory_ = new MockDeathTestFactory; in SetUpTestCase()
958 replacer_ = new testing::internal::ReplaceDeathTestFactory(factory_); in SetUpTestCase()
964 delete factory_; in TearDownTestCase()
965 factory_ = NULL; in TearDownTestCase()
981 MockDeathTestFactory* MacroLogicDeathTest::factory_ = NULL; member in MacroLogicDeathTest
987 factory_->SetParameters(false, DeathTest::OVERSEE_TEST, 0, true); in TEST_F()
990 EXPECT_EQ(0, factory_->AssumeRoleCalls()); in TEST_F()
991 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F()
992 EXPECT_EQ(0, factory_->PassedCalls()); in TEST_F()
993 EXPECT_EQ(0, factory_->AbortCalls()); in TEST_F()
994 EXPECT_FALSE(factory_->TestDeleted()); in TEST_F()
1002 factory_->SetParameters(true, DeathTest::OVERSEE_TEST, 0, true); in TEST_F()
1005 EXPECT_EQ(1, factory_->AssumeRoleCalls()); in TEST_F()
1006 EXPECT_EQ(1, factory_->WaitCalls()); in TEST_F()
1007 ASSERT_EQ(1, factory_->PassedCalls()); in TEST_F()
1008 EXPECT_FALSE(factory_->PassedArgument(0)); in TEST_F()
1009 EXPECT_EQ(0, factory_->AbortCalls()); in TEST_F()
1010 EXPECT_TRUE(factory_->TestDeleted()); in TEST_F()
1017 factory_->SetParameters(true, DeathTest::OVERSEE_TEST, 1, true); in TEST_F()
1020 EXPECT_EQ(1, factory_->AssumeRoleCalls()); in TEST_F()
1021 EXPECT_EQ(1, factory_->WaitCalls()); in TEST_F()
1022 ASSERT_EQ(1, factory_->PassedCalls()); in TEST_F()
1023 EXPECT_TRUE(factory_->PassedArgument(0)); in TEST_F()
1024 EXPECT_EQ(0, factory_->AbortCalls()); in TEST_F()
1025 EXPECT_TRUE(factory_->TestDeleted()); in TEST_F()
1033 factory_->SetParameters(true, DeathTest::EXECUTE_TEST, 0, true); in TEST_F()
1036 EXPECT_EQ(1, factory_->AssumeRoleCalls()); in TEST_F()
1037 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F()
1038 EXPECT_EQ(0, factory_->PassedCalls()); in TEST_F()
1039 EXPECT_EQ(1, factory_->AbortCalls()); in TEST_F()
1041 factory_->AbortArgument(0)); in TEST_F()
1042 EXPECT_TRUE(factory_->TestDeleted()); in TEST_F()
1049 factory_->SetParameters(true, DeathTest::EXECUTE_TEST, 0, true); in TEST_F()
1052 EXPECT_EQ(1, factory_->AssumeRoleCalls()); in TEST_F()
1053 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F()
1054 EXPECT_EQ(0, factory_->PassedCalls()); in TEST_F()
1060 ASSERT_EQ(2, factory_->AbortCalls()); in TEST_F()
1062 factory_->AbortArgument(0)); in TEST_F()
1064 factory_->AbortArgument(1)); in TEST_F()
1065 EXPECT_TRUE(factory_->TestDeleted()); in TEST_F()