diff options
| author | Martin Hořeňovský | 2022-05-10 20:00:36 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-05-10 20:57:59 +0200 |
| commit | 5a49285e9cf203dd20b00ac7488a6a3233d60fff (patch) | |
| tree | 0a232d7ec81e8f34d37d7fbbe7ccc2f212671eb2 /tests/SelfTest/TestRegistrations.cpp | |
| parent | ae475a3c19e9b770e66ea3a2ce3eaa2debecd4c6 (diff) | |
| download | catch3-5a49285e9cf203dd20b00ac7488a6a3233d60fff.tar.gz | |
Add --list-listeners option
Diffstat (limited to 'tests/SelfTest/TestRegistrations.cpp')
| -rw-r--r-- | tests/SelfTest/TestRegistrations.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/SelfTest/TestRegistrations.cpp b/tests/SelfTest/TestRegistrations.cpp index 2586ffab..f24c913f 100644 --- a/tests/SelfTest/TestRegistrations.cpp +++ b/tests/SelfTest/TestRegistrations.cpp @@ -48,6 +48,10 @@ class ValidatingTestListener : public Catch::EventListenerBase { }; public: + static std::string getDescription() { + return "Validates ordering of Catch2's listener events"; + } + ValidatingTestListener(Catch::IConfig const* config) : EventListenerBase(config) { m_preferences.shouldReportAllAssertions = true; |