Lines Matching refs:runtime_error
190 ATF_REQUIRE_THROW(std::runtime_error, if (1) throw int(5));
192 ATF_REQUIRE_THROW(std::runtime_error,
193 if (1) throw std::runtime_error("e"));
195 ATF_REQUIRE_THROW(std::runtime_error,
196 if (0) throw std::runtime_error("e"));
211 ATF_REQUIRE_THROW_RE(std::runtime_error, "5", if (1) throw int(5));
213 ATF_REQUIRE_THROW_RE(std::runtime_error, "foo.*baz",
214 if (1) throw std::runtime_error("a foo bar baz"));
216 ATF_REQUIRE_THROW_RE(std::runtime_error, "foo.*baz",
217 if (1) throw std::runtime_error("baz foo bar a"));
219 ATF_REQUIRE_THROW_RE(std::runtime_error, "e",
220 if (0) throw std::runtime_error("e"));
621 "threw.*runtime_error\\(baz foo bar a\\).*"