<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cppunit.git/examples/cppunittest/TestAssertTest.cpp, branch cppunit-1.15.0</title>
<subtitle>anongit.freedesktop.org: git/libreoffice/cppunit.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cppunit.git/'/>
<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://git.baserock.org/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>add new assertion macros for &lt;, &lt;=, &gt; and &gt;=</title>
<updated>2014-07-13T08:57:18+00:00</updated>
<author>
<name>Markus Mohrhard</name>
<email>markus.mohrhard@googlemail.com</email>
</author>
<published>2012-05-05T19:52:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cppunit.git/commit/?id=0ef304e8b8cc517c6a1d8ddccfcaab49172c0535'/>
<id>0ef304e8b8cc517c6a1d8ddccfcaab49172c0535</id>
<content type='text'>
Now we support the following new macros:

- CPPUNIT_ASSERT_LESS
- CPPUNIT_ASSERT_GREATER
- CPPUNIT_ASSERT_LESSEQUAL
- CPPUNIT_ASSERT_GREATEREQUAL
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we support the following new macros:

- CPPUNIT_ASSERT_LESS
- CPPUNIT_ASSERT_GREATER
- CPPUNIT_ASSERT_LESSEQUAL
- CPPUNIT_ASSERT_GREATEREQUAL
</pre>
</div>
</content>
</entry>
<entry>
<title>a bit warning cleaning in the tests</title>
<updated>2012-06-16T11:17:07+00:00</updated>
<author>
<name>Markus Mohrhard</name>
<email>markus.mohrhard@googlemail.com</email>
</author>
<published>2012-06-16T11:17:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cppunit.git/commit/?id=66f607ed47ca9187e51aa4b2402e0e30ba0db211'/>
<id>66f607ed47ca9187e51aa4b2402e0e30ba0db211</id>
<content type='text'>
-Werror -Wall -Wextra now works in make and in make check
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-Werror -Wall -Wextra now works in make and in make check
</pre>
</div>
</content>
</entry>
<entry>
<title>- removed wrong comment.</title>
<updated>2007-02-25T07:49:12+00:00</updated>
<author>
<name>Baptiste Lepilleur</name>
<email>gaiacrtn@free.fr</email>
</author>
<published>2007-02-25T07:49:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cppunit.git/commit/?id=c0df7c41b7a5aff0aece75aeb17b291f905d979d'/>
<id>c0df7c41b7a5aff0aece75aeb17b291f905d979d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Src/cppunit/TestAssert.</title>
<updated>2007-02-24T20:13:04+00:00</updated>
<author>
<name>Baptiste Lepilleur</name>
<email>gaiacrtn@free.fr</email>
</author>
<published>2007-02-24T20:13:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cppunit.git/commit/?id=0d30a2aec28085cfb9fe359c321c289609b884ca'/>
<id>0d30a2aec28085cfb9fe359c321c289609b884ca</id>
<content type='text'>
src/cppunit/TestAssert.cpp (assertDoubleEquals): Moved finite &amp; NaN
tests to include/cppunit/portability/FloatingPoint.h. Changed
implementation assertDoubleEquals to explicitly test for NaN
in case of non-finite values to force equality failure in the
presence of NaN. Previous implementation failed on Microsoft
Visual Studio 6 (on this platform: NaN == NaN).
* examples/cppunittest/TestAssertTest.cpp: Add more unit tests to
test the portable floating-point primitive. Added missing
include &lt;limits&gt;.

* include/cppunit/portability/Makefile.am:
* include/cppunit/portability/FloatingPoint.h: Added file. Extracted
isfinite() from TestAssert.cpp.

* include/cppunit/config-evc4:
* include/cppunit/config-msvc6: Added support for _finite().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
src/cppunit/TestAssert.cpp (assertDoubleEquals): Moved finite &amp; NaN
tests to include/cppunit/portability/FloatingPoint.h. Changed
implementation assertDoubleEquals to explicitly test for NaN
in case of non-finite values to force equality failure in the
presence of NaN. Previous implementation failed on Microsoft
Visual Studio 6 (on this platform: NaN == NaN).
* examples/cppunittest/TestAssertTest.cpp: Add more unit tests to
test the portable floating-point primitive. Added missing
include &lt;limits&gt;.

* include/cppunit/portability/Makefile.am:
* include/cppunit/portability/FloatingPoint.h: Added file. Extracted
isfinite() from TestAssert.cpp.

* include/cppunit/config-evc4:
* include/cppunit/config-msvc6: Added support for _finite().
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests of the precision generated by</title>
<updated>2007-01-31T04:27:07+00:00</updated>
<author>
<name>Steve M. Robbins</name>
<email>smr@sumost.ca</email>
</author>
<published>2007-01-31T04:27:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cppunit.git/commit/?id=3ca9c5d071cb8162c89fd514a6116ee6b450d763'/>
<id>3ca9c5d071cb8162c89fd514a6116ee6b450d763</id>
<content type='text'>
assertion_traits&lt;double&gt;::toString().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
assertion_traits&lt;double&gt;::toString().
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove declaration of unimplemented functions testAssertDoubleNotEquals1 and testAssertDoubleNotEquals2.</title>
<updated>2007-01-27T14:50:11+00:00</updated>
<author>
<name>Steve M. Robbins</name>
<email>smr@sumost.ca</email>
</author>
<published>2007-01-27T14:50:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cppunit.git/commit/?id=92e722a21bb507165d4895c9a9aa92e53a1241ec'/>
<id>92e722a21bb507165d4895c9a9aa92e53a1241ec</id>
<content type='text'>
* examples/cppunittest/TestAssertTest.cpp:
* examples/cppunittest/TestAssertTest.h: Remove declaration of
unimplemented functions testAssertDoubleNotEquals1 and
testAssertDoubleNotEquals2.  Factor new method
testAssertDoubleNonFinite out of existing testAssertDoubleEquals.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* examples/cppunittest/TestAssertTest.cpp:
* examples/cppunittest/TestAssertTest.h: Remove declaration of
unimplemented functions testAssertDoubleNotEquals1 and
testAssertDoubleNotEquals2.  Factor new method
testAssertDoubleNonFinite out of existing testAssertDoubleEquals.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add unit tests for CPPUNIT_ASSERT_DOUBLES_EQUAL() that test with</title>
<updated>2007-01-27T04:46:30+00:00</updated>
<author>
<name>Steve M. Robbins</name>
<email>smr@sumost.ca</email>
</author>
<published>2007-01-27T04:46:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cppunit.git/commit/?id=2ebab48667084132c42cb033e82b89a12c375e1c'/>
<id>2ebab48667084132c42cb033e82b89a12c375e1c</id>
<content type='text'>
non-finite values.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
non-finite values.
</pre>
</div>
</content>
</entry>
<entry>
<title>Put a C++ statement in the first argument of CPPUNIT_ASSERT_THROW()</title>
<updated>2007-01-12T04:49:43+00:00</updated>
<author>
<name>Steve M. Robbins</name>
<email>smr@sumost.ca</email>
</author>
<published>2007-01-12T04:49:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cppunit.git/commit/?id=b112c6d9ec9d7313d3befb6f20f55bacaa546149'/>
<id>b112c6d9ec9d7313d3befb6f20f55bacaa546149</id>
<content type='text'>
and CPPUNIT_ASSERT_NO_THROW().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and CPPUNIT_ASSERT_NO_THROW().
</pre>
</div>
</content>
</entry>
<entry>
<title>Include/cppunit/TestAssert.</title>
<updated>2004-11-05T21:47:21+00:00</updated>
<author>
<name>Baptiste Lepilleur</name>
<email>gaiacrtn@free.fr</email>
</author>
<published>2004-11-05T21:47:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cppunit.git/commit/?id=e298c653900aa83d02c50b6edd541668ba5002f0'/>
<id>e298c653900aa83d02c50b6edd541668ba5002f0</id>
<content type='text'>
include/cppunit/TestAssert.h:
* src/cppunit/TestAssert.cpp: integrated Neil Ferguson patch for missing
_MESSAGE assertion variants. Also enhanced the failure message of a
few assertions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
include/cppunit/TestAssert.h:
* src/cppunit/TestAssert.cpp: integrated Neil Ferguson patch for missing
_MESSAGE assertion variants. Also enhanced the failure message of a
few assertions.
</pre>
</div>
</content>
</entry>
</feed>
