commit | adb66f55a7f99147a8e3b4f9781399d9262d4e09 | [log] [tgz] |
---|---|---|
author | Martin Hořeňovský <martin.horenovsky@gmail.com> | Fri Jun 02 19:10:57 2017 +0200 |
committer | Martin Hořeňovský <martin.horenovsky@gmail.com> | Fri Jun 02 19:10:57 2017 +0200 |
tree | 2cf97f05c5658525b942472be177b6fd078ed87f | |
parent | 377c9a746d1623ff51f8d48dde72f090ad960cd8 [diff] |
Don't include warning headers from catch_xmlwriter.hpp This prevents Catch from disabling `Wpadded` for Clang inside test files (files that do not define either `CATCH_CONFIG_MAIN` or `CATCH_CONFIG_RUNNER`). catch_suppress_warnings.h and catch_reenable_warnings.h should be included only once*, so that the stitching script includes them as the first and last header respectively, since it only includes each header once. This caused a bug, where the first one was included properly, but the second one was included prematurely, from catch_xmlwriter.hpp, and thus was guarded by `CATCH_IMPL`. * At least until the stitching script is changed to accomodate common warning disabling header. Fixes #871
The latest, single header, version can be downloaded directly using this link
Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C). It is implemented entirely in a set of header files, but is packaged up as a single header for extra convenience.
This documentation comprises these three parts: