<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cppunit.git/include/cppunit/extensions, branch master</title>
<subtitle>anongit.freedesktop.org: git/libreoffice/cppunit.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/'/>
<entry>
<title>get rid of old casting macros</title>
<updated>2021-09-30T18:41:49+00:00</updated>
<author>
<name>Markus Mohrhard</name>
<email>markus.mohrhard@googlemail.com</email>
</author>
<published>2021-09-30T18:41:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=40fd60a4743a9e587b197a3991bb5f7e451e6b8a'/>
<id>40fd60a4743a9e587b197a3991bb5f7e451e6b8a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add override annotations</title>
<updated>2021-09-30T18:27:28+00:00</updated>
<author>
<name>Florian Becker</name>
<email>fb@vxapps.com</email>
</author>
<published>2021-09-30T18:25:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=4a09e067ec7ba06bc89cf30075f4befc892945d9'/>
<id>4a09e067ec7ba06bc89cf30075f4befc892945d9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace NULL with nullptr</title>
<updated>2021-09-30T17:55:43+00:00</updated>
<author>
<name>Florian Becker</name>
<email>fb@vxapps.com</email>
</author>
<published>2021-09-19T20:33:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=3836794be3e10b8a65f666f07fa721c7ea205a17'/>
<id>3836794be3e10b8a65f666f07fa721c7ea205a17</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix -Wdefaulted-function-deleted error</title>
<updated>2019-12-20T18:44:08+00:00</updated>
<author>
<name>Markus Mohrhard</name>
<email>markus.mohrhard@googlemail.com</email>
</author>
<published>2019-12-20T18:44:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=834f3a287387bd6230c98b0c5375aff568c75e02'/>
<id>834f3a287387bd6230c98b0c5375aff568c75e02</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>extensions: add CPPUNIT_TEST_FIXTURE()</title>
<updated>2018-11-02T05:03:13+00:00</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@collabora.co.uk</email>
</author>
<published>2018-10-12T19:34:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=48145587c4c2dc4f1e07d83073e136336c81ce79'/>
<id>48145587c4c2dc4f1e07d83073e136336c81ce79</id>
<content type='text'>
This is similar to googletest's TEST_F() macro, allows to avoid spelling
out the test name in a suite only once, not 3 times.

Change-Id: I90804d271d046d8158678617d8db75ed6ca7c420
Reviewed-on: https://gerrit.libreoffice.org/61732
Reviewed-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
Tested-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is similar to googletest's TEST_F() macro, allows to avoid spelling
out the test name in a suite only once, not 3 times.

Change-Id: I90804d271d046d8158678617d8db75ed6ca7c420
Reviewed-on: https://gerrit.libreoffice.org/61732
Reviewed-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
Tested-by: Markus Mohrhard &lt;markus.mohrhard@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid GCC 9 -Wdeprecated-copy</title>
<updated>2018-09-26T14:49:15+00:00</updated>
<author>
<name>Stephan Bergmann</name>
<email>sbergman@redhat.com</email>
</author>
<published>2018-08-07T14:24:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=4f5cd3b486afb9c7be1903252b4ae3787137a454'/>
<id>4f5cd3b486afb9c7be1903252b4ae3787137a454</id>
<content type='text'>
...when an implicitly-defined copy function is used that may in a future C++
standard be defined as deleted because of the user-declared destructor.  Just
declare all the four copy/move functions as defaulted for a consistent
interface.

(Originally addressed with LibreOffice commit
&lt;https://gerrit.libreoffice.org/58042&gt; "external/cppunit: silence
-Werror=deprecated-copy (GCC trunk towards GCC 9)".)

Change-Id: Ie38ac3a613e6fbc2e4045cb5b14c3f6d167c79c5
Reviewed-on: https://gerrit.libreoffice.org/58690
Reviewed-by: Stephan Bergmann &lt;sbergman@redhat.com&gt;
Tested-by: Stephan Bergmann &lt;sbergman@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
...when an implicitly-defined copy function is used that may in a future C++
standard be defined as deleted because of the user-declared destructor.  Just
declare all the four copy/move functions as defaulted for a consistent
interface.

(Originally addressed with LibreOffice commit
&lt;https://gerrit.libreoffice.org/58042&gt; "external/cppunit: silence
-Werror=deprecated-copy (GCC trunk towards GCC 9)".)

Change-Id: Ie38ac3a613e6fbc2e4045cb5b14c3f6d167c79c5
Reviewed-on: https://gerrit.libreoffice.org/58690
Reviewed-by: Stephan Bergmann &lt;sbergman@redhat.com&gt;
Tested-by: Stephan Bergmann &lt;sbergman@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>implement parameterized tests</title>
<updated>2016-12-16T13:05:07+00:00</updated>
<author>
<name>Markus Mohrhard</name>
<email>markus.mohrhard@googlemail.com</email>
</author>
<published>2016-12-16T12:53:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=4e529c6a6569d1f352e02af16e53aba7ae7bdc1a'/>
<id>4e529c6a6569d1f352e02af16e53aba7ae7bdc1a</id>
<content type='text'>
This allows to execute the same test with different parameters and
treats each execution as an own test. The change consists of two parts,
the TestCaller can now handle any callable which also makes it easy to
generate programatically more complex test cases as well as the new
CPPUNIT_TEST_PARAMETERIZED macro. That macro takes the test name as well
as an iteratable, e.g. std::initializer_list.

An example for this usage is:

class SimpleTest : public CppUnit::TestFixture
{
public:
    CPPUNIT_TEST_SUITE(SimpleTest);
    CPPUNIT_TEST_PARAMETERIZED(test, {1, 2, 3, 4});
    CPPUNIT_TEST_SUITE_END();

    void test(int i)
    {
        CPPUNIT_ASSERT(i &lt; 5);
    }
};

which will execute test 4 times with the values 1 to 4.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows to execute the same test with different parameters and
treats each execution as an own test. The change consists of two parts,
the TestCaller can now handle any callable which also makes it easy to
generate programatically more complex test cases as well as the new
CPPUNIT_TEST_PARAMETERIZED macro. That macro takes the test name as well
as an iteratable, e.g. std::initializer_list.

An example for this usage is:

class SimpleTest : public CppUnit::TestFixture
{
public:
    CPPUNIT_TEST_SUITE(SimpleTest);
    CPPUNIT_TEST_PARAMETERIZED(test, {1, 2, 3, 4});
    CPPUNIT_TEST_SUITE_END();

    void test(int i)
    {
        CPPUNIT_ASSERT(i &lt; 5);
    }
};

which will execute test 4 times with the values 1 to 4.
</pre>
</div>
</content>
</entry>
<entry>
<title>tdf#104498 CPPUNIT_USE_TYPEINFO_NAME is a flag</title>
<updated>2016-12-16T09:10:33+00:00</updated>
<author>
<name>David Tardon</name>
<email>dtardon@redhat.com</email>
</author>
<published>2016-12-16T09:10:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=3bf22cb6d0645bf329fec9c850477b2fc9976f6c'/>
<id>3bf22cb6d0645bf329fec9c850477b2fc9976f6c</id>
<content type='text'>
... so check just for existence.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... so check just for existence.
</pre>
</div>
</content>
</entry>
<entry>
<title>remove support for old broken C++ compilers</title>
<updated>2016-12-11T08:09:46+00:00</updated>
<author>
<name>Markus Mohrhard</name>
<email>markus.mohrhard@googlemail.com</email>
</author>
<published>2016-12-11T07:44:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=2b9f4b072bfb4129ee8eaaa86b3f068bdd2d581d'/>
<id>2b9f4b072bfb4129ee8eaaa86b3f068bdd2d581d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>replace with std::unique_ptr</title>
<updated>2016-10-15T15:31:58+00:00</updated>
<author>
<name>Markus Mohrhard</name>
<email>markus.mohrhard@googlemail.com</email>
</author>
<published>2016-10-15T15:09:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=c314941600c5bd601831e6204b04b06a223064e7'/>
<id>c314941600c5bd601831e6204b04b06a223064e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
