Lines Matching refs:runtime_error
153 ATF_REQUIRE_THROW(std::runtime_error, if (1) throw int(5));
155 ATF_REQUIRE_THROW(std::runtime_error,
156 if (1) throw std::runtime_error("e"));
158 ATF_REQUIRE_THROW(std::runtime_error,
159 if (0) throw std::runtime_error("e"));
174 ATF_REQUIRE_THROW_RE(std::runtime_error, "5", if (1) throw int(5));
176 ATF_REQUIRE_THROW_RE(std::runtime_error, "foo.*baz",
177 if (1) throw std::runtime_error("a foo bar baz"));
179 ATF_REQUIRE_THROW_RE(std::runtime_error, "foo.*baz",
180 if (1) throw std::runtime_error("baz foo bar a"));
182 ATF_REQUIRE_THROW_RE(std::runtime_error, "e",
183 if (0) throw std::runtime_error("e"));
484 { "throw_rt_no_match", true, "threw.*runtime_error(baz foo bar a).*"