commit | ab98afe68b111118907ff89131f0c2cc8e0aef9a | [log] [tgz] |
---|---|---|
author | Jozef Grajciar <jozef.grajciar@gmail.com> | Wed Oct 17 21:05:40 2018 +0200 |
committer | Martin Hořeňovský <martin.horenovsky@gmail.com> | Thu Oct 18 11:47:21 2018 +0200 |
tree | 17d7f4ca5a59494bcc954cad3eaa1acb7b9bca43 | |
parent | 054d356332a05ce3590b256597105e1f564c4ea9 [diff] |
Catch::LeakDetector: added cleanup call to destructor simple code with provided main function which just returns 0 leaks memory due to fact that singletons are not cleaned up running valgrind on such simple application reports that 752 bytes are still available in 11 blocks this commit adds destructor to Catch::LeakDetector which calls Catch::cleanUp()
The latest version of the single header can be downloaded directly using this link
If you've been using an earlier version of Catch, please see the Breaking Changes section of the release notes before moving to Catch2. You might also like to read this blog post for more details.
Catch2 stands for C++ Automated Test Cases in a Header and is a multi-paradigm test framework for C++. which also supports Objective-C (and maybe C). It is primarily distributed as a single header file, although certain extensions may require additional headers.
This documentation comprises these three parts: