[Mockpp-commits] homepage general-box-en.gtml,1.3,1.4 index-en.gtml,1.8,1.9 install-en.gtml,1.3,1.4
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-04-09 18:17:45
|
Update of /cvsroot/mockpp/homepage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20231 Modified Files: general-box-en.gtml index-en.gtml install-en.gtml Log Message: general update compatibilty section moved Index: index-en.gtml =================================================================== RCS file: /cvsroot/mockpp/homepage/index-en.gtml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- index-en.gtml 3 Dec 2004 20:26:07 -0000 1.8 +++ index-en.gtml 9 Apr 2005 18:17:33 -0000 1.9 @@ -84,43 +84,22 @@ similar in MockObjects but I guess EasyMock is easier to use and certainly was easier to port to C++. </p> - <p> - From my personal experience mockpp is now running on - <ul> - <li>Linux (SuSE 8.2) + gcc 3.3</li> - <li>OpenBsd 3.1 + gcc 2.95.3 (verified up to version 1.1.16)</li> - <li>Windows (ME, NT) + Borland CBuilder 5</li> - </ul> - Since OpenBSD is a working platform I assume that other *BSD - flavours work fine as well. - </p> - - <p> - From bug reports I know that the following combinations work fine, too: - <ul> - <li>Windows + MSVC6 / MSVC7 (at least MSVC6 can't compile version 1.2.x)</li> - </ul> - </p> + <h2><a name="example"></a>How to use this library</h2> <p> - The following combination had problems but I expect it to work now: - <ul> - <li>HP-UX 11 + g++ 3.2 (version 1.1.16)</li> - </ul> + Note: the following sections describe only the basic elements within mockpp. There are also + a <a href="handbook/index.html">handbook</a>, + an <a href="api-doc/index.html">api reference</a> + and a <a href="tutorial/index.html">tutorial</a> + available which explain the various parts of mockpp. </p> <p> - Reports about other working platforms or even contributions how to achive it are - highly welcome. - </p> - - - <h2><a name="example"></a>How to use this library</h2> - Mockpp contains a number of classes, templates and macros which I divide into <a href="#basic"><em>Basic Expectations</em></a> and <a href="#advanced"><em>Advanced Expectations</em></a>. + </p> <h3><a name="basic">Basic expectations</h3> @@ -203,7 +182,7 @@ </p> <p>For more information please refer to the - <a href="hb/ch01s02.html">basic section</a> + <a href="handbook/ch01s02.html">basic section</a> of the developers guide.</p> </p> @@ -213,7 +192,7 @@ mockpp currently supports two different approaches to create mock objects. The first is easier to understand but rather strict. The second is more complex but offers more flexibiliy and is extensible with user defined classes. But this is also a matter of personal taste. - There is a chapter which introduces into the <a href="hb/ch01s03.html">common characteristics</a>. + There is a chapter which introduces into the <a href="handbook/ch01s03.html">common characteristics</a>. <h4><a name="advanced-visit">Vistable Mock Objects</h4> <p> @@ -290,7 +269,7 @@ #compress ON <p>For more information please refer to the - section about <a href="hb/ch01s03s02.html">vistable mock objects</a> + section about <a href="handbook/ch01s03s02.html">vistable mock objects</a> in the developers guide.</p> </p> @@ -300,14 +279,14 @@ similar to describing it in words. You may say for example: <ul> - <li>I <emphasis>expect</emphasis> some method invocation exactly - <emphasis>once</emphasis></li> - <li>This must happen <emphasis>after</emphasis> another invocation + <li>I <b>expect</b> some method invocation exactly + <b>once</b></li> + <li>This must happen <b>after</b> another invocation labeled "other-ident"</li> - <li>The method must be called <emphasis>with</emphasis> a value - <emphasis>equal</emphasis> to 321</li> - <li>Then the method <emphasis>will</emphasis> return 123</li> - <li>This invocation has an <emphasis>identifier</emphasis> called "ident"</li> + <li>The method must be called <b>with</b> with a value + which <b>is equal</b> to 321</li> + <li>Then the method <b>will</b> return 123</li> + <li>This invocation has an <b>id</b>entifier called "ident"</li> </ul> </p> @@ -332,14 +311,14 @@ <p>Similar to the former approach you must create a helper object to express your expectations. This is further explained in the section about - <a href="hb/ch01s03s03.html">chainable mock objects</a> in the handbook. + <a href="handbook/ch01s03s03.html">chainable mock objects</a> in the handbook. </p> <h4><a name="advanced-poor">Poor Man's Mock Objects</h4> <p> Most of the times you don't need a full blown mock objects library. Often some simple lines of code with a quick and dirty approach suffice. For that reason the handbook contains - some <a href="hb/ch01s03s03.html">simple mock object patterns</a> that don't need further + some <a href="handbook/ch01s03s04.html">simple mock object patterns</a> that don't need further support from a library.</p> <p>If you know some other patterns I would be happy if could send them to Index: install-en.gtml =================================================================== RCS file: /cvsroot/mockpp/homepage/install-en.gtml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- install-en.gtml 3 Dec 2004 20:26:07 -0000 1.3 +++ install-en.gtml 9 Apr 2005 18:17:33 -0000 1.4 @@ -96,13 +96,57 @@ <p> Since mockpp uses automake and friends you should not need to do more than - running "configure" and "make install". + running "configure" and "make install". If you are using a non-GNU platform + you should searchin the topmost directory of the source distribution + if project files for your platform are available. + </p> + <p>You you don't find them and you decide to create yourself, please send them + to <a href="mailto:mockpp at ewald-arnold dot de">me</a>. </p> <p>For more information please refer to the -<a href="hb/apas03.html">installation section</a> +<a href="handbook/apas03.html">installation section</a> of the devlopers guide.</p> + <h2><a NAME="compat"></a>Compatibility</h2> + + <p> + From my personal experience mockpp 1.7.1 is running perfectly on + <ul> + <li>Linux (SuSE 8.2) + gcc 3.4</li> + <li>Linux (SuSE 9.2) + gcc 3.3</li> + <li>OpenBsd 3.1 + gcc 2.95.3</li> + <li>Windows (ME, NT) + Borland CBuilder 5</li> + </ul> + Since OpenBSD is a working platform I assume that other *BSD + and *nix flavours work fine as well. + </p> + + <p> + From reports and little personal experience I know that the following + combinations work more or less fine, too: + <ul> + <li>Windows + MSVC6 up to mockpp 1.1.16.</li> + <li>Windows + MSVC7.1. Please note that MSVC6.0 compiles + the library itself but fails on a lot of test files. This is + due to its weak support for templates. The state of MSVC7.0 seems similar. + </li> + <li>Windows + Borland CBuilder6. Use the project files under bcb5 and + tweak them a bit (e.g. add stlport.lib or similar).</li> + </ul> + </p> + + <p> + The following combination had problems but I expect it to work now: + <ul> + <li>HP-UX 11 + g++ 3.2 (version 1.1.16)</li> + </ul> + </p> + + <p> + Reports about other working platforms or even contributions how to achive it are + highly welcome. + </p> [[MULTICOL_FOOTER]] Index: general-box-en.gtml =================================================================== RCS file: /cvsroot/mockpp/homepage/general-box-en.gtml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- general-box-en.gtml 30 Jun 2004 16:51:43 -0000 1.3 +++ general-box-en.gtml 9 Apr 2005 18:17:33 -0000 1.4 @@ -6,12 +6,15 @@ [[NAVI_BOX_ENTRY('<a href="index-en.html#example">How to use this library</a>')]] [[NAVI_BOX_SEPARATOR]] - [[NAVI_BOX_ENTRY('<a href="hb/index.html">The Handbook</a>')]] - [[NAVI_BOX_ENTRY('<a href="api/index.html">The API Reference</a>')]] + [[NAVI_BOX_ENTRY('<a href="handbook/index.html">The Handbook</a>')]] + [[NAVI_BOX_ENTRY('<a href="handbook/ch02.html">FnAQ</a>')]] + [[NAVI_BOX_ENTRY('<a href="tutorial/index.html">A Tutorial</a>')]] + [[NAVI_BOX_ENTRY('<a href="api-doc/index.html">The API Reference</a>')]] [[NAVI_BOX_SEPARATOR]] [[NAVI_BOX_ENTRY('<a href="install-en.html#download">Download</a>')]] [[NAVI_BOX_ENTRY('<a href="install-en.html#install">Installation</a>')]] + [[NAVI_BOX_ENTRY('<a href="install-en.html#compat">Compatibility</a>')]] [[NAVI_BOX_SEPARATOR]] [[NAVI_BOX_ENTRY('<img src="common-pics/errata.png" width="16" height="16"><a href="errata-en.html"><b>Known problems</b></a>')]] |