Skip to content

Export Test - Do Not Merge#2697

Closed
suertreus wants to merge 13 commits intomasterfrom
77A9B20B4C1E02FAC90D1D942E1D4C18
Closed

Export Test - Do Not Merge#2697
suertreus wants to merge 13 commits intomasterfrom
77A9B20B4C1E02FAC90D1D942E1D4C18

Conversation

@suertreus
Copy link
Copy Markdown
Contributor

Export Test - Do Not Merge

Add missing explicit keyword for gmock_Impl constructor.

When switching to using GMOCK_PP in ACTION* macroses explicit keyword was
missed in gmock_Impl constructor causing ClangTidy warnings in ACTION_P macro.

Add missing explicit keyword for gmock_Impl constructor.

When switching to using GMOCK_PP in ACTION* macroses `explicit` keyword was
missed in gmock_Impl constructor causing ClangTidy warnings in ACTION_P macro.

PiperOrigin-RevId: 291159975
@suertreus suertreus force-pushed the 77A9B20B4C1E02FAC90D1D942E1D4C18 branch from 7aab8aa to 58ad760 Compare February 5, 2020 23:27
Abseil Team added 12 commits February 5, 2020 18:27
Deleted an orphaned duplicate file and exclude another that shouldn't be part of :gtest_all_test.

This showed up while trying to debug the presubmit failure for: #2683

PiperOrigin-RevId: 291398123
Move part of functionality of Matcher* class to the base one. Reduce copypaste.

Make constructor and conversion operator of Matcher* class independent of pump.

PiperOrigin-RevId: 291405510
Adds missing `#define` guard around `TEST_F(...)`

PiperOrigin-RevId: 291703056
Create implementation macroses for matchers to move variadic parameters to the
end of parameters list.

To save backward compatibility, old macroses will be still taking `description`
parameter as the last one. But they will use INTERNAL macro that takes
`description` as the second parameter.

PiperOrigin-RevId: 291724469
Add includes for type_traits and utility to gmock-function-mocker.h: macros in the file require these headers.

PiperOrigin-RevId: 291782497
Add documentation for ASSERT_DEBUG_DEATH/EXPECT_DEBUG_DEATH

PiperOrigin-RevId: 292138974
Fix use of reserved names.
Minimize code duplication needed for explict-vs-nonexplicit constructor.

PiperOrigin-RevId: 292555014
Disable warning C4800 for Visual Studio 2019.

The compiler warning C4800 is disabled by default in Visual Studio 2019,
but it can be enabled on the command line. The only version of
Visual Studio that does not support warning C4800 is Visual Studio 2017.

PiperOrigin-RevId: 292624510
Fix std::move to std::forward where appropriate to support reference types.

PiperOrigin-RevId: 292923058
Pass method's parameters count to internal GMOCK_METHOD* macro.

This will help removing copypaste in every GMOCK_METHOD* macro in future.

PiperOrigin-RevId: 292932554
...text exposed to GitHub repo https://www.github.com/google/googletest

PiperOrigin-RevId: 293438092
Get rid of gmock-generated-function-mockers.h and
gmock-generated-function-mockers.h.pump.

Stop using pump for GMOCK_METHOD* macroses generation.

PiperOrigin-RevId: 293454519
@suertreus suertreus closed this Feb 6, 2020
suertreus added a commit that referenced this pull request Feb 6, 2020
Tag the function generated by MATCHER with GTEST_ATTRIBUTE_UNUSED_ to fix CI builds of gmock-matchers_test.cc vs. -Wunused-function.

See #2697 for breakage.

PiperOrigin-RevId: 293669752
suertreus added a commit that referenced this pull request Feb 7, 2020
Tag the function generated by MATCHER with GTEST_ATTRIBUTE_UNUSED_ to fix CI builds of gmock-matchers_test.cc vs. -Wunused-function.

See #2697 for breakage.

PiperOrigin-RevId: 293669752
suertreus added a commit that referenced this pull request Feb 7, 2020
Tag the function generated by MATCHER with GTEST_ATTRIBUTE_UNUSED_ to fix CI builds of gmock-matchers_test.cc vs. -Wunused-function.

See #2697 for breakage.

PiperOrigin-RevId: 293669752
openvela-robot pushed a commit to open-vela/external_googletest that referenced this pull request Jul 23, 2025
Tag the function generated by MATCHER with GTEST_ATTRIBUTE_UNUSED_ to fix CI builds of gmock-matchers_test.cc vs. -Wunused-function.

See google/googletest#2697 for breakage.

PiperOrigin-RevId: 293669752
liujinye-sys pushed a commit to open-vela/external_googletest that referenced this pull request Dec 16, 2025
Tag the function generated by MATCHER with GTEST_ATTRIBUTE_UNUSED_ to fix CI builds of gmock-matchers_test.cc vs. -Wunused-function.

See google/googletest#2697 for breakage.

PiperOrigin-RevId: 293669752
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants