MCPcopy Create free account
hub / github.com/FidoProject/Fido / Session

Method Session

tests/catch.h:6289–6297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6287 struct OnUnusedOptions { enum DoWhat { Ignore, Fail }; };
6288
6289 Session()
6290 : m_cli( makeCommandLineParser() ) {
6291 if( alreadyInstantiated ) {
6292 std::string msg = "Only one instance of Catch::Session can ever be used";
6293 Catch::cerr() << msg << std::endl;
6294 throw std::logic_error( msg );
6295 }
6296 alreadyInstantiated = true;
6297 }
6298 ~Session() {
6299 Catch::cleanUp();
6300 }

Callers

nothing calls this directly

Calls 1

makeCommandLineParserFunction · 0.85

Tested by

no test coverage detected