<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/projects/SelfTest/UsageTests/Compilation.tests.cpp, branch v2.13.3</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>Add support for bitwise xor to the decomposer</title>
<updated>2020-04-21T17:27:12+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-04-21T17:27:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=5c9f09e94a32ab47f16bf8353a708e226fccf645'/>
<id>5c9f09e94a32ab47f16bf8353a708e226fccf645</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support bitand and bitor in REQUIRE/CHECK</title>
<updated>2020-04-21T09:00:08+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-04-21T09:00:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=4e4171420d8c3ada47d8782f419908e47e2564ad'/>
<id>4e4171420d8c3ada47d8782f419908e47e2564ad</id>
<content type='text'>
This means that bit-flag-like types with conversion to bool can be
asserted on, like so `REQUIRE(var &amp; Flags::AddNewline)`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This means that bit-flag-like types with conversion to bool can be
asserted on, like so `REQUIRE(var &amp; Flags::AddNewline)`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compilation error when lambdas are used in assertions</title>
<updated>2020-03-19T12:32:45+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-03-19T12:32:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=3a33315ff8e047b1ff46b1ee2a5be3fdd7fbac08'/>
<id>3a33315ff8e047b1ff46b1ee2a5be3fdd7fbac08</id>
<content type='text'>
This is a partial revert of b7b346c3e5603.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a partial revert of b7b346c3e5603.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make warnings in assertions fire for GCC/Clang again</title>
<updated>2020-03-19T08:45:41+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-03-18T19:59:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=b7b346c3e56030d19ac58d33326b69bbaf226552'/>
<id>b7b346c3e56030d19ac58d33326b69bbaf226552</id>
<content type='text'>
The old code caused warnings to fire under MSVC, and Clang &lt;3.8.
I could not find a GCC version where it worked, but I assume that it
did at some point.

This new code causes all of MSVC, GCC, Clang, in current versions,
to emit signed/unsigned comparison warning in test like this:

```cpp
TEST_CASE() {
    int32_t i = -1;
    uint32_t j = 1;
    REQUIRE(i != j);
}
```

Where previously only MSVC would emit the warning.

Fixes #1880
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old code caused warnings to fire under MSVC, and Clang &lt;3.8.
I could not find a GCC version where it worked, but I assume that it
did at some point.

This new code causes all of MSVC, GCC, Clang, in current versions,
to emit signed/unsigned comparison warning in test like this:

```cpp
TEST_CASE() {
    int32_t i = -1;
    uint32_t j = 1;
    REQUIRE(i != j);
}
```

Where previously only MSVC would emit the warning.

Fixes #1880
</pre>
</div>
</content>
</entry>
<entry>
<title>Small cleanup of self tests</title>
<updated>2019-08-04T11:50:25+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-08-04T11:50:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=3701c2e2e645df69e28914c72bf5c75158fa6613'/>
<id>3701c2e2e645df69e28914c72bf5c75158fa6613</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Namespace our type traits in catch_meta</title>
<updated>2019-02-23T20:06:20+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-02-23T20:06:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=29b3b7ae6b28501165d2b3d992bfc259e532d585'/>
<id>29b3b7ae6b28501165d2b3d992bfc259e532d585</id>
<content type='text'>
Previously they could conflict with user-defined type traits that
were in the global namespace.

Fixes #1548
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously they could conflict with user-defined type traits that
were in the global namespace.

Fixes #1548
</pre>
</div>
</content>
</entry>
<entry>
<title>Add STATIC_REQUIRE assertion</title>
<updated>2018-10-16T14:16:00+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-10-13T19:29:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=054d356332a05ce3590b256597105e1f564c4ea9'/>
<id>054d356332a05ce3590b256597105e1f564c4ea9</id>
<content type='text'>
By default, it expands into a `static_assert` + `SUCCEED` pair, but
it can also be deferred to runtime by defining
`CATCH_CONFIG_RUNTIME_STATIC_REQUIRE`, which causes it to expand
into plain old `REQUIRE`.

Closes #1362
Closes #1356
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By default, it expands into a `static_assert` + `SUCCEED` pair, but
it can also be deferred to runtime by defining
`CATCH_CONFIG_RUNTIME_STATIC_REQUIRE`, which causes it to expand
into plain old `REQUIRE`.

Closes #1362
Closes #1356
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for #1403</title>
<updated>2018-10-13T14:53:30+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-10-13T12:43:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=aaaac35d928289b67f9b0774d29fb783fef82216'/>
<id>aaaac35d928289b67f9b0774d29fb783fef82216</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support for parenthesizing types with commas.</title>
<updated>2018-04-20T13:11:09+00:00</updated>
<author>
<name>Barry</name>
</author>
<published>2018-04-10T02:41:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=200d3ad824bb163019a487a44c79f6bc57883c1b'/>
<id>200d3ad824bb163019a487a44c79f6bc57883c1b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix stringifying static array of unsigned chars</title>
<updated>2018-04-06T09:43:12+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-04-06T09:39:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ab3062113857871ba1344158c20cbb09b094be4e'/>
<id>ab3062113857871ba1344158c20cbb09b094be4e</id>
<content type='text'>
The fix leaves an open question: should we keep treating refs
to static array of chars as strings, or should we instead
use `strnlen` to check if it is null-terminated within the buffer

Fixes #1238
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fix leaves an open question: should we keep treating refs
to static array of chars as strings, or should we instead
use `strnlen` to check if it is null-terminated within the buffer

Fixes #1238
</pre>
</div>
</content>
</entry>
</feed>
