#include <catch2/catch.hpp>
#include "cetlib/exception_category_matcher.h"
Go to the source code of this file.
TEST_CASE |
( |
"Category matcher" |
| ) |
|
Definition at line 7 of file exception_category_matcher_t.cc.
10 SECTION(
"Exception category matches")
17 SECTION(
"Not Thrown") { CHECK_THAT(
e, matcher); }
19 SECTION(
"Exception category does not match")
26 SECTION(
"Not Thrown") { CHECK_THAT(
e, !matcher); }
cet::coded_exception< error, detail::translate > exception