Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s specifics
in mind, Google C++ Mocking Framework (or Google Mock for short) is a library
for writing and using C++ mock classes. Google Mock:
* lets you create mock classes trivially using simple macros,
* supports a rich set of matchers and actions,
* handles unordered, partially ordered, or completely ordered expectations,
* is extensible by users, and
* works on Linux, Windows, and Mac OS X.
WWW: https://github.com/google/googlemock
===> The following configuration options are available for googlemock-1.10.0:
TEST=off: Build and/or run tests
===> Use 'make config' to modify these settings
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
devel/google{test,mock}: simplify and modernize
- Convert to the new testing framework
- Add upstream fix for gmock_doctor.py to work with python3, so
keep existing |/usr/bin/env python| shebang
- Drop fused-src tests as the ports don't install source files
- No need to shebangfix files we don't install
- Provide LICENSE_FILE as there's none under Templates/Licenses/
- Sort declarations by the order they're run (ldconfig is last)
- Silence post-patch commands [1]
PR: 203514
Submitted by: amdmi3 [1]
Reviewed by: amdmi3 (previous version)
devel/googlemock, devel/googletest: Upgrade version 1.5 => 1.7
As part of the upgrade process:
- copy shebangfix and regression-test from googletest to googlemock
- convert regression-test to TEST option for better integration with
poudriere and visibility for users
- make sure configure detects python2 to follow shebangfix
- add LICENSE=BSD3CLAUSE (idea from comment 0)
- strip libs per stage-qa
- enable pthreads by default in devel/googletest
- enable death tests in devel/googletest
- enable socket streaming in devel/googletest
- implement GetThreadCount for death tests in devel/googletest
- disable streaming tests that fail with old gcc on 9.x in googletest
- depend on googletest in googlemock as -lgmock fails otherwise [1]
- pass maintainership to the persistent submitter [2]
PR: 187562
PR: 192736 [2]
PR: 192042 [1]
Approved by: maintainer timeout (~8 months)
Submitted by: rakuco [1]
Submitted by: Jan Beich <jbeich@vfemail.net> [2]
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories D-F.
CR: D196
Approved by: portmgr (bapt)