<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_message.cpp, branch v2.11.2</title>
<subtitle>Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.</subtitle>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/'/>
<entry>
<title>Some refactorings:</title>
<updated>2020-01-25T08:01:04+00:00</updated>
<author>
<name>offa</name>
</author>
<published>2020-01-21T20:04:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=2d172dc688ffab0867a94928159e93384475a870'/>
<id>2d172dc688ffab0867a94928159e93384475a870</id>
<content type='text'>
 - Overrides added
 - usages of push_back() replaced with emplace_back()
 - Loop variable made const-refernce
 - NULL replaced with nullptr
 - Names used in the declaration and definition unified
 - size() replaced with empty
 - Identical cases merged
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Overrides added
 - usages of push_back() replaced with emplace_back()
 - Loop variable made const-refernce
 - NULL replaced with nullptr
 - Names used in the declaration and definition unified
 - size() replaced with empty
 - Identical cases merged
</pre>
</div>
</content>
</entry>
<entry>
<title>Make StringRef's operator std::string explicit</title>
<updated>2019-09-08T13:58:10+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-09-08T12:49:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7b865daccc7bba2dcc25a4f0b9ea7348b1b4d61f'/>
<id>7b865daccc7bba2dcc25a4f0b9ea7348b1b4d61f</id>
<content type='text'>
This way it is explicit when there is a `StringRef` -&gt; `std::string`
conversion and makes it easier to look for allocations that could
be avoided.

Doing this has already removed one allocation per registered test
case, as there was a completely pointless `StringRef` -&gt; `std::string`
conversion when parsing tags of a test case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way it is explicit when there is a `StringRef` -&gt; `std::string`
conversion and makes it easier to look for allocations that could
be avoided.

Doing this has already removed one allocation per registered test
case, as there was a completely pointless `StringRef` -&gt; `std::string`
conversion when parsing tags of a test case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix error message when unmatched quotes are encountered by CAPTURE</title>
<updated>2019-05-23T11:54:51+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-05-23T11:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=99602787cd1adaa8e8567063031d28e6510f4ebe'/>
<id>99602787cd1adaa8e8567063031d28e6510f4ebe</id>
<content type='text'>
Thanks to @ledvinap for noticing
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to @ledvinap for noticing
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow quotes in CAPTURE arguments (#1608)</title>
<updated>2019-05-01T17:12:44+00:00</updated>
<author>
<name>Petr Ledvina</name>
</author>
<published>2019-05-01T17:12:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=9c741fe96073ed620ffc032afbed1f3c789d2b68'/>
<id>9c741fe96073ed620ffc032afbed1f3c789d2b68</id>
<content type='text'>
* Allow quotes in CAPTURE arguments

Fix CAPTURE to handle string and character literals properly</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Allow quotes in CAPTURE arguments

Fix CAPTURE to handle string and character literals properly</pre>
</div>
</content>
</entry>
<entry>
<title>Add unscoped info functionality</title>
<updated>2019-03-06T21:04:35+00:00</updated>
<author>
<name>Omer Ozarslan</name>
</author>
<published>2019-02-01T15:11:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=99575b45db0ec0de2fb84b5e5cce7e93559387e5'/>
<id>99575b45db0ec0de2fb84b5e5cce7e93559387e5</id>
<content type='text'>
This adds UNSCOPED_INFO macro, creating a log message that is stored
until the end of next assertion or the end of test case, whichever comes
first. These messages are not scoped locally, unlike messages created by
INFO macro.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds UNSCOPED_INFO macro, creating a log message that is stored
until the end of next assertion or the end of test case, whichever comes
first. These messages are not scoped locally, unlike messages created by
INFO macro.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix CAPTURE macro for nontrivial uses</title>
<updated>2018-11-21T15:48:09+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-11-19T22:06:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=59087f74d9ee8ed956d3df09b044c502b71862fd'/>
<id>59087f74d9ee8ed956d3df09b044c502b71862fd</id>
<content type='text'>
The previous implemetation was just plain broken for most of
possible uses, the new one should work (even though it is ugly
as all hell, and should be improved ASAP).

Fixes #1436
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous implemetation was just plain broken for most of
possible uses, the new one should work (even though it is ugly
as all hell, and should be improved ASAP).

Fixes #1436
</pre>
</div>
</content>
</entry>
<entry>
<title>CAPTURE is now variadic</title>
<updated>2018-08-19T20:40:20+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2018-06-27T20:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=1cdaa48a0b20e28ee32553070700b86557f9619d'/>
<id>1cdaa48a0b20e28ee32553070700b86557f9619d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace std::string with StringRef in MessageInfo for macro capture</title>
<updated>2018-07-23T12:00:44+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-07-23T11:42:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=78804ea304167f15fd2362b15494be358361a922'/>
<id>78804ea304167f15fd2362b15494be358361a922</id>
<content type='text'>
Because the macro name is compile-time constant, we do not have to
worry about lifetimes and will avoid allocation in case of missing
SSO or long macro name.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because the macro name is compile-time constant, we do not have to
worry about lifetimes and will avoid allocation in case of missing
SSO or long macro name.
</pre>
</div>
</content>
</entry>
<entry>
<title>Redirect std::uncaught_exception to Catch::uncaught_exception</title>
<updated>2018-02-02T14:36:15+00:00</updated>
<author>
<name>Josh Lospinoso</name>
</author>
<published>2018-01-26T15:59:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=5201e9256489233e96d578a932e584e6ebe6423f'/>
<id>5201e9256489233e96d578a932e584e6ebe6423f</id>
<content type='text'>
This means that only one place needs to work with warnings from
the deprecation of `std::uncaught_exception()` in C++17.

Closes #1162.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This means that only one place needs to work with warnings from
the deprecation of `std::uncaught_exception()` in C++17.

Closes #1162.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix std::uncaught_exception deprecation warning in ~ScopedMessage</title>
<updated>2017-12-07T18:10:28+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-12-07T18:10:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c4d1aa90337300a8c7646b3f28b0a6783eec5a8f'/>
<id>c4d1aa90337300a8c7646b3f28b0a6783eec5a8f</id>
<content type='text'>
Closes #1124
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1124
</pre>
</div>
</content>
</entry>
</feed>
