| 332 | //! with Logger::reportTest{Start,End}(). |
| 333 | //! |
| 334 | class TestAtom |
| 335 | { |
| 336 | public: |
| 337 | TestAtom(TestAtom&&) = default; |
| 338 | |
| 339 | private: |
| 340 | friend class Logger; |
| 341 | |
| 342 | TestAtom(bool started, const std::string& name, const std::string& cmdline) |
| 343 | : mStarted(started) |
| 344 | , mName(name) |
| 345 | , mCmdline(cmdline) |
| 346 | { |
| 347 | } |
| 348 | |
| 349 | bool mStarted; |
| 350 | std::string mName; |
| 351 | std::string mCmdline; |
| 352 | }; |
| 353 | |
| 354 | //! |
| 355 | //! \brief Define a test for logging |