Home | History | Annotate | Download | only in test

Lines Matching refs:failure

58   // generate a non-fatal failure, generate a fatal failure, or
65 ADD_FAILURE() << "Expected non-fatal failure in global set-up.";
68 FAIL() << "Expected fatal failure in global set-up.";
75 // Generates a non-fatal failure.
78 ADD_FAILURE() << "Expected non-fatal failure in global tear-down.";
88 // We call this function to set the type of failure SetUp() should
124 // The 'failure' parameter specifies the type of failure that should
126 int RunAllTests(MyEnvironment* env, FailureType failure) {
128 env->set_failure_in_set_up(failure);
149 "should generate a failure.");
152 "failure");
157 // set-up generates no fatal failure.
160 "and the global tear-down should generate a non-fatal failure.");
163 "fatal failure.");
168 // generates a fatal failure.
171 "should generate a fatal failure.");
174 "a fatal failure.");