devel/googletest 1.14.0_1 MidnightBSD
Framework for writing C++ tests on a variety of platforms
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd3
- Categories
- devel
Description
GoogleTest is based on the xUnit architecture. Supports automatic test discovery, a rich set of assertions, user-defined assertions, death tests, fatal and non-fatal failures, type-parameterized tests, various options for running the tests, and XML test report generation.
GoogleMock is 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.
In the other systems
The newest version among them is 1.18.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/googletest | 1.14.0_1 behind since 2026-08-16 | no data | - | [email protected] | - |
| FreeBSD | devel/googletest | 1.16.0 behind since 2026-08-16 | none known | - | [email protected] | - |
| NetBSD | devel/googletest | 1.18.0 newest | none known | - | [email protected] | 2026-08-16 |
| DragonFly | devel/googletest | 1.16.0 behind since 2026-08-16 | none known | - | [email protected] | - |
| HardenedBSD | devel/googletest | 1.16.0 behind since 2026-08-16 | no data | - | [email protected] | - |
| GhostBSD | devel/googletest | 1.16.0 behind since 2026-08-16 | no data | - | [email protected] | - |
Install
Binary package:
mport install googletest
From mports:
cd /usr/mports/devel/googletest && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= googletest>0:devel/googletest
LIB_DEPENDS= libgmock.so:devel/googletest
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Configuration
No options to configure.
- USES
- cmake:testing compiler:c++14-lang python:test
- Service scripts
- none
Files
pkg-plist 56
- include/gmock/gmock-actions.h
- include/gmock/gmock-cardinalities.h
- include/gmock/gmock-function-mocker.h
- include/gmock/gmock-matchers.h
- include/gmock/gmock-more-actions.h
- include/gmock/gmock-more-matchers.h
- include/gmock/gmock-nice-strict.h
- include/gmock/gmock-spec-builders.h
- include/gmock/gmock.h
- include/gmock/internal/custom/README.md
- include/gmock/internal/custom/gmock-generated-actions.h
- include/gmock/internal/custom/gmock-matchers.h
- include/gmock/internal/custom/gmock-port.h
- include/gmock/internal/gmock-internal-utils.h
- include/gmock/internal/gmock-port.h
- include/gmock/internal/gmock-pp.h
- include/gtest/gtest-assertion-result.h
- include/gtest/gtest-death-test.h
- include/gtest/gtest-matchers.h
- include/gtest/gtest-message.h
- include/gtest/gtest-param-test.h
- include/gtest/gtest-printers.h
- include/gtest/gtest-spi.h
- include/gtest/gtest-test-part.h
- include/gtest/gtest-typed-test.h
- include/gtest/gtest.h
- include/gtest/gtest_pred_impl.h
- include/gtest/gtest_prod.h
- include/gtest/internal/custom/README.md
- include/gtest/internal/custom/gtest-port.h
- include/gtest/internal/custom/gtest-printers.h
- include/gtest/internal/custom/gtest.h
- include/gtest/internal/gtest-death-test-internal.h
- include/gtest/internal/gtest-filepath.h
- include/gtest/internal/gtest-internal.h
- include/gtest/internal/gtest-param-util.h
- include/gtest/internal/gtest-port-arch.h
- include/gtest/internal/gtest-port.h
- include/gtest/internal/gtest-string.h
- include/gtest/internal/gtest-type-util.h
- lib/cmake/GTest/GTestConfig.cmake
- lib/cmake/GTest/GTestConfigVersion.cmake
- lib/cmake/GTest/GTestTargets-.cmake
- lib/cmake/GTest/GTestTargets.cmake
- lib/libgmock.so
- lib/libgmock.so.
- lib/libgmock_main.so
- lib/libgmock_main.so.
- lib/libgtest.so
- lib/libgtest.so.
- lib/libgtest_main.so
- lib/libgtest_main.so.
- libdata/pkgconfig/gmock.pc
- libdata/pkgconfig/gmock_main.pc
- libdata/pkgconfig/gtest.pc
- libdata/pkgconfig/gtest_main.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| google-googletest-v1.14.0_GH0.tar.gz | 867764 | 8ad598c73ad796e0d8280b082cebd82a630d73e73cd3c70057938a6501bba5d7 |