catch2/include/internal
Martin Hořeňovský 3b98a0166f Various small string usage performance improvements.
* Empty strings are now direct constructed as `std::string()`, not as empty string literals.
* `startsWith` and `endsWith` no longer construct new a string. This should be an improvement
for libstdc++ when using older standards, as it doesn't use SSO but COW and thus even short
strings are expensive to first create.
* Various places now use char literal instead of string literals containing single char.
** `startsWith` and `endsWith` now also have overload that takes single char.

Generally the performance improvements under VS2015 are small, as going from short string
to char is mostly meaningless because of SSO (Catch doesn't push string handling that hard)
and previous commit removed most string handling if tests pass, which is the expect case.
2017-01-15 10:05:01 +01:00
..
catch_approx.hpp add support for inequalities 2017-01-08 22:28:53 +01:00
catch_assertionresult.h lazily stringify expressions 2017-01-14 21:56:16 +01:00
catch_assertionresult.hpp lazily stringify expressions 2017-01-14 21:56:16 +01:00
catch_capture.hpp lazily stringify expressions 2017-01-14 21:56:16 +01:00
catch_clara.h New version of Clara 2014-03-17 18:40:58 +00:00
catch_commandline.hpp Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00
catch_common.h Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00
catch_common.hpp Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00
catch_compiler_capabilities.h Standardize C++11 feature toggles to follow documentation 2017-01-10 22:54:57 +01:00
catch_config.hpp Switched remaining std::auto_ptrs to use CATCH_AUTO_PTR 2016-06-08 19:14:54 +01:00
catch_console_colour_impl.hpp Fixed shell color code of "Blue" 2017-01-07 10:30:43 +01:00
catch_console_colour.hpp Cleaned up terminal colouring impl and added more config options 2014-10-21 07:24:30 +01:00
catch_context_impl.hpp Refactored stream related stuff 2015-09-29 19:23:06 +01:00
catch_context.h Fixed dereferenced null issue 2014-05-20 18:49:28 +01:00
catch_debugger.h Big assertion capture refactoring. 2014-05-28 18:53:01 +01:00
catch_debugger.hpp Use CATCH_NULL instead of NULL 2015-07-01 07:33:27 +01:00
catch_default_main.hpp main takes args by non-const char* 2015-12-09 06:22:15 +00:00
catch_evaluate.hpp Support explicit operator bool 2016-02-25 00:34:09 -08:00
catch_exception_translator_registry.hpp exception translators considered even for types deriving from std::exception, now 2015-11-18 08:39:21 +00:00
catch_expression_lhs.hpp lazily stringify expressions 2017-01-14 21:56:16 +01:00
catch_fatal_condition.hpp Cleaned up terminal colouring impl and added more config options 2014-10-21 07:24:30 +01:00
catch_generators_impl.hpp Removed all trailing whitespace 2013-07-03 19:14:59 +01:00
catch_generators.hpp Removed all trailing whitespace 2013-07-03 19:14:59 +01:00
catch_impl.hpp Stripped trailing whitespace from all source code lines 2015-11-04 18:04:15 +00:00
catch_interfaces_capture.h Do uncaught_exception checking before calling sectionEnded 2015-09-26 18:12:21 -07:00
catch_interfaces_config.h Added --use-colour option to give finer control over colourisation. 2016-02-29 08:03:48 +00:00
catch_interfaces_exception.h Use __COUNTER__ when generating unique names instead of __LINE__, if available. 2016-03-14 07:55:00 +00:00
catch_interfaces_generators.h Removed all trailing whitespace 2013-07-03 19:14:59 +01:00
catch_interfaces_registry_hub.h Fixes for single include 2015-08-07 17:28:48 +01:00
catch_interfaces_reporter.h Removed use of dynamic_cast for MultipleReporters 2016-04-28 08:11:12 +01:00
catch_interfaces_runner.h Big assertion capture refactoring. 2014-05-28 18:53:01 +01:00
catch_interfaces_tag_alias_registry.h Tag aliases feature 2014-06-30 07:33:17 +01:00
catch_interfaces_testcase.h Stripped trailing whitespace from all source code lines 2015-11-04 18:04:15 +00:00
catch_legacy_reporter_adapter.h Support for reporting skipped tests 2014-12-22 20:10:33 +00:00
catch_legacy_reporter_adapter.hpp Support for reporting skipped tests 2014-12-22 20:10:33 +00:00
catch_list.hpp Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00
catch_matchers.hpp Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00
catch_message.h Suppressed a load of warnings 2014-05-19 18:57:14 +01:00
catch_message.hpp Suppressed a load of warnings 2014-05-19 18:57:14 +01:00
catch_notimplemented_exception.h Suppressed a load of warnings 2014-05-19 18:57:14 +01:00
catch_notimplemented_exception.hpp Conditionally removes usage of deprecated features 2014-03-20 14:03:51 +01:00
catch_objc_arc.hpp Conditionally compile clang pragmas 2012-08-16 18:47:41 +01:00
catch_objc.hpp Use CATCH_NULL instead of NULL 2015-07-01 07:33:27 +01:00
catch_option.hpp Use CATCH_NULL instead of NULL 2015-07-01 07:33:27 +01:00
catch_platform.h Separated out catch_platform.h 2013-08-16 19:08:39 +01:00
catch_ptr.hpp Removed Runner class 2015-07-28 18:55:11 +01:00
catch_reenable_warnings.h Suppress warnings correctly for Intel compiler 2015-03-04 07:54:35 +00:00
catch_registry_hub.hpp Replaced some stray overrides with CATCH_OVERRIDE 2015-08-10 07:32:21 +01:00
catch_reporter_registrars.hpp Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00
catch_reporter_registry.hpp Some small clean-ups and refactorings 2015-09-28 01:09:06 -07:00
catch_result_builder.h Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00
catch_result_builder.hpp lazily stringify expressions 2017-01-14 21:56:16 +01:00
catch_result_type.h Stripped trailing whitespace from all source code lines 2015-11-04 18:04:15 +00:00
catch_run_context.hpp Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00
catch_section_info.h Stripped trailing whitespace from all source code lines 2015-11-04 18:04:15 +00:00
catch_section_info.hpp Use CATCH_NULL instead of NULL 2015-07-01 07:33:27 +01:00
catch_section.h Updated NonCopyable (to include C++11 version) and use for Session and Section 2014-10-03 08:15:27 +01:00
catch_section.hpp Do uncaught_exception checking before calling sectionEnded 2015-09-26 18:12:21 -07:00
catch_stream.h Fixes build error caused by missing include. 2016-11-28 15:47:20 +01:00
catch_stream.hpp Merged from develop branch 2015-12-04 10:19:08 +00:00
catch_streambuf.h Merge branch 'master' of https://github.com/gnzlbg/Catch 2014-04-18 08:49:35 +01:00
catch_suppress_warnings.h Moved all new tracking impl into catch_test_case_tracker.pp 2015-11-02 06:14:52 +00:00
catch_tag_alias_registry.h Tag aliases feature 2014-06-30 07:33:17 +01:00
catch_tag_alias_registry.hpp Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00
catch_tag_alias.h Tag aliases feature 2014-06-30 07:33:17 +01:00
catch_test_case_info.h Stripped trailing whitespace from all source code lines 2015-11-04 18:04:15 +00:00
catch_test_case_info.hpp Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00
catch_test_case_registry_impl.hpp Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00
catch_test_case_tracker.hpp Removed use of dynamic_cast from test_case_tracker. 2016-04-28 08:11:12 +01:00
catch_test_registry.hpp Use __COUNTER__ when generating unique names instead of __LINE__, if available. 2016-03-14 07:55:00 +00:00
catch_test_spec_parser.hpp Added \ as escape character in test names on the command line - so you can run tests by name when they contain , or [ 2017-01-11 16:27:16 +00:00
catch_test_spec.hpp Added braces to emphasise the return logic 2016-09-27 09:58:12 +01:00
catch_text.h New version of Clara 2014-03-17 18:40:58 +00:00
catch_timer.h Changed time function name to reflect that it actually returns Microseconds as reported in #323 2014-09-03 19:20:23 +01:00
catch_timer.hpp Use CATCH_NULL instead of NULL 2015-07-01 07:33:27 +01:00
catch_tostring.h Stripped trailing whitespace from all source code lines 2015-11-04 18:04:15 +00:00
catch_tostring.hpp Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00
catch_totals.hpp Fixed up xml reporter and rebased 2014-12-30 18:24:31 +00:00
catch_version.h Stripped trailing whitespace from all source code lines 2015-11-04 18:04:15 +00:00
catch_version.hpp v1.6.0 build - including release notes 2017-01-11 16:44:36 +00:00
catch_wildcard_pattern.hpp Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00
catch_xmlwriter.hpp Various small string usage performance improvements. 2017-01-15 10:05:01 +01:00