<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cppunit.git/examples/cppunittest, 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>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>drop project files for old versions of MSVC</title>
<updated>2019-12-22T13:48:30+00:00</updated>
<author>
<name>David Tardon</name>
<email>dtardon@redhat.com</email>
</author>
<published>2019-12-21T10:40:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=57f0b5697252fa238027fdd3052774055b69060b'/>
<id>57f0b5697252fa238027fdd3052774055b69060b</id>
<content type='text'>
Change-Id: I36ceddb5a8a1f8e96b36a2e851338366cda1808d
Reviewed-on: https://gerrit.libreoffice.org/85662
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>
Change-Id: I36ceddb5a8a1f8e96b36a2e851338366cda1808d
Reviewed-on: https://gerrit.libreoffice.org/85662
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>Fix build with gcc9.1</title>
<updated>2019-04-30T11:39:18+00:00</updated>
<author>
<name>Martin Liška</name>
<email>mliska@suse.cz</email>
</author>
<published>2019-04-30T08:44:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=78e64f0edb4f3271a6ddbcdf9cba05138597bfca'/>
<id>78e64f0edb4f3271a6ddbcdf9cba05138597bfca</id>
<content type='text'>
Change-Id: I8a0d7a0b51b5c537dbcfa8fdd34e816605b1f32e
Reviewed-on: https://gerrit.libreoffice.org/71573
Reviewed-by: Tomáš Chvátal &lt;tchvatal@suse.cz&gt;
Tested-by: Tomáš Chvátal &lt;tchvatal@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I8a0d7a0b51b5c537dbcfa8fdd34e816605b1f32e
Reviewed-on: https://gerrit.libreoffice.org/71573
Reviewed-by: Tomáš Chvátal &lt;tchvatal@suse.cz&gt;
Tested-by: Tomáš Chvátal &lt;tchvatal@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>custom tostring formatter to CPPUNIT_ASSERT_MESSAGE</title>
<updated>2019-02-14T14:33:13+00:00</updated>
<author>
<name>Noel Grandin</name>
<email>noel.grandin@collabora.co.uk</email>
</author>
<published>2017-05-26T10:05:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=1caa3a0c66f009fe1a386d7559dc25054dad42a3'/>
<id>1caa3a0c66f009fe1a386d7559dc25054dad42a3</id>
<content type='text'>
Provide an extension trait message_to_string that allows client code
to call ASSERT_MESSAGE with their own string types.

Also provide a default extension trait that accepts std::ostream
messages.

Change-Id: I516f97063c34d86bc91c40e0ec147d5393e7b6ea
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide an extension trait message_to_string that allows client code
to call ASSERT_MESSAGE with their own string types.

Also provide a default extension trait that accepts std::ostream
messages.

Change-Id: I516f97063c34d86bc91c40e0ec147d5393e7b6ea
</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>AM_CPPFLAGS is preferred by "newer" versions of automake</title>
<updated>2016-12-16T09:24:44+00:00</updated>
<author>
<name>David Tardon</name>
<email>dtardon@redhat.com</email>
</author>
<published>2016-12-16T09:24:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=fcc0062e64edff6a64fb6d0ce9d8695b6373d1f2'/>
<id>fcc0062e64edff6a64fb6d0ce9d8695b6373d1f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>we no longer need a wrapper for the smart pointer case</title>
<updated>2016-12-15T11:01:36+00:00</updated>
<author>
<name>Markus Mohrhard</name>
<email>markus.mohrhard@googlemail.com</email>
</author>
<published>2016-12-15T11:01:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=ff6ce1d7c00be2279f905b2f08cbbd67fa239ae7'/>
<id>ff6ce1d7c00be2279f905b2f08cbbd67fa239ae7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add support for enum class to the asserter</title>
<updated>2016-12-13T09:58:43+00:00</updated>
<author>
<name>Markus Mohrhard</name>
<email>markus.mohrhard@googlemail.com</email>
</author>
<published>2016-12-13T09:54:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=435dee2d69a47c8d46aa1aab3d2906bfc8eab74e'/>
<id>435dee2d69a47c8d46aa1aab3d2906bfc8eab74e</id>
<content type='text'>
The asserter now has special handling to convert the enum class to a
std::string. This does not work without some template magic as enum
class has no implicit conversion to int.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The asserter now has special handling to convert the enum class to a
std::string. This does not work without some template magic as enum
class has no implicit conversion to int.
</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>
</feed>
