Home | History | Annotate | Download | only in test

Lines Matching refs:failure

54   // generate a non-fatal failure, generate a fatal failure, or
61 ADD_FAILURE() << "Expected non-fatal failure in global set-up.";
64 FAIL() << "Expected fatal failure in global set-up.";
71 // Generates a non-fatal failure.
74 ADD_FAILURE() << "Expected non-fatal failure in global tear-down.";
84 // We call this function to set the type of failure SetUp() should
120 // The 'failure' parameter specifies the type of failure that should
122 int RunAllTests(MyEnvironment* env, FailureType failure) {
124 env->set_failure_in_set_up(failure);
144 "should generate a failure.");
147 "failure");
152 // set-up generates no fatal failure.
155 "and the global tear-down should generate a non-fatal failure.");
158 "fatal failure.");
163 // generates a fatal failure.
166 "should generate a fatal failure.");
169 "a fatal failure.");