mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-16 10:42:25 +01:00
Move header from internal
Move `catch_case_sensitive.hpp` from directory `src/catch2/internal/internal` to be directly under `src/catch2/`. Header `catch_case_sensitive.hpp` defines `enum CaseSensitive` which is part of the public API, since it is exposed by the string matcher contracts. Fixes issue caught by Clang Tidy misc-include-cleaner check.
This commit is contained in:
parent
aad0a3a8d6
commit
9721048a32
@ -48,6 +48,7 @@ set(IMPL_HEADERS
|
|||||||
${SOURCES_DIR}/catch_approx.hpp
|
${SOURCES_DIR}/catch_approx.hpp
|
||||||
${SOURCES_DIR}/catch_assertion_info.hpp
|
${SOURCES_DIR}/catch_assertion_info.hpp
|
||||||
${SOURCES_DIR}/catch_assertion_result.hpp
|
${SOURCES_DIR}/catch_assertion_result.hpp
|
||||||
|
${SOURCES_DIR}/catch_case_sensitive.hpp
|
||||||
${SOURCES_DIR}/catch_config.hpp
|
${SOURCES_DIR}/catch_config.hpp
|
||||||
${SOURCES_DIR}/catch_get_random_seed.hpp
|
${SOURCES_DIR}/catch_get_random_seed.hpp
|
||||||
${SOURCES_DIR}/catch_message.hpp
|
${SOURCES_DIR}/catch_message.hpp
|
||||||
@ -67,7 +68,6 @@ set(IMPL_HEADERS
|
|||||||
${SOURCES_DIR}/catch_version_macros.hpp
|
${SOURCES_DIR}/catch_version_macros.hpp
|
||||||
${SOURCES_DIR}/internal/catch_assertion_handler.hpp
|
${SOURCES_DIR}/internal/catch_assertion_handler.hpp
|
||||||
${SOURCES_DIR}/internal/catch_case_insensitive_comparisons.hpp
|
${SOURCES_DIR}/internal/catch_case_insensitive_comparisons.hpp
|
||||||
${SOURCES_DIR}/internal/catch_case_sensitive.hpp
|
|
||||||
${SOURCES_DIR}/internal/catch_clara.hpp
|
${SOURCES_DIR}/internal/catch_clara.hpp
|
||||||
${SOURCES_DIR}/internal/catch_commandline.hpp
|
${SOURCES_DIR}/internal/catch_commandline.hpp
|
||||||
${SOURCES_DIR}/internal/catch_compare_traits.hpp
|
${SOURCES_DIR}/internal/catch_compare_traits.hpp
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#include <catch2/catch_approx.hpp>
|
#include <catch2/catch_approx.hpp>
|
||||||
#include <catch2/catch_assertion_info.hpp>
|
#include <catch2/catch_assertion_info.hpp>
|
||||||
#include <catch2/catch_assertion_result.hpp>
|
#include <catch2/catch_assertion_result.hpp>
|
||||||
|
#include <catch2/catch_case_sensitive.hpp>
|
||||||
#include <catch2/catch_config.hpp>
|
#include <catch2/catch_config.hpp>
|
||||||
#include <catch2/catch_get_random_seed.hpp>
|
#include <catch2/catch_get_random_seed.hpp>
|
||||||
#include <catch2/catch_message.hpp>
|
#include <catch2/catch_message.hpp>
|
||||||
@ -47,7 +48,6 @@
|
|||||||
#include <catch2/interfaces/catch_interfaces_all.hpp>
|
#include <catch2/interfaces/catch_interfaces_all.hpp>
|
||||||
#include <catch2/internal/catch_assertion_handler.hpp>
|
#include <catch2/internal/catch_assertion_handler.hpp>
|
||||||
#include <catch2/internal/catch_case_insensitive_comparisons.hpp>
|
#include <catch2/internal/catch_case_insensitive_comparisons.hpp>
|
||||||
#include <catch2/internal/catch_case_sensitive.hpp>
|
|
||||||
#include <catch2/internal/catch_clara.hpp>
|
#include <catch2/internal/catch_clara.hpp>
|
||||||
#include <catch2/internal/catch_commandline.hpp>
|
#include <catch2/internal/catch_commandline.hpp>
|
||||||
#include <catch2/internal/catch_compare_traits.hpp>
|
#include <catch2/internal/catch_compare_traits.hpp>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef CATCH_WILDCARD_PATTERN_HPP_INCLUDED
|
#ifndef CATCH_WILDCARD_PATTERN_HPP_INCLUDED
|
||||||
#define CATCH_WILDCARD_PATTERN_HPP_INCLUDED
|
#define CATCH_WILDCARD_PATTERN_HPP_INCLUDED
|
||||||
|
|
||||||
#include <catch2/internal/catch_case_sensitive.hpp>
|
#include <catch2/catch_case_sensitive.hpp>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -8,9 +8,9 @@
|
|||||||
#ifndef CATCH_MATCHERS_STRING_HPP_INCLUDED
|
#ifndef CATCH_MATCHERS_STRING_HPP_INCLUDED
|
||||||
#define CATCH_MATCHERS_STRING_HPP_INCLUDED
|
#define CATCH_MATCHERS_STRING_HPP_INCLUDED
|
||||||
|
|
||||||
#include <catch2/matchers/catch_matchers.hpp>
|
|
||||||
#include <catch2/internal/catch_case_sensitive.hpp>
|
|
||||||
#include <catch2/internal/catch_stringref.hpp>
|
#include <catch2/internal/catch_stringref.hpp>
|
||||||
|
#include <catch2/matchers/catch_matchers.hpp>
|
||||||
|
#include <catch2/catch_case_sensitive.hpp>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -74,7 +74,6 @@ internal_headers = [
|
|||||||
'interfaces/catch_interfaces_testcase.hpp',
|
'interfaces/catch_interfaces_testcase.hpp',
|
||||||
'internal/catch_assertion_handler.hpp',
|
'internal/catch_assertion_handler.hpp',
|
||||||
'internal/catch_case_insensitive_comparisons.hpp',
|
'internal/catch_case_insensitive_comparisons.hpp',
|
||||||
'internal/catch_case_sensitive.hpp',
|
|
||||||
'internal/catch_clara.hpp',
|
'internal/catch_clara.hpp',
|
||||||
'internal/catch_commandline.hpp',
|
'internal/catch_commandline.hpp',
|
||||||
'internal/catch_compare_traits.hpp',
|
'internal/catch_compare_traits.hpp',
|
||||||
@ -173,6 +172,7 @@ internal_headers = [
|
|||||||
'catch_approx.hpp',
|
'catch_approx.hpp',
|
||||||
'catch_assertion_info.hpp',
|
'catch_assertion_info.hpp',
|
||||||
'catch_assertion_result.hpp',
|
'catch_assertion_result.hpp',
|
||||||
|
'catch_case_sensitive.hpp',
|
||||||
'catch_config.hpp',
|
'catch_config.hpp',
|
||||||
'catch_get_random_seed.hpp',
|
'catch_get_random_seed.hpp',
|
||||||
'catch_message.hpp',
|
'catch_message.hpp',
|
||||||
|
Loading…
Reference in New Issue
Block a user