<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/projects/SelfTest/UsageTests/Matchers.tests.cpp, branch v2.6.1</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>Remove unused partial specialization for MatcherMethod&lt;T&gt;</title>
<updated>2018-11-03T23:00:36+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-11-03T23:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d0eb9dfb9b95b97d31656acd13bb9cfb445bc734'/>
<id>d0eb9dfb9b95b97d31656acd13bb9cfb445bc734</id>
<content type='text'>
No matcher actually uses it, and there is no good reason for it,
as the best it can do for user is removing a single indirection
when using the pointer inside the matcher. Given the overhead of
other code that will be running during such time, it is completely
meaningless.

This also fixes compilation for PredicateMatcher&lt;const char*&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No matcher actually uses it, and there is no good reason for it,
as the best it can do for user is removing a single indirection
when using the pointer inside the matcher. Given the overhead of
other code that will be running during such time, it is completely
meaningless.

This also fixes compilation for PredicateMatcher&lt;const char*&gt;.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a bug in UnorderedEqualsMatcher</title>
<updated>2018-09-28T13:30:02+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-09-28T13:30:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=be49a539e421a783c7962e170b1102d44a728702'/>
<id>be49a539e421a783c7962e170b1102d44a728702</id>
<content type='text'>
Previously a mismatched prefix would be skipped before the actual
comparison would be performed. Obviously, it is supposed to be
_matching_ prefix that is skipped.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously a mismatched prefix would be skipped before the actual
comparison would be performed. Obviously, it is supposed to be
_matching_ prefix that is skipped.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure platform-independent output from SpecialException::what</title>
<updated>2018-05-12T18:37:13+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-05-12T18:37:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e5fe3e877af40f3bd027f333831dbf554286a496'/>
<id>e5fe3e877af40f3bd027f333831dbf554286a496</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add PredicateMatcher that takes an arbitrary predicate functions</title>
<updated>2018-04-04T09:14:19+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-04-03T21:28:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=1ca8f43b011ad61f4627a3339333406f15a46431'/>
<id>1ca8f43b011ad61f4627a3339333406f15a46431</id>
<content type='text'>
Also adds `Predicate` helper function to create `PredicateMatcher`.
Because of limitations in type inference it needs to be explicitly
typed, like so
`Predicate&lt;std::string&gt;([](std::string const&amp; str) { ... })`.
It also takes an optional second argument for description of the
predicate.

It is possible to infer the argument with sufficient TMP, see
https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563
but I don't think that the magic is worth introducing ATM.

Closes #1236
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also adds `Predicate` helper function to create `PredicateMatcher`.
Because of limitations in type inference it needs to be explicitly
typed, like so
`Predicate&lt;std::string&gt;([](std::string const&amp; str) { ... })`.
It also takes an optional second argument for description of the
predicate.

It is possible to infer the argument with sufficient TMP, see
https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563
but I don't think that the magic is worth introducing ATM.

Closes #1236
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug in WithinAbs::match() and add tests for it</title>
<updated>2018-03-21T12:47:12+00:00</updated>
<author>
<name>jsc</name>
</author>
<published>2018-03-19T19:36:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=8b780874121b77d33f98c8134503d5091b4c2e89'/>
<id>8b780874121b77d33f98c8134503d5091b4c2e89</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce support for DJGPP cross compiler</title>
<updated>2018-03-07T09:35:32+00:00</updated>
<author>
<name>Tomas Zeman</name>
</author>
<published>2018-03-02T13:39:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=95c849f613a79cb3c7f59aa0589304513688aba1'/>
<id>95c849f613a79cb3c7f59aa0589304513688aba1</id>
<content type='text'>
DJGPP cross compiler is targeting DOS which does not support POSIX
signals. Probably for the same reason (targeting DOS) this compiler
does not support wide characters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DJGPP cross compiler is targeting DOS which does not support POSIX
signals. Probably for the same reason (targeting DOS) this compiler
does not support wide characters.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add UnorderedEqualsMatcher for vectors</title>
<updated>2017-12-07T18:05:00+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-12-07T16:07:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=495d2458e078cda2a61bc773cba24bdb4c7b1774'/>
<id>495d2458e078cda2a61bc773cba24bdb4c7b1774</id>
<content type='text'>
Closes #1093
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1093
</pre>
</div>
</content>
</entry>
<entry>
<title>Add constructor arg checking to WithinAbsMatcher</title>
<updated>2017-12-06T14:42:03+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-12-06T14:37:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0c122c135d5aa726ae206c30410700655c33821d'/>
<id>0c122c135d5aa726ae206c30410700655c33821d</id>
<content type='text'>
Also tests :-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also tests :-)
</pre>
</div>
</content>
</entry>
<entry>
<title>Reorganised (some) usage tests so they can be included multiple times</title>
<updated>2017-11-17T15:46:57+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-11-15T07:48:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=61e838edf212df0dcd7305630b8e2357f57a42eb'/>
<id>61e838edf212df0dcd7305630b8e2357f57a42eb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Conditionally compile problematic tests under old libstdc++</title>
<updated>2017-11-13T20:23:52+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-11-13T20:23:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a3cba7a0d5a5dd8060bf755be5dc5a992a6b162d'/>
<id>a3cba7a0d5a5dd8060bf755be5dc5a992a6b162d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
