54 FAIL() <<
"Expected failure.";
59 TEST(BarTest, TestOne) {
62 TEST(BarTest, TestTwo) {
65 TEST(BarTest, TestThree) {
68 TEST(BarTest, DISABLED_TestFour) {
69 FAIL() <<
"Expected failure.";
72 TEST(BarTest, DISABLED_TestFive) {
73 FAIL() <<
"Expected failure.";
78 TEST(BazTest, TestOne) {
79 FAIL() <<
"Expected failure.";
82 TEST(BazTest, TestA) {
85 TEST(BazTest, TestB) {
88 TEST(BazTest, DISABLED_TestC) {
89 FAIL() <<
"Expected failure.";
94 TEST(HasDeathTest, Test1) {
100 TEST(HasDeathTest, Test2) {
106 TEST(DISABLED_FoobarTest, Test1) {
107 FAIL() <<
"Expected failure.";
110 TEST(DISABLED_FoobarTest, DISABLED_Test2) {
111 FAIL() <<
"Expected failure.";
116 TEST(DISABLED_FoobarbazTest, TestA) {
117 FAIL() <<
"Expected failure.";
120 #if GTEST_HAS_PARAM_TEST
121 class ParamTest :
public testing::TestWithParam<int> {
124 TEST_P(ParamTest, TestX) {
127 TEST_P(ParamTest, TestY) {
132 #endif // GTEST_HAS_PARAM_TEST
136 int main(
int argc,
char **argv) {