Subject: CVS commit: pkgsrc/devel/googletest
From: Thomas Klausner
Date: 2021-06-28 11:07:53
Message id: 20210628090753.B83CBFA95@cvs.NetBSD.org

Log Message:
googletest: update to 1.11.0.

Release Notes

Documentation

    Contents significantly updated
    Files moved into docs (4892835)
    Now using GitHub pages (1a5a78b, d9c309f, c3fc92f)
    Added Bazel quickstart (32ad3c8)
    Added CMake quickstart (d4e3b8c)

Mocking

    MOCK_METHOD now handles noexcept correctly (#2498)
    MOCK_METHOD now supports ref-qualifiers (d89b363)
    MOCK_METHOD now supports returning function pointers (1f9edcd)
    DoAll now accepts move-only arguments (48ec640)
    MockFunction can now be used for mocking std::function (#2350)
    MockFunction is now templated for use with other function classes, besides \ 
std::function (662fe38)
    ACTION macros now support more than 10 arguments (63713e1)

Matchers

    New matchers
        IsNan (bbe4b73)
        FieldsAre (a462188)
        Pointer (a02a591)
        Address (e5644f5)
        Throws and ThrowsMessage (#2904)
    New actions
        ReturnRoundRobin (37f3227)
    Added Matcher<std::string_view> specialization that internally stores \ 
a string instead of string_view (6f5fd0d)
    String matchers now accept string_view input (13a433a)
    DoubleNearPredFormat matcher now fails on impractically small epsilons (b5687db)
    Truly matcher now explains failures (0c400f6)
    Matchers can now be implemented without extending MatcherInterface (c13c27a)
    Added output messages for skipped tests (#2517, #2767)

Behavior

    New flags
        --gtest_brief shows only test failures in output (#2751)
        --gtest_fail_fast stops test execution on first failure (1ced315)
    Failures in SetUpTestSuite and TearDownTestSuite now cause tests to fail \ 
rather than log (9ed99c6)
    Uninstantiated TEST_P and TYPED_TEST_P now fail unless allowlisted using \ 
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST (d442089, a13a062, 0b024bd, \ 
3e79d36, ec94d9f)

Output

    Added specialized printing for std::any, std::optional, and std::variant (#2742)
    Added recursive printing for std::unique_ptr and std::shared_ptr (6b2e749)
    Printing incomplete types is now supported (f8304d7)
    Start timestamps in XML/JSON output now use millisecond precision (af1e75c)
    Added more structured information about test suite to XML/JSON output on \ 
environment failures (ac1d60c)

Build & Test

    CMake minimum increased to 2.8.12 (#3094)
    GoogleTest is now using Kokoro CI instead of Travis and AppVeyor

Misc

    Removed support for GTEST_HAS_STD_STRING (#2456)
    Replaced pump code generation with variadic templates (#2388, d8eeb97, \ 
4b9c169, fbf67a7, 41b5f14, 710f9c1, 997c36c, 59dea67)

Files:
RevisionActionfile
1.11modifypkgsrc/devel/googletest/distinfo
1.8modifypkgsrc/devel/googletest/PLIST
1.20modifypkgsrc/devel/googletest/Makefile