Home | History | Annotate | Download | only in engine

Lines Matching defs:reason

42 /// \param reason_ The reason explaining the result, if any.  It is OK for this
76 std::string type, reason;
80 reason = "";
83 reason = line.substr(pos + 2);
89 reason += "<<NEWLINE>>" + line;
93 reason += "<<NEWLINE>>" + line;
97 return test_result(broken, reason);
99 return test_result(expected_failure, reason);
101 return test_result(failed, reason);
103 return test_result(passed, reason);
105 return test_result(skipped, reason);
122 /// Returns the reason explaining the result.
124 /// \return A textual reason, possibly empty.
126 engine::test_result::reason(void) const
194 const std::string& reason = object.reason();
195 if (reason.empty()) {
198 output << F("test_result{type=%s, reason=%s}")
199 % text::quote(result_name, '\'') % text::quote(reason, '\'');