| 101 | CATCH_REGISTER_LISTENER(EventProcessorListener); |
| 102 | |
| 103 | int |
| 104 | main(int argc, char *argv[]) |
| 105 | { |
| 106 | Catch::Session session; |
| 107 | |
| 108 | using namespace Catch::clara; |
| 109 | |
| 110 | auto cli = session.cli() | Opt(nevents, "n")["--ts-nevents"]("number of events (default: 1)\n") | |
| 111 | Opt(nthreads, "n")["--ts-nthreads"]("number of ethreads (default: 1)\n"); |
| 112 | |
| 113 | session.cli(cli); |
| 114 | |
| 115 | if (int res = session.applyCommandLine(argc, argv); res != 0) { |
| 116 | return res; |
| 117 | } |
| 118 | |
| 119 | return session.run(); |
| 120 | } |
nothing calls this directly
no test coverage detected