MCPcopy Create free account
hub / github.com/boostorg/json / check

Method check

test/error.cpp:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21{
22public:
23 void check(error e)
24 {
25 auto const ec = make_error_code(e);
26 BOOST_TEST(ec.category().name() != nullptr);
27 BOOST_TEST(! ec.message().empty());
28 BOOST_TEST(ec.category().default_error_condition(
29 static_cast<int>(e)).category() == ec.category());
30 }
31
32 void check(condition c, error e)
33 {

Callers

nothing calls this directly

Calls 2

nameMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected