| 10712 | } // anon namespace |
| 10713 | |
| 10714 | Session::Session() { |
| 10715 | static bool alreadyInstantiated = false; |
| 10716 | if( alreadyInstantiated ) { |
| 10717 | CATCH_TRY { CATCH_INTERNAL_ERROR( "Only one instance of Catch::Session can ever be used" ); } |
| 10718 | CATCH_CATCH_ALL { getMutableRegistryHub().registerStartupException(); } |
| 10719 | } |
| 10720 | |
| 10721 | // There cannot be exceptions at startup in no-exception mode. |
nothing calls this directly
no test coverage detected