<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cppunit.git/include/cppunit/config/config-evc4.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>include: Let the build system handle detecting the features</title>
<updated>2013-12-17T12:37:04+00:00</updated>
<author>
<name>Bernhard Sessler</name>
<email>bernhard.sessler@corscience.de</email>
</author>
<published>2013-12-04T13:54:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=ddae6859ecddeb60ebc80f649215d123ecdae33e'/>
<id>ddae6859ecddeb60ebc80f649215d123ecdae33e</id>
<content type='text'>
This includes a cleanup of the specialized configuration header
files, as supported features are detected during the configuration
stage and do not need to be hard coded into the headers for different
platforms.

Change-Id: I40e26aa1846838d20badda82c40bfd002340ba80
Signed-off-by: Bernhard Sessler &lt;bernhard.sessler@corscience.de&gt;
Reviewed-on: https://gerrit.libreoffice.org/7113
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 includes a cleanup of the specialized configuration header
files, as supported features are detected during the configuration
stage and do not need to be hard coded into the headers for different
platforms.

Change-Id: I40e26aa1846838d20badda82c40bfd002340ba80
Signed-off-by: Bernhard Sessler &lt;bernhard.sessler@corscience.de&gt;
Reviewed-on: https://gerrit.libreoffice.org/7113
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>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/Portability.</title>
<updated>2004-06-25T11:15:55+00:00</updated>
<author>
<name>Baptiste Lepilleur</name>
<email>gaiacrtn@free.fr</email>
</author>
<published>2004-06-25T11:15:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cppunit.git/commit/?id=4a003a878cfff870c7b2417c824042af0af60d59'/>
<id>4a003a878cfff870c7b2417c824042af0af60d59</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>
