Lines Matching refs:runtime_error
191 ATF_REQUIRE_THROW(std::runtime_error, if (1) throw int(5));
193 ATF_REQUIRE_THROW(std::runtime_error,
194 if (1) throw std::runtime_error("e"));
196 ATF_REQUIRE_THROW(std::runtime_error,
197 if (0) throw std::runtime_error("e"));
212 ATF_REQUIRE_THROW_RE(std::runtime_error, "5", if (1) throw int(5));
214 ATF_REQUIRE_THROW_RE(std::runtime_error, "foo.*baz",
215 if (1) throw std::runtime_error("a foo bar baz"));
217 ATF_REQUIRE_THROW_RE(std::runtime_error, "foo.*baz",
218 if (1) throw std::runtime_error("baz foo bar a"));
220 ATF_REQUIRE_THROW_RE(std::runtime_error, "e",
221 if (0) throw std::runtime_error("e"));
610 { "throw_rt_no_match", true, "threw.*runtime_error(baz foo bar a).*"