<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cppunit.git/include/cppunit/TestAssert.h, branch feature/cmake</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>Add CMake build system for cppunit library</title>
<updated>2013-12-17T12:34:20+00:00</updated>
<author>
<name>Bernhard Sessler</name>
<email>bernhard.sessler@corscience.de</email>
</author>
<published>2013-11-29T07:44:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=5bccf02b2c4fd4fc3366d600f0eadbaa9f1d0b47'/>
<id>5bccf02b2c4fd4fc3366d600f0eadbaa9f1d0b47</id>
<content type='text'>
Change-Id: I2a4b0c1469509a7239b425ca133efd0d979f1d82
Signed-off-by: Bernhard Sessler &lt;bernhard.sessler@corscience.de&gt;
Reviewed-on: https://gerrit.libreoffice.org/7111
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: I2a4b0c1469509a7239b425ca133efd0d979f1d82
Signed-off-by: Bernhard Sessler &lt;bernhard.sessler@corscience.de&gt;
Reviewed-on: https://gerrit.libreoffice.org/7111
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>GCC -Werror=sign-promo</title>
<updated>2012-02-14T10:38:02+00:00</updated>
<author>
<name>Stephan Bergmann</name>
<email>sbergman@redhat.com</email>
</author>
<published>2012-02-14T10:38:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=0f75eaa0b8de3d68e8b5b5447fbc009531183cb5'/>
<id>0f75eaa0b8de3d68e8b5b5447fbc009531183cb5</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://91.123.203.49/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>Include/cppunit/config/SourcePrefix.</title>
<updated>2005-11-06T15:58:21+00:00</updated>
<author>
<name>Baptiste Lepilleur</name>
<email>gaiacrtn@free.fr</email>
</author>
<published>2005-11-06T15:58:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=851100400615896cca5e5c92151126f6b9a1fce5'/>
<id>851100400615896cca5e5c92151126f6b9a1fce5</id>
<content type='text'>
include/cppunit/config/SourcePrefix.h: disable warning #4996
(sprintf is deprecated) for visual studio 2005.

* include/cppunit/TestAssert.h: use sprintf_s instead of sprintf for
visual studio 2005.

* examples/ClockerPlugIn/ClockerPlugIn.cpp
* examples/DumperPlugIn/DumperPlugIn.cpp: use SourcePrefix.h. Fixed
wrong macro usage to implement DllMain.

* examples/msvc6/HostApp/ExamplesTestCase.h
* examples/msvc6/HostApp/ExamplesTestCase.cpp
* examples/simple/ExamplesTestCase.h
* examples/simple/ExamplesTestCase.cpp: removed divideByZero test case
as it cause some crash on some platforms.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
include/cppunit/config/SourcePrefix.h: disable warning #4996
(sprintf is deprecated) for visual studio 2005.

* include/cppunit/TestAssert.h: use sprintf_s instead of sprintf for
visual studio 2005.

* examples/ClockerPlugIn/ClockerPlugIn.cpp
* examples/DumperPlugIn/DumperPlugIn.cpp: use SourcePrefix.h. Fixed
wrong macro usage to implement DllMain.

* examples/msvc6/HostApp/ExamplesTestCase.h
* examples/msvc6/HostApp/ExamplesTestCase.cpp
* examples/simple/ExamplesTestCase.h
* examples/simple/ExamplesTestCase.cpp: removed divideByZero test case
as it cause some crash on some platforms.
</pre>
</div>
</content>
</entry>
<entry>
<title>include/cppunit/TestAssert.h: added missing #include &lt;stdio.h&gt;</title>
<updated>2005-10-27T18:34:11+00:00</updated>
<author>
<name>Baptiste Lepilleur</name>
<email>gaiacrtn@free.fr</email>
</author>
<published>2005-10-27T18:34:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=a76879fc6a9ca3d5d243c1b53cf32414cf8a01db'/>
<id>a76879fc6a9ca3d5d243c1b53cf32414cf8a01db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>include/cppunit/TestAssert.h: fixed portability bug pointed out by</title>
<updated>2004-11-08T19:12:58+00:00</updated>
<author>
<name>Baptiste Lepilleur</name>
<email>gaiacrtn@free.fr</email>
</author>
<published>2004-11-08T19:12:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=82e2fa96eada0b1c33b188c2e6e5f5cc8656aaa9'/>
<id>82e2fa96eada0b1c33b188c2e6e5f5cc8656aaa9</id>
<content type='text'>
Neil Ferguson.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Neil Ferguson.
</pre>
</div>
</content>
</entry>
<entry>
<title>include/cppunit/TestAssert.h: integrated Neil Ferguson patch for high</title>
<updated>2004-11-06T08:05:45+00:00</updated>
<author>
<name>Baptiste Lepilleur</name>
<email>gaiacrtn@free.fr</email>
</author>
<published>2004-11-06T08:05:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=9bad41893a55777868a84125fae10aa491cb7abc'/>
<id>9bad41893a55777868a84125fae10aa491cb7abc</id>
<content type='text'>
precision conversion to string for double number. Modified the patch
to works even if DBL_DIG C99 macro is not defined.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
precision conversion to string for double number. Modified the patch
to works even if DBL_DIG C99 macro is not defined.
</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://91.123.203.49/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>
<entry>
<title>Include/cppunit/Portability.</title>
<updated>2004-06-25T10:13:58+00:00</updated>
<author>
<name>Baptiste Lepilleur</name>
<email>gaiacrtn@free.fr</email>
</author>
<published>2004-06-25T10:13:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=07996b853a4b796ea6867f7c4a1b36a625cc8390'/>
<id>07996b853a4b796ea6867f7c4a1b36a625cc8390</id>
<content type='text'>
include/cppunit/Portability.h: moved OStringStream alias definition to
Portability/Stream.h. User need to define EVC4 to indicate that
config-evc4.h should be used. (how to we detect this automatically ?).
Notes that this means it might be needed to add #include &lt;string&gt; to some
headers since its no longer included by Portability.h.

* include/cppunit/Portability/Stream.h: define alias OStringStream, stdCOut(),
and OFileStream. If CPPUNIT_NO_STREAM is defined (evc4 config), then provides
our own implementation (based on sprintf and fwrite).

* include/cppunit/config/config-evc4.h: config file for embedded visual c++ 4.
Still need to detect for this platform in Portability.h (currently relying on
EVC4 being defined...)

* *.[cpp/h]: most source files have been impacted with the following change:
#include &lt;iostream&gt; -&gt; #include &lt;cppunit/Portability/Stream.h&gt;
std::ostream -&gt; CPPUNIT_NS::OStream
std::ofstream -&gt; CPPUNIT_NS::OFileStream
std::cout -&gt; CPPUNIT_NS::stdCOut()
std::endl -&gt; "\n"
Also, code using std::cin as been defined out if CPPUNIT_NO_STREAM was defined.
The exact list of impact files can be obtain in CVS using tags:
TG_CPPUNIT_NO_STREAM_BEFORE &amp; TG_CPPUNIT_NO_STREAM_AFTER.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
include/cppunit/Portability.h: moved OStringStream alias definition to
Portability/Stream.h. User need to define EVC4 to indicate that
config-evc4.h should be used. (how to we detect this automatically ?).
Notes that this means it might be needed to add #include &lt;string&gt; to some
headers since its no longer included by Portability.h.

* include/cppunit/Portability/Stream.h: define alias OStringStream, stdCOut(),
and OFileStream. If CPPUNIT_NO_STREAM is defined (evc4 config), then provides
our own implementation (based on sprintf and fwrite).

* include/cppunit/config/config-evc4.h: config file for embedded visual c++ 4.
Still need to detect for this platform in Portability.h (currently relying on
EVC4 being defined...)

* *.[cpp/h]: most source files have been impacted with the following change:
#include &lt;iostream&gt; -&gt; #include &lt;cppunit/Portability/Stream.h&gt;
std::ostream -&gt; CPPUNIT_NS::OStream
std::ofstream -&gt; CPPUNIT_NS::OFileStream
std::cout -&gt; CPPUNIT_NS::stdCOut()
std::endl -&gt; "\n"
Also, code using std::cin as been defined out if CPPUNIT_NO_STREAM was defined.
The exact list of impact files can be obtain in CVS using tags:
TG_CPPUNIT_NO_STREAM_BEFORE &amp; TG_CPPUNIT_NO_STREAM_AFTER.
</pre>
</div>
</content>
</entry>
<entry>
<title>Include/cppunit/Portability.</title>
<updated>2004-06-25T09:41:28+00:00</updated>
<author>
<name>Baptiste Lepilleur</name>
<email>gaiacrtn@free.fr</email>
</author>
<published>2004-06-25T09:41:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=212df8f138166ed053d63d6d54e1a1290e395ae5'/>
<id>212df8f138166ed053d63d6d54e1a1290e395ae5</id>
<content type='text'>
include/cppunit/Portability.h: moved OStringStream alias definition to
Portability/Stream.h. User need to define EVC4 to indicate that
config-evc4.h should be used. (how to we detect this automatically ?).
Notes that this means it might be needed to add #include &lt;string&gt; to some
headers since its no longer included by Portability.h.

* include/cppunit/Portability/Stream.h: define alias OStringStream, stdCOut(),
and OFileStream. If CPPUNIT_NO_STREAM is defined (evc4 config), then provides
our own implementation (based on sprintf and fwrite).

* include/cppunit/config/config-evc4.h: config file for embedded visual c++ 4.
Still need to detect for this platform in Portability.h (currently relying on
EVC4 being defined...)

* *.[cpp/h]: most source files have been impacted with the following change:
#include &lt;iostream&gt; -&gt; #include &lt;cppunit/Portability/Stream.h&gt;
std::ostream -&gt; CPPUNIT_NS::OStream
std::ofstream -&gt; CPPUNIT_NS::OFileStream
std::cout -&gt; CPPUNIT_NS::stdCOut()
std::endl -&gt; "\n"
Also, code using std::cin as been defined out if CPPUNIT_NO_STREAM was defined.
The exact list of impact files can be obtain in CVS using tags:
TG_CPPUNIT_NO_STREAM_BEFORE &amp; TG_CPPUNIT_NO_STREAM_AFTER.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
include/cppunit/Portability.h: moved OStringStream alias definition to
Portability/Stream.h. User need to define EVC4 to indicate that
config-evc4.h should be used. (how to we detect this automatically ?).
Notes that this means it might be needed to add #include &lt;string&gt; to some
headers since its no longer included by Portability.h.

* include/cppunit/Portability/Stream.h: define alias OStringStream, stdCOut(),
and OFileStream. If CPPUNIT_NO_STREAM is defined (evc4 config), then provides
our own implementation (based on sprintf and fwrite).

* include/cppunit/config/config-evc4.h: config file for embedded visual c++ 4.
Still need to detect for this platform in Portability.h (currently relying on
EVC4 being defined...)

* *.[cpp/h]: most source files have been impacted with the following change:
#include &lt;iostream&gt; -&gt; #include &lt;cppunit/Portability/Stream.h&gt;
std::ostream -&gt; CPPUNIT_NS::OStream
std::ofstream -&gt; CPPUNIT_NS::OFileStream
std::cout -&gt; CPPUNIT_NS::stdCOut()
std::endl -&gt; "\n"
Also, code using std::cin as been defined out if CPPUNIT_NO_STREAM was defined.
The exact list of impact files can be obtain in CVS using tags:
TG_CPPUNIT_NO_STREAM_BEFORE &amp; TG_CPPUNIT_NO_STREAM_AFTER.
</pre>
</div>
</content>
</entry>
</feed>
