Lines Matching refs:factory_

836   static MockDeathTestFactory* factory_;  member in MacroLogicDeathTest
839 factory_ = new MockDeathTestFactory; in SetUpTestCase()
840 replacer_ = new testing::internal::ReplaceDeathTestFactory(factory_); in SetUpTestCase()
846 delete factory_; in TearDownTestCase()
847 factory_ = NULL; in TearDownTestCase()
863 MockDeathTestFactory* MacroLogicDeathTest::factory_ = NULL; member in MacroLogicDeathTest
869 factory_->SetParameters(false, DeathTest::OVERSEE_TEST, 0, true); in TEST_F()
872 EXPECT_EQ(0, factory_->AssumeRoleCalls()); in TEST_F()
873 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F()
874 EXPECT_EQ(0, factory_->PassedCalls()); in TEST_F()
875 EXPECT_EQ(0, factory_->AbortCalls()); in TEST_F()
876 EXPECT_FALSE(factory_->TestDeleted()); in TEST_F()
884 factory_->SetParameters(true, DeathTest::OVERSEE_TEST, 0, true); in TEST_F()
887 EXPECT_EQ(1, factory_->AssumeRoleCalls()); in TEST_F()
888 EXPECT_EQ(1, factory_->WaitCalls()); in TEST_F()
889 ASSERT_EQ(1, factory_->PassedCalls()); in TEST_F()
890 EXPECT_FALSE(factory_->PassedArgument(0)); in TEST_F()
891 EXPECT_EQ(0, factory_->AbortCalls()); in TEST_F()
892 EXPECT_TRUE(factory_->TestDeleted()); in TEST_F()
899 factory_->SetParameters(true, DeathTest::OVERSEE_TEST, 1, true); in TEST_F()
902 EXPECT_EQ(1, factory_->AssumeRoleCalls()); in TEST_F()
903 EXPECT_EQ(1, factory_->WaitCalls()); in TEST_F()
904 ASSERT_EQ(1, factory_->PassedCalls()); in TEST_F()
905 EXPECT_TRUE(factory_->PassedArgument(0)); in TEST_F()
906 EXPECT_EQ(0, factory_->AbortCalls()); in TEST_F()
907 EXPECT_TRUE(factory_->TestDeleted()); in TEST_F()
915 factory_->SetParameters(true, DeathTest::EXECUTE_TEST, 0, true); in TEST_F()
918 EXPECT_EQ(1, factory_->AssumeRoleCalls()); in TEST_F()
919 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F()
920 EXPECT_EQ(0, factory_->PassedCalls()); in TEST_F()
921 EXPECT_EQ(1, factory_->AbortCalls()); in TEST_F()
923 factory_->AbortArgument(0)); in TEST_F()
924 EXPECT_TRUE(factory_->TestDeleted()); in TEST_F()
931 factory_->SetParameters(true, DeathTest::EXECUTE_TEST, 0, true); in TEST_F()
934 EXPECT_EQ(1, factory_->AssumeRoleCalls()); in TEST_F()
935 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F()
936 EXPECT_EQ(0, factory_->PassedCalls()); in TEST_F()
942 ASSERT_EQ(2, factory_->AbortCalls()); in TEST_F()
944 factory_->AbortArgument(0)); in TEST_F()
946 factory_->AbortArgument(1)); in TEST_F()
947 EXPECT_TRUE(factory_->TestDeleted()); in TEST_F()