Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMissing CATCH_ TEMPLATE_LIST_TEST_CASE and CATCH_ TEMPLATE_LIST_TEST_CASE_METHOD #1892
Labels
Comments
horenmar
added a commit
that referenced
this issue
Apr 26, 2020
These files are not included by the default `#include <catch2/catch_test_macros.hpp>` path, so that users do not have to pay for them if they do not use them. Follow up is to split out the small part of `catch_preprocessor.hpp` used by the default test macros (AFAIK, it is just `INTERNAL_CATCH_REMOVE_PARENS` macro), so that it is not included by the default path either. Also fixes #1892 by providing the missing macros.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When
TEMPLATE_LIST_TEST_CASEandTEMPLATE_LIST_TEST_CASE_METHODwere added, the corresponding versions with theCATCH_prefix were missed.Expected behavior
CATCH_TEMPLATE_LIST_TEST_CASEandCATCH_TEMPLATE_LIST_TEST_CASE_METHODshould be available.Additional context
The commit that added
TEMPLATE_LIST_TEST_CASEandTEMPLATE_LIST_TEST_CASE_METHODis here:f2cfc2b#diff-fa7d8d7cacc96c351ae390ff61af33be