catch2/include/internal
Igor Akhmetov 45ebf17ec7 Do not open the output file twice
7f229b4f caused the output file to get opened twice, while
some types of files (e.g. named pipes) can be only opened once.

After this change Session::applyCommandLine opens the output file
only when there is an error to print.
2019-02-18 18:59:54 +01:00
..
catch_approx.cpp Replace most naked throws with macros from catch_enforce.h 2018-09-03 18:07:34 +02:00
catch_approx.h Directly set Approx's members in operator() 2018-09-03 10:20:58 +02:00
catch_assertionhandler.cpp Add support for -fno-exceptions (or equivalent) 2018-09-03 21:08:27 +02:00
catch_assertionhandler.h Avoid copying StringRef 2018-07-23 14:04:43 +02:00
catch_assertioninfo.h Actually do what the previous commit claimed to do! 2017-08-09 10:29:05 +01:00
catch_assertionresult.cpp StringRef appends itself to std::string efficiently 2018-02-28 16:02:25 +01:00
catch_assertionresult.h Fix pointless type mismatch between StringRef and std::string 2017-11-13 12:49:13 +01:00
catch_benchmark.cpp Remove catch_context.h from the common include path 2017-08-29 15:36:09 +02:00
catch_benchmark.h qualified a load of size_ts with std:: namespace (all those not from Clara) 2017-09-18 17:13:17 +01:00
catch_capture_matchers.cpp Avoid copying StringRef 2018-07-23 14:04:43 +02:00
catch_capture_matchers.h Avoid copying StringRef 2018-07-23 14:04:43 +02:00
catch_capture.hpp Add support for -fno-exceptions (or equivalent) 2018-09-03 21:08:27 +02:00
catch_clara.h Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_commandline.cpp Catch's CLI now checks whether requested reporter exists 2018-10-25 15:43:30 +02:00
catch_commandline.h Changed all .hpp extensions to .h where there is now a corresponding .cpp 2017-09-07 11:24:33 +01:00
catch_common.cpp Optimize SourceLineInfo::operator< with short-circuiting 2018-07-23 20:46:42 +02:00
catch_common.h Add missing noexcept in move constructors 2019-01-13 16:17:42 +01:00
catch_compiler_capabilities.h Add to string for std::optional 2019-01-31 15:35:13 +01:00
catch_config.cpp Allow only 1 reporter at a time 2018-04-07 12:05:29 +02:00
catch_config.hpp Call listeners before calling reporters 2018-04-07 12:25:03 +02:00
catch_console_colour.cpp Console Colour: fix compilation 2019-01-19 23:12:54 +01:00
catch_console_colour.h Add a BrightYellow colour, also use it for reconstructed exprs 2018-02-01 14:58:33 +00:00
catch_context.cpp Manual cherry-pick from #1111 2017-12-09 20:17:47 +01:00
catch_context.h Manual cherry-pick from #1111 2017-12-09 20:17:47 +01:00
catch_debug_console.cpp Fix how windows.h is included in our files. 2018-02-23 12:40:12 +01:00
catch_debug_console.h Split writeToDebugConsole out of main path 2017-08-29 13:51:55 +02:00
catch_debugger.cpp Moved a lot of stream related stuff out of the public headers and replaced more ostream dependencies with iosfwd 2017-11-07 15:55:09 +00:00
catch_debugger.h Change CATCH_BREAK_INTO_DEBUGGER to always expand into a function call 2019-01-13 23:22:36 +01:00
catch_decomposer.cpp Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_decomposer.h Fix stupid (C4800) warning 2019-01-13 19:01:12 +01:00
catch_default_main.hpp Introduce conditional wchar_t (and std::wstring) support 2018-03-07 10:35:31 +01:00
catch_enforce.cpp Add support for -fno-exceptions (or equivalent) 2018-09-03 21:08:27 +02:00
catch_enforce.h Add support for -fno-exceptions (or equivalent) 2018-09-03 21:08:27 +02:00
catch_errno_guard.cpp Started work on splitting out .cpp files from header files 2017-07-06 22:28:42 +02:00
catch_errno_guard.h Started work on splitting out .cpp files from header files 2017-07-06 22:28:42 +02:00
catch_exception_translator_registry.cpp Don't use exception-related std:: functions with -fno-exceptions 2018-12-18 20:19:39 +01:00
catch_exception_translator_registry.h Addressed Resharper-C++ warnings 2017-07-25 17:16:28 +02:00
catch_external_interfaces.h Provide ConsoleReporter declaration with EXTERNAL_INTERFACES 2017-11-14 20:42:58 +01:00
catch_fatal_condition.cpp Ensure stack size for POSIX signal handling is sufficient 2018-05-29 22:29:04 +02:00
catch_fatal_condition.h Simplify logic selecting between signal handling/SEH/nothing 2018-02-23 14:56:07 +01:00
catch_generators.cpp Add generic generator modifiers 2019-01-31 10:43:15 +01:00
catch_generators.hpp Remove non-ASCII characters from the distributable parts 2019-02-18 10:33:41 +01:00
catch_impl.hpp Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_interfaces_capture.cpp Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_interfaces_capture.h First attempt at data generator support 2018-08-24 13:31:51 +02:00
catch_interfaces_config.cpp Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_interfaces_config.h https://github.com/catchorg/Catch2/issues/1175 - don't list hidden tests by default 2018-02-09 19:55:40 +01:00
catch_interfaces_exception.cpp Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_interfaces_exception.h Stop leaking some warning suppressions to user code 2017-11-29 19:14:33 +03:00
catch_interfaces_generatortracker.h Redo generator interface 2019-01-31 10:43:06 +01:00
catch_interfaces_registry_hub.cpp Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_interfaces_registry_hub.h Moved registry hub to generic singleton 2018-08-19 11:13:19 +02:00
catch_interfaces_reporter.cpp Call listeners before calling reporters 2018-04-07 12:25:03 +02:00
catch_interfaces_reporter.h Add a new reporter customization point: reporting all assertions 2018-07-14 20:51:02 +02:00
catch_interfaces_runner.cpp Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_interfaces_runner.h Minor cleanup 2017-08-30 15:53:39 +02:00
catch_interfaces_tag_alias_registry.h Split Option<T> and TagAlias definitions away from the main include path 2017-07-27 11:55:30 +02:00
catch_interfaces_testcase.cpp Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_interfaces_testcase.h small cleanup of code 2019-01-10 13:07:54 +01:00
catch_leak_detector.cpp Catch::LeakDetector: added cleanup call to destructor 2018-10-18 11:47:21 +02:00
catch_leak_detector.h Catch::LeakDetector: added cleanup call to destructor 2018-10-18 11:47:21 +02:00
catch_list.cpp fix SEGFAULTs 2019-02-08 10:41:23 +01:00
catch_list.h fix SEGFAULTs 2019-02-08 10:41:23 +01:00
catch_matchers_floating.cpp Add std::isnan polyfill, fixing compilation under Embarcadero 2018-11-17 20:52:18 +01:00
catch_matchers_floating.h Remove leftover commented out lines 2017-11-10 18:37:58 +01:00
catch_matchers_generic.cpp Add PredicateMatcher that takes an arbitrary predicate functions 2018-04-04 11:14:19 +02:00
catch_matchers_generic.hpp Add PredicateMatcher that takes an arbitrary predicate functions 2018-04-04 11:14:19 +02:00
catch_matchers_string.cpp Provide a regex matcher against std::string 2017-11-13 15:35:31 +01:00
catch_matchers_string.h Provide a regex matcher against std::string 2017-11-13 15:35:31 +01:00
catch_matchers_vector.h Fix a bug in UnorderedEqualsMatcher 2018-09-28 15:30:02 +02:00
catch_matchers.cpp Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_matchers.h Remove unused partial specialization for MatcherMethod<T> 2018-11-04 00:00:36 +01:00
catch_message.cpp Fix CAPTURE macro for nontrivial uses 2018-11-21 16:48:09 +01:00
catch_message.h Fix CAPTURE macro for nontrivial uses 2018-11-21 16:48:09 +01:00
catch_meta.hpp Add nice error messages for unsupported && and || 2019-01-01 19:13:47 +01:00
catch_objc_arc.hpp Conditionally compile clang pragmas 2012-08-16 18:47:41 +01:00
catch_objc.hpp Fixed errors and warnings on OC project 2018-06-12 13:42:33 +01:00
catch_option.hpp General cleanup 2017-07-27 11:32:01 +02:00
catch_output_redirect.cpp Replace most naked throws with macros from catch_enforce.h 2018-09-03 18:07:34 +02:00
catch_output_redirect.h Allow disabling the implementation of the new output capture 2018-07-13 20:27:00 +02:00
catch_platform.h Detect MinGW as Windows platform w/o SEH 2018-04-22 18:46:54 +02:00
catch_polyfills.cpp Add std::isnan polyfill, fixing compilation under Embarcadero 2018-11-17 20:52:18 +01:00
catch_polyfills.hpp Add std::isnan polyfill, fixing compilation under Embarcadero 2018-11-17 20:52:18 +01:00
catch_preprocessor.hpp Use correct type name instead of index for TEMPLATE_PRODUCT_TEST_CASE (#1544) 2019-02-17 21:52:22 +01:00
catch_random_number_generator.cpp Replaced use of std::rand with std::mt19937 2018-06-15 14:35:47 +01:00
catch_random_number_generator.h Replaced use of std::rand with std::mt19937 2018-06-15 14:35:47 +01:00
catch_reenable_warnings.h Suppress warnings correctly for Intel compiler 2015-03-04 07:54:35 +00:00
catch_registry_hub.cpp Moved ReusableStringStream impl to generic singleton 2018-08-19 11:28:46 +02:00
catch_reporter_registrars.hpp Some bits of tidy up 2017-12-07 00:02:32 +00:00
catch_reporter_registry.cpp Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_reporter_registry.h Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_result_type.cpp Manual cherry-pick from #1111 2017-12-09 20:17:47 +01:00
catch_result_type.h Manual cherry-pick from #1111 2017-12-09 20:17:47 +01:00
catch_run_context.cpp Redo generator interface 2019-01-31 10:43:06 +01:00
catch_run_context.h RunContext: Uninit Member 2019-01-13 10:26:47 +01:00
catch_section_info.cpp Deprecated description in SECTION (still accepts it, for now, but doesn't use it anywhere) 2018-06-25 19:04:29 +01:00
catch_section_info.h Restored description field in SectionInfo for now - but marked it deprecated 2018-06-25 20:18:41 +01:00
catch_section.cpp Deprecated description in SECTION (still accepts it, for now, but doesn't use it anywhere) 2018-06-25 19:04:29 +01:00
catch_section.h Stop -Wunused-variable suppression leaking out of Catch's header 2018-07-02 17:28:29 +02:00
catch_session.cpp Do not open the output file twice 2019-02-18 18:59:54 +01:00
catch_session.h Session::applyCommandLine overload on wchar_t (#1401) 2018-10-13 19:29:53 +02:00
catch_singletons.cpp Added generic singletons facility 2018-08-19 10:34:44 +02:00
catch_singletons.hpp Added generic singletons facility 2018-08-19 10:34:44 +02:00
catch_startup_exception_registry.cpp Add support for -fno-exceptions (or equivalent) 2018-09-03 21:08:27 +02:00
catch_startup_exception_registry.h Made everything used in test case registration noexcept 2017-07-13 08:25:47 +01:00
catch_stream.cpp Moved ReusableStringStream impl to generic singleton 2018-08-19 11:28:46 +02:00
catch_stream.h Moved ReusableStringStream impl to generic singleton 2018-08-19 11:28:46 +02:00
catch_string_manip.cpp Moved inline functions in cpp files into anon namespaces 2018-06-12 14:09:30 +01:00
catch_string_manip.h Split out helper functions on std::string from catch_common.h 2017-07-25 21:57:35 +02:00
catch_stringref.cpp Provide a public method to get StringRef's underlying pointer 2018-02-28 22:49:00 +01:00
catch_stringref.h small cleanup of code 2019-01-10 13:07:54 +01:00
catch_suppress_warnings.h Improve explanation of why -Wparentheses suppression leaks 2019-01-25 21:29:12 +01:00
catch_tag_alias_autoregistrar.cpp Add support for -fno-exceptions (or equivalent) 2018-09-03 21:08:27 +02:00
catch_tag_alias_autoregistrar.h Stop leaking some warning suppressions to user code 2017-11-29 19:14:33 +03:00
catch_tag_alias_registry.cpp Introduced ReusableStringStream and removed all uses of std::ostringstream from the main path 2017-11-07 18:01:10 +00:00
catch_tag_alias_registry.h Split Option<T> and TagAlias definitions away from the main include path 2017-07-27 11:55:30 +02:00
catch_tag_alias.cpp Split Option<T> and TagAlias definitions away from the main include path 2017-07-27 11:55:30 +02:00
catch_tag_alias.h Split Option<T> and TagAlias definitions away from the main include path 2017-07-27 11:55:30 +02:00
catch_test_case_info.cpp Moved inline functions in cpp files into anon namespaces 2018-06-12 14:09:30 +01:00
catch_test_case_info.h Cleanup for performance reasons 2018-03-02 16:24:35 +01:00
catch_test_case_registry_impl.cpp Replaced use of std::rand with std::mt19937 2018-06-15 14:35:47 +01:00
catch_test_case_registry_impl.h Cleanup for performance reasons 2018-03-02 16:24:35 +01:00
catch_test_case_tracker.cpp Redo generator interface 2019-01-31 10:43:06 +01:00
catch_test_case_tracker.h Redo generator interface 2019-01-31 10:43:06 +01:00
catch_test_registry.cpp Add support for -fno-exceptions (or equivalent) 2018-09-03 21:08:27 +02:00
catch_test_registry.h Use correct type name instead of index for TEMPLATE_PRODUCT_TEST_CASE (#1544) 2019-02-17 21:52:22 +01:00
catch_test_spec_parser.cpp Changed all .hpp extensions to .h where there is now a corresponding .cpp 2017-09-07 11:24:33 +01:00
catch_test_spec_parser.h qualified a load of size_ts with std:: namespace (all those not from Clara) 2017-09-18 17:13:17 +01:00
catch_test_spec.cpp Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_test_spec.h Sweep out some extra warnings 2017-09-07 17:25:15 +02:00
catch_text.h Removed tbc_text_format (superceded by TextFlow) 2017-07-20 23:20:42 +01:00
catch_timer.cpp ClockEstimate: DivByZero 2019-01-11 11:55:51 +01:00
catch_timer.h Increased int size for timers to avoid truncations 2017-12-08 15:59:00 +00:00
catch_to_string.hpp Provide a polyfill over std::to_string 2018-05-09 21:47:42 +02:00
catch_tostring.cpp Add std::isnan polyfill, fixing compilation under Embarcadero 2018-11-17 20:52:18 +01:00
catch_tostring.h Add to string for std::optional 2019-01-31 15:35:13 +01:00
catch_totals.cpp Changed all .hpp extensions to .h where there is now a corresponding .cpp 2017-09-07 11:24:33 +01:00
catch_totals.h Add option to warn when no tests ran 2018-02-09 18:49:36 +01:00
catch_type_traits.hpp Missing <type_traits> include 2019-01-10 12:52:15 +01:00
catch_uncaught_exceptions.cpp Remove superfluous comment 2018-02-08 13:09:02 +01:00
catch_uncaught_exceptions.h Redirect std::uncaught_exception to Catch::uncaught_exception 2018-02-02 15:36:15 +01:00
catch_user_interfaces.h Introduce a way to intentionally expose interface for use in tests 2017-11-21 11:10:07 +01:00
catch_version.cpp v2.6.1 2019-02-12 19:58:12 +01:00
catch_version.h Address results of PVS-Studio static analysis 2017-07-20 00:27:28 +02:00
catch_wildcard_pattern.cpp Introduced ReusableStringStream and removed all uses of std::ostringstream from the main path 2017-11-07 18:01:10 +00:00
catch_wildcard_pattern.h Changed all .hpp extensions to .h where there is now a corresponding .cpp 2017-09-07 11:24:33 +01:00
catch_windows_h_proxy.h unconditional windows proxy 2017-10-11 14:58:20 +01:00
catch_xmlwriter.cpp hexEscapeChar: restore stream 2019-01-10 13:05:36 +01:00
catch_xmlwriter.h Modify XML encoder to hex-encode invalid UTF-8 sequences 2018-03-27 16:49:14 +02:00