Skip to content

Commit 3509505

Browse files
author
Arnd R. Strube
committed
Change /(3.8)/(v3.8)/
1 parent 40798b6 commit 3509505

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

manual.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ The test execution of this will *likely* (no guarantee of order in CppUTest) be:
246246
* *-sg group* only run test whose group exactly matches the string *group*
247247
* *-sn name* only run test whose name exactly matches the string *name*
248248
* *-v* verbose, print each test name as it runs
249-
* *-xg group* exclude tests whose group contains the substring *group* (3.8)
250-
* *-xn name* exclude tests whose name contains the substring *name* (3.8)
249+
* *-xg group* exclude tests whose group contains the substring *group* (v3.8)
250+
* *-xn name* exclude tests whose name contains the substring *name* (v3.8)
251251
* *"TEST(group, name)"* only run test whose group and name matches the strings group and name. This can be used to copy-paste output from the -v option on the command line.
252252

253253
You can specify multiple -s|sg, -s|sn and "TEST(group, name)" parameters:
@@ -391,7 +391,7 @@ Test plugins let you add a pre-action and a post-action to each test case. Plug
391391

392392
* Memory leak detector (provided)
393393
* Pointer restore mechanism (provided) - helpful when tests overwrite a pointer that must be restored to its original value after the test. This is especially helpful when a pointer to a function is modified for test purposes.
394-
* IEEE754 Floating point exceptions (provided; 3.8) - automatically checks whether any floating point exception flags are set at the end of every test and if so, fails the test.
394+
* IEEE754 Floating point exceptions (provided; v3.8) - automatically checks whether any floating point exception flags are set at the end of every test and if so, fails the test.
395395
* All Mutex's released - you could write a plugin that checks that any Mutexs or other shared resource is released before the test exits.
396396

397397
Complete Documentation for provided plugins can be found on the [Plugins Manual](plugins_manual.html) page.

mocking_manual.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ mock().expectOneCall("Foo").withOutputParameterReturning("bar", &doubleOutputVal
299299

300300
### Output Parameters Using Objects
301301

302-
By far the best way to handle output parameters is by using a custom type copier (3.8). The general principle is similar to the custom comparators described above:
302+
By far the best way to handle output parameters is by using a custom type copier (v3.8). The general principle is similar to the custom comparators described above:
303303

304304
{% highlight c++ %}
305305
MyType outputValue = 4;
@@ -532,14 +532,14 @@ mock_c()->clear();
532532

533533
The C interface uses a similar builder structure as the C++ interface. It is far less common in C, but it works the same.
534534

535-
It is now also possible to specify the actual return value in the same way as with C++ (3.8):
535+
It is now also possible to specify the actual return value in the same way as with C++ (v3.8):
536536

537537
{% highlight c++ %}
538538
return mock_c()->actualCall("foo")->withIntParameters("integer", 10)->doubleReturnValue();
539539
return mock_c()->doubleReturnValue();
540540
{% endhighlight %}
541541

542-
and to specify a default return value, in case mocking is currently disabled when the actual call occurs (3.8):
542+
and to specify a default return value, in case mocking is currently disabled when the actual call occurs (v3.8):
543543

544544
{% highlight c++ %}
545545
return mock_c()->actualCall("foo")->withIntParameters("integer", 10)->returnDoubleValueOrDefault(2.25);

plugin_manual.markdown

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ This plugin detects floating point error conditions and fails the test, if any w
120120
This is a list of floating point error conditions, and how they are supported by the plugin:
121121

122122
{% highlight c++ %}
123-
FE_DIVBYZERO /* supported (3.8) */
124-
FE_OVERFLOW /* supported (3.8) */
125-
FE_UNDERFLOW /* supported (3.8) */
126-
FE_INVALID /* supported (3.8) */
127-
FE_INEXACT /* supported; disabled by default (3.8) */
128-
FE_DENORMAL /* NOT supported (3.8) */
123+
FE_DIVBYZERO /* supported (v3.8) */
124+
FE_OVERFLOW /* supported (v3.8) */
125+
FE_UNDERFLOW /* supported (v3.8) */
126+
FE_INVALID /* supported (v3.8) */
127+
FE_INEXACT /* supported; disabled by default (v3.8) */
128+
FE_DENORMAL /* NOT supported (v3.8) */
129129
{% endhighlight %}
130130

131131
You can turn on FE_INEXACT checking manually, although this probably won't be very useful most of the time, since almost every floating-point operation is likely to set this flag:

0 commit comments

Comments
 (0)