diff options
| author | Leitwolf | 2026-10-25 10:31:36 +0300 |
|---|---|---|
| committer | GitHub | 2026-10-25 10:31:36 +0300 |
| commit | d2e3e074bb2e1b8ffd9fc990d0b87667ea602f58 (patch) | |
| tree | 0bce4462b2e190c39b3e1c5f697e3e4abd1a5e2a /tests/SelfTest | |
| parent | 13f81a480a93807c14dddb5abdb97355ced4d4c5 (diff) | |
| parent | 126dc333564cb72b5115d9a9242d66694694b6d0 (diff) | |
| download | catch3-d2e3e074bb2e1b8ffd9fc990d0b87667ea602f58.tar.gz | |
Merge pull request #18 from Progmasoft/build/catch3-identity
Give Catch3 its own build names and headers
Diffstat (limited to 'tests/SelfTest')
51 files changed, 160 insertions, 160 deletions
diff --git a/tests/SelfTest/IntrospectiveTests/Algorithms.tests.cpp b/tests/SelfTest/IntrospectiveTests/Algorithms.tests.cpp index fa17cf82..e710e798 100644 --- a/tests/SelfTest/IntrospectiveTests/Algorithms.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/Algorithms.tests.cpp @@ -6,8 +6,8 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> -#include <catch2/internal/catch_is_permutation.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Internal/IsPermutation.hpp> #include <helpers/range_test_helpers.hpp> diff --git a/tests/SelfTest/IntrospectiveTests/AssertionHandler.tests.cpp b/tests/SelfTest/IntrospectiveTests/AssertionHandler.tests.cpp index 15966a07..c6cde428 100644 --- a/tests/SelfTest/IntrospectiveTests/AssertionHandler.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/AssertionHandler.tests.cpp @@ -6,7 +6,7 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> TEST_CASE( "Incomplete AssertionHandler", "[assertion-handler][!shouldfail]" ) { Catch::AssertionHandler catchAssertionHandler( diff --git a/tests/SelfTest/IntrospectiveTests/Details.tests.cpp b/tests/SelfTest/IntrospectiveTests/Details.tests.cpp index 522b4c22..ee9171a3 100644 --- a/tests/SelfTest/IntrospectiveTests/Details.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/Details.tests.cpp @@ -6,11 +6,11 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> -#include <catch2/generators/catch_generators.hpp> -#include <catch2/internal/catch_enforce.hpp> -#include <catch2/internal/catch_case_insensitive_comparisons.hpp> -#include <catch2/internal/catch_optional.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Generators/Generators.hpp> +#include <Progmasoft/Catch3/Internal/Enforce.hpp> +#include <Progmasoft/Catch3/Internal/CaseInsensitiveComparisons.hpp> +#include <Progmasoft/Catch3/Internal/Optional.hpp> #include <helpers/type_with_lit_0_comparisons.hpp> diff --git a/tests/SelfTest/IntrospectiveTests/FloatingPoint.tests.cpp b/tests/SelfTest/IntrospectiveTests/FloatingPoint.tests.cpp index d2181702..fedfd541 100644 --- a/tests/SelfTest/IntrospectiveTests/FloatingPoint.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/FloatingPoint.tests.cpp @@ -6,10 +6,10 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> -#include <catch2/catch_template_test_macros.hpp> -#include <catch2/internal/catch_floating_point_helpers.hpp> -#include <catch2/internal/catch_random_floating_point_helpers.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/TemplateTestMacros.hpp> +#include <Progmasoft/Catch3/Internal/FloatingPointHelpers.hpp> +#include <Progmasoft/Catch3/Internal/RandomFloatingPointHelpers.hpp> #include <limits> diff --git a/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp b/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp index 2c87b0e5..428099cd 100644 --- a/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp @@ -12,13 +12,13 @@ #include <helpers/range_test_helpers.hpp> -#include <catch2/catch_approx.hpp> -#include <catch2/catch_template_test_macros.hpp> -#include <catch2/catch_test_macros.hpp> -#include <catch2/generators/catch_generator_exception.hpp> -#include <catch2/generators/catch_generators_adapters.hpp> -#include <catch2/generators/catch_generators_random.hpp> -#include <catch2/generators/catch_generators_range.hpp> +#include <Progmasoft/Catch3/Approx.hpp> +#include <Progmasoft/Catch3/TemplateTestMacros.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Generators/GeneratorException.hpp> +#include <Progmasoft/Catch3/Generators/Adapters.hpp> +#include <Progmasoft/Catch3/Generators/Random.hpp> +#include <Progmasoft/Catch3/Generators/Range.hpp> // Tests of generator implementation details TEST_CASE("Generators internals", "[generators][internals]") { diff --git a/tests/SelfTest/IntrospectiveTests/Integer.tests.cpp b/tests/SelfTest/IntrospectiveTests/Integer.tests.cpp index 466412e3..cfd756ca 100644 --- a/tests/SelfTest/IntrospectiveTests/Integer.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/Integer.tests.cpp @@ -6,8 +6,8 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> -#include <catch2/internal/catch_random_integer_helpers.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Internal/RandomIntegerHelpers.hpp> #include <random> namespace { diff --git a/tests/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp b/tests/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp index b7ec17b8..45707baf 100644 --- a/tests/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp @@ -13,14 +13,14 @@ #endif -#include <catch2/catch_test_macros.hpp> -#include <catch2/catch_approx.hpp> -#include <catch2/catch_config.hpp> -#include <catch2/benchmark/catch_benchmark.hpp> -#include <catch2/benchmark/catch_chronometer.hpp> -#include <catch2/benchmark/detail/catch_analyse.hpp> -#include <catch2/benchmark/detail/catch_benchmark_function.hpp> -#include <catch2/benchmark/detail/catch_estimate_clock.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Approx.hpp> +#include <Progmasoft/Catch3/Config.hpp> +#include <Progmasoft/Catch3/Benchmark/Benchmark.hpp> +#include <Progmasoft/Catch3/Benchmark/Chronometer.hpp> +#include <Progmasoft/Catch3/Benchmark/Detail/Analyse.hpp> +#include <Progmasoft/Catch3/Benchmark/Detail/BenchmarkFunction.hpp> +#include <Progmasoft/Catch3/Benchmark/Detail/EstimateClock.hpp> #include <numeric> diff --git a/tests/SelfTest/IntrospectiveTests/Parse.tests.cpp b/tests/SelfTest/IntrospectiveTests/Parse.tests.cpp index 7791355f..0e98b14c 100644 --- a/tests/SelfTest/IntrospectiveTests/Parse.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/Parse.tests.cpp @@ -6,9 +6,9 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> -#include <catch2/internal/catch_parse_numbers.hpp> +#include <Progmasoft/Catch3/Internal/ParseNumbers.hpp> TEST_CASE("Parse uints", "[parse-numbers]") { using Catch::parseUInt; diff --git a/tests/SelfTest/IntrospectiveTests/PartTracker.tests.cpp b/tests/SelfTest/IntrospectiveTests/PartTracker.tests.cpp index 09c765aa..7030d921 100644 --- a/tests/SelfTest/IntrospectiveTests/PartTracker.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/PartTracker.tests.cpp @@ -6,10 +6,10 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> -#include <catch2/generators/catch_generators.hpp> -#include <catch2/internal/catch_test_case_tracker.hpp> -#include <catch2/internal/catch_path_filter.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Generators/Generators.hpp> +#include <Progmasoft/Catch3/Internal/TestCaseTracker.hpp> +#include <Progmasoft/Catch3/Internal/PathFilter.hpp> using namespace Catch; diff --git a/tests/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp b/tests/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp index 5166070a..d77f7116 100644 --- a/tests/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp @@ -6,16 +6,16 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> -#include <catch2/catch_template_test_macros.hpp> -#include <catch2/internal/catch_floating_point_helpers.hpp> -#include <catch2/internal/catch_random_integer_helpers.hpp> -#include <catch2/internal/catch_random_number_generator.hpp> -#include <catch2/internal/catch_random_seed_generation.hpp> -#include <catch2/internal/catch_uniform_floating_point_distribution.hpp> -#include <catch2/internal/catch_uniform_integer_distribution.hpp> -#include <catch2/generators/catch_generators.hpp> -#include <catch2/matchers/catch_matchers_range_equals.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/TemplateTestMacros.hpp> +#include <Progmasoft/Catch3/Internal/FloatingPointHelpers.hpp> +#include <Progmasoft/Catch3/Internal/RandomIntegerHelpers.hpp> +#include <Progmasoft/Catch3/Internal/RandomNumberGenerator.hpp> +#include <Progmasoft/Catch3/Internal/RandomSeedGeneration.hpp> +#include <Progmasoft/Catch3/Internal/UniformFloatingPointDistribution.hpp> +#include <Progmasoft/Catch3/Internal/UniformIntegerDistribution.hpp> +#include <Progmasoft/Catch3/Generators/Generators.hpp> +#include <Progmasoft/Catch3/Matchers/RangeEquals.hpp> #include <random> diff --git a/tests/SelfTest/IntrospectiveTests/String.tests.cpp b/tests/SelfTest/IntrospectiveTests/String.tests.cpp index 43c58b49..c7c54d49 100644 --- a/tests/SelfTest/IntrospectiveTests/String.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/String.tests.cpp @@ -6,8 +6,8 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> -#include <catch2/internal/catch_stringref.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Internal/StringRef.hpp> #include <cstring> diff --git a/tests/SelfTest/IntrospectiveTests/StringManip.tests.cpp b/tests/SelfTest/IntrospectiveTests/StringManip.tests.cpp index 56d90f24..f744ad9e 100644 --- a/tests/SelfTest/IntrospectiveTests/StringManip.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/StringManip.tests.cpp @@ -6,9 +6,9 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> -#include <catch2/matchers/catch_matchers_vector.hpp> -#include <catch2/internal/catch_string_manip.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Matchers/Vector.hpp> +#include <Progmasoft/Catch3/Internal/StringManip.hpp> static const char * const no_whitespace = "There is no extra whitespace here"; static const char * const leading_whitespace = " \r \t\n There is no extra whitespace here"; diff --git a/tests/SelfTest/IntrospectiveTests/Tag.tests.cpp b/tests/SelfTest/IntrospectiveTests/Tag.tests.cpp index 43723758..1703f70d 100644 --- a/tests/SelfTest/IntrospectiveTests/Tag.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/Tag.tests.cpp @@ -6,11 +6,11 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/matchers/catch_matchers_string.hpp> -#include <catch2/matchers/catch_matchers_vector.hpp> -#include <catch2/internal/catch_tag_alias_registry.hpp> -#include <catch2/catch_test_macros.hpp> -#include <catch2/catch_test_case_info.hpp> +#include <Progmasoft/Catch3/Matchers/String.hpp> +#include <Progmasoft/Catch3/Matchers/Vector.hpp> +#include <Progmasoft/Catch3/Internal/TagAliasRegistry.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/TestCaseInfo.hpp> TEST_CASE( "Tag alias can be registered against tag patterns" ) { diff --git a/tests/SelfTest/IntrospectiveTests/TestCaseInfoHasher.tests.cpp b/tests/SelfTest/IntrospectiveTests/TestCaseInfoHasher.tests.cpp index 03cb3f0e..fe6f7620 100644 --- a/tests/SelfTest/IntrospectiveTests/TestCaseInfoHasher.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/TestCaseInfoHasher.tests.cpp @@ -6,9 +6,9 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> -#include <catch2/catch_test_case_info.hpp> -#include <catch2/internal/catch_test_case_info_hasher.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/TestCaseInfo.hpp> +#include <Progmasoft/Catch3/Internal/TestCaseInfoHasher.hpp> static constexpr Catch::SourceLineInfo dummySourceLineInfo = CATCH_INTERNAL_LINEINFO; diff --git a/tests/SelfTest/IntrospectiveTests/TestSpec.tests.cpp b/tests/SelfTest/IntrospectiveTests/TestSpec.tests.cpp index 1421b43e..2b846bf9 100644 --- a/tests/SelfTest/IntrospectiveTests/TestSpec.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/TestSpec.tests.cpp @@ -6,15 +6,15 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_config.hpp> -#include <catch2/catch_approx.hpp> -#include <catch2/catch_test_macros.hpp> -#include <catch2/matchers/catch_matchers_string.hpp> -#include <catch2/internal/catch_test_spec_parser.hpp> -#include <catch2/catch_user_config.hpp> -#include <catch2/catch_test_case_info.hpp> -#include <catch2/generators/catch_generators.hpp> -#include <catch2/internal/catch_compiler_capabilities.hpp> +#include <Progmasoft/Catch3/Config.hpp> +#include <Progmasoft/Catch3/Approx.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Matchers/String.hpp> +#include <Progmasoft/Catch3/Internal/TestSpecParser.hpp> +#include <Progmasoft/Catch3/UserConfig.hpp> +#include <Progmasoft/Catch3/TestCaseInfo.hpp> +#include <Progmasoft/Catch3/Generators/Generators.hpp> +#include <Progmasoft/Catch3/Internal/CompilerCapabilities.hpp> #include <helpers/parse_test_spec.hpp> diff --git a/tests/SelfTest/IntrospectiveTests/TestSpecParser.tests.cpp b/tests/SelfTest/IntrospectiveTests/TestSpecParser.tests.cpp index ae27b406..cca02079 100644 --- a/tests/SelfTest/IntrospectiveTests/TestSpecParser.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/TestSpecParser.tests.cpp @@ -6,11 +6,11 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> -#include <catch2/generators/catch_generators.hpp> -#include <catch2/catch_test_case_info.hpp> -#include <catch2/internal/catch_tag_alias_registry.hpp> -#include <catch2/internal/catch_test_spec_parser.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Generators/Generators.hpp> +#include <Progmasoft/Catch3/TestCaseInfo.hpp> +#include <Progmasoft/Catch3/Internal/TagAliasRegistry.hpp> +#include <Progmasoft/Catch3/Internal/TestSpecParser.hpp> namespace { static constexpr Catch::SourceLineInfo dummySourceLineInfo = CATCH_INTERNAL_LINEINFO; diff --git a/tests/SelfTest/IntrospectiveTests/ToString.tests.cpp b/tests/SelfTest/IntrospectiveTests/ToString.tests.cpp index 780c951c..173c7597 100644 --- a/tests/SelfTest/IntrospectiveTests/ToString.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/ToString.tests.cpp @@ -6,11 +6,11 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/benchmark/catch_benchmark.hpp> -#include <catch2/catch_template_test_macros.hpp> -#include <catch2/catch_test_macros.hpp> -#include <catch2/generators/catch_generators.hpp> -#include <catch2/matchers/catch_matchers_string.hpp> +#include <Progmasoft/Catch3/Benchmark/Benchmark.hpp> +#include <Progmasoft/Catch3/TemplateTestMacros.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Generators/Generators.hpp> +#include <Progmasoft/Catch3/Matchers/String.hpp> #include <chrono> diff --git a/tests/SelfTest/IntrospectiveTests/Traits.tests.cpp b/tests/SelfTest/IntrospectiveTests/Traits.tests.cpp index 459e0d48..9767aadf 100644 --- a/tests/SelfTest/IntrospectiveTests/Traits.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/Traits.tests.cpp @@ -6,8 +6,8 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> -#include <catch2/internal/catch_compare_traits.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Internal/CompareTraits.hpp> #include <helpers/type_with_lit_0_comparisons.hpp> diff --git a/tests/SelfTest/IntrospectiveTests/UniquePtr.tests.cpp b/tests/SelfTest/IntrospectiveTests/UniquePtr.tests.cpp index 420bf1b3..707dc33e 100644 --- a/tests/SelfTest/IntrospectiveTests/UniquePtr.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/UniquePtr.tests.cpp @@ -6,8 +6,8 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> -#include <catch2/internal/catch_unique_ptr.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Internal/UniquePtr.hpp> #include <tuple> diff --git a/tests/SelfTest/TestRegistrations.cpp b/tests/SelfTest/TestRegistrations.cpp index 1a7be39d..4ec991fd 100644 --- a/tests/SelfTest/TestRegistrations.cpp +++ b/tests/SelfTest/TestRegistrations.cpp @@ -6,11 +6,11 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_tag_alias_autoregistrar.hpp> -#include <catch2/reporters/catch_reporter_event_listener.hpp> -#include <catch2/internal/catch_enforce.hpp> -#include <catch2/catch_test_case_info.hpp> -#include <catch2/reporters/catch_reporter_registrars.hpp> +#include <Progmasoft/Catch3/TagAliasAutoregistrar.hpp> +#include <Progmasoft/Catch3/Reporters/EventListener.hpp> +#include <Progmasoft/Catch3/Internal/Enforce.hpp> +#include <Progmasoft/Catch3/TestCaseInfo.hpp> +#include <Progmasoft/Catch3/Reporters/Registrars.hpp> // Some example tag aliases diff --git a/tests/SelfTest/TimingTests/Sleep.tests.cpp b/tests/SelfTest/TimingTests/Sleep.tests.cpp index 4e9e385b..01177194 100644 --- a/tests/SelfTest/TimingTests/Sleep.tests.cpp +++ b/tests/SelfTest/TimingTests/Sleep.tests.cpp @@ -6,7 +6,7 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> #include <chrono> #include <thread> diff --git a/tests/SelfTest/UsageTests/Approx.tests.cpp b/tests/SelfTest/UsageTests/Approx.tests.cpp index c3d41cb4..f588c6ca 100644 --- a/tests/SelfTest/UsageTests/Approx.tests.cpp +++ b/tests/SelfTest/UsageTests/Approx.tests.cpp @@ -6,8 +6,8 @@ // SPDX-License-Identifier: BSL-1.0 -#include <catch2/catch_test_macros.hpp> -#include <catch2/catch_approx.hpp> +#include <Progmasoft/Catch3/TestMacros.hpp> +#include <Progmasoft/Catch3/Approx.hpp> #include <cmath> diff --git a/tests/SelfTest/UsageTests/BDD.tests.cpp b/tests/SelfTest/UsageTests/BDD.tests.cpp index 5ac86055..3f1df68b 100644 --- a/ |