Abseil Team
b3062166a1
Googletest export
...
Internal change
PiperOrigin-RevId: 405710296
2021-11-03 13:45:46 -04:00
dinord
075810f7a2
Merge pull request #3581 from cclauss:codespell
...
PiperOrigin-RevId: 400792845
2021-10-05 10:59:42 -04:00
Abseil Team
ab36804e42
Googletest export
...
Ensure `.what()` is printed in `ThrowsMessage(...)` to address https://github.com/google/googletest/issues/3582
Closes #3582
PiperOrigin-RevId: 399462851
2021-09-28 16:33:40 -04:00
Christian Clauss
ee1be03b43
Fix remaining typos discovered by codespell
2021-09-24 08:09:32 +02:00
dinord
e4717df71a
Merge pull request #3195 from Inujel:fix-3194
...
PiperOrigin-RevId: 398271948
2021-09-23 23:31:42 +00:00
dinord
319a9d19bc
Merge pull request #3574 from Vertexwahn:switch_to_native_cc_rules
...
PiperOrigin-RevId: 397995447
2021-09-23 23:31:25 +00:00
Abseil Team
de34ef4e4c
Internal change
...
PiperOrigin-RevId: 397651677
2021-09-23 23:31:03 +00:00
Vertexwahn
277e0a0168
Remove bazelbuild/rules_cc dependency
2021-09-17 10:04:26 +02:00
dmauro
8aa657ee39
Googletest export
...
Delete unsupported/deprecated scripts
PiperOrigin-RevId: 396847020
2021-09-15 13:34:06 -04:00
Abseil Team
314adcd40e
Googletest export
...
gmock-internal-utils.cc: Use `static_cast` instead of implicit conversion between signed and unsigned types
Fixes #3550
PiperOrigin-RevId: 396826071
2021-09-15 13:34:00 -04:00
dmauro
4ea61b9669
Googletest export
...
Rollback delete of unsupported/deprecated scripts
PiperOrigin-RevId: 396699187
2021-09-15 13:33:54 -04:00
dmauro
7ee2683007
Googletest export
...
Delete unsupported/deprecated scripts
PiperOrigin-RevId: 396685976
2021-09-15 13:33:48 -04:00
Abseil Team
6202251f09
Googletest export
...
Introduce GMOCK_FLAG_GET and GMOCK_FLAG_SET macros.
PiperOrigin-RevId: 396649214
2021-09-15 13:33:42 -04:00
Abseil Team
6204633979
Googletest export
...
Bump `cmake_minimum_required` to 3.5.
Delete conditional branches exclusive to older versions.
Notable dependents:
- github.com/grpc/grpc >= 3.5.1
- github.com/abseil/abseil-cpp >= 3.5
- github.com/googleapis/google-cloud-cpp >= 3.5
On the other hand, github.com/protocolbuffers/protobuf is >= 3.1.3, but it only depends on GoogleTest 1.10.
Fixes #3523
PiperOrigin-RevId: 392073834
2021-08-24 12:28:58 -04:00
Derek Mauro
0134d73a49
Merge pull request #3504 from duianto:patch-1
...
PiperOrigin-RevId: 390486428
2021-08-13 12:42:35 -04:00
Abseil Team
21514e0be7
Googletest export
...
Identify bad specs of the type (const something, ...).
PiperOrigin-RevId: 390346843
2021-08-13 12:42:17 -04:00
Abseil Team
aefb45469e
Internal change
...
PiperOrigin-RevId: 389163232
2021-08-06 15:28:29 -04:00
Abseil Team
652ec31f9f
Googletest export
...
Introduce a new matcher for unescaping Base-64 strings to gmock.
PiperOrigin-RevId: 388471904
2021-08-04 13:54:39 -04:00
duianto
97ff0fec11
Typo, double "the"
2021-07-29 20:32:48 +02:00
slowy07
2f3e2e39cc
fix: typo codespelling comment
2021-07-24 17:38:47 +07:00
Abseil Team
96f4ce02a3
Googletest export
...
Delete GOOGLETEST_CM.* tags from C++ code.
PiperOrigin-RevId: 386268534
2021-07-22 14:54:03 -04:00
Abseil Team
43cf52911a
Googletest export
...
Suppress a clang-tidy warning in the MATCHER(name, description) macro.
PiperOrigin-RevId: 383587271
2021-07-09 09:28:04 -04:00
Abseil Team
8306020a3e
Googletest export
...
Add `Conditional` wrapper to gtest
This follows an initial proposal for an 'EqIff` matcher. `Conditional` was considered more precise as an EqIff() matcher may suffer from `Iff` not being universally understood.
PiperOrigin-RevId: 383407665
2021-07-07 14:34:28 -04:00
Abseil Team
977cffc442
Googletest export
...
Introduce GTEST_FLAG_GET and GTEST_FLAG_SET macros.
PiperOrigin-RevId: 382808313
2021-07-07 14:34:19 -04:00
Abseil Team
4ec4cd23f4
Googletest export
...
Implement 'Contains(e).Times(n)' matcher modifier which allows to test for arbitrary occurrences including absence with Times(0).
PiperOrigin-RevId: 382210276
2021-06-30 13:33:57 -04:00
Manuel Binna
4281d2149c
Don't link pthread on QNX
...
On QNX, pthread is part of libc [1]. There's no separate pthread library
to link.
[1] https://www.qnx.com/developers/docs/7.1/index.html#com.qnx.doc.neutrino.lib_ref/topic/p/pthread_create.html
2021-06-26 13:26:20 +02:00
CJ Johnson
7153098229
Merge pull request #3429 from 1KoT1:master
...
PiperOrigin-RevId: 379625931
2021-06-17 12:52:27 -04:00
Vasilii Pochkaenko
5ef9f63a72
feat: make a matcher ElementsAreArray applicable for std ranges
2021-06-15 16:42:40 +07:00
dmauro
8ceecc27c7
Googletest export
...
Updates Linux docker image to use Bazel 4.1.0 and GCC 11.1
Updates Bazel dependencies
Removes the last usage of the deprecated and removed Python2
PiperOrigin-RevId: 375759184
2021-06-02 17:54:36 -04:00
Abseil Team
662fe38e44
Googletest export
...
Support templating MockFunction over function objects besides std::function.
PiperOrigin-RevId: 373586967
2021-05-13 15:08:57 -04:00
John Bampton
050b517518
chore: fix spelling
2021-04-15 11:53:53 +10:00
Abseil Team
c3fc92f0b7
Googletest export
...
Update docs to point to the github.io pages.
PiperOrigin-RevId: 367711335
2021-04-12 20:14:19 -07:00
Austin Sullivan
9c047902ac
Update nicestrictnaggy gmock cook_book links
...
An incorrect link is output to the user when these conditions are met.
2021-03-17 10:33:19 -04:00
Abseil Team
98ca420679
Googletest export
...
Internal change
PiperOrigin-RevId: 362040448
2021-03-16 09:50:49 -04:00
Abseil Team
861d535e25
Googletest export
...
Update READMEs and issue template
PiperOrigin-RevId: 361931644
2021-03-10 08:49:32 -08:00
Abseil Team
bf465ff05d
Internal change
...
PiperOrigin-RevId: 361213113
2021-03-09 10:59:19 -08:00
Abseil Team
e7e591764b
Googletest export
...
Format WORKSPACE and googlemock/test/BUILD.bazel using buildifier
PiperOrigin-RevId: 360913861
2021-03-04 12:07:39 -05:00
Abseil Team
5893778716
Googletest export
...
Update stale links to `gmock_cook_book.md`.
I'm a new googletest user and found these links broken when reading the documentation.
PiperOrigin-RevId: 357786392
2021-02-18 13:27:00 -05:00
Abseil Team
0a3a3a845e
Googletest export
...
Make include guards conform with https://google.github.io/styleguide/cppguide.html#The__define_Guard , attempt #2
PiperOrigin-RevId: 357056902
2021-02-18 13:26:24 -05:00
Abseil Team
eac6a02cc2
Googletest export
...
Mark move constructor noexcept
PiperOrigin-RevId: 356772642
2021-02-11 12:49:46 -05:00
Abseil Team
d4144d4ee2
Googletest export
...
Revert include guard fix
PiperOrigin-RevId: 356588893
2021-02-11 12:49:24 -05:00
Andy Soffer
e165773418
Merge pull request #3262 from platisd:master
...
PiperOrigin-RevId: 356568444
2021-02-11 12:49:08 -05:00
Abseil Team
9c2293af06
Googletest export
...
Fix build for MinGW + clang
In [1], empty_bases "is only supported when using the Microsoft C++ ABI." Disable it for MinGW.
https://clang.llvm.org/docs/AttributeReference.html#empty-bases
PiperOrigin-RevId: 356373782
2021-02-11 12:48:52 -05:00
Abseil Team
36b7792047
Googletest export
...
Make include guards conform with https://google.github.io/styleguide/cppguide.html#The__define_Guard
PiperOrigin-RevId: 355882793
2021-02-11 12:48:43 -05:00
platisd
46b188577b
Do not include void into mocked method arguments
...
If a function that takes no arguments explicitly states (void)
then do not include it in the mocked method argument list
since it triggers static assertions that expect no arguments
to be present.
Fixes (?) #3261
2021-02-05 21:30:10 +01:00
Abseil Team
f4e7727cf4
Googletest export
...
Fix includes in fuse_gmock_files.py
PiperOrigin-RevId: 355166403
2021-02-05 10:40:23 -08:00
Abseil Team
d114398800
Googletest export
...
Remove uses of GTEST_HAS_TYPED_TEST_P and GTEST_HAS_TYPED_TEST.
PiperOrigin-RevId: 353935996
2021-02-05 10:39:30 -08:00
ofats
59dea67b81
Googletest export
...
Remove scripts for code generating together with related files.
PiperOrigin-RevId: 352805926
2021-01-26 15:43:04 -05:00
Abseil Team
997c36c188
Googletest export
...
Stop using pump for generating internal/custom/gmock-generated-actions.h
PiperOrigin-RevId: 352660735
2021-01-26 15:42:55 -05:00
Abseil Team
2c06d021d6
Googletest export
...
Internal change
PiperOrigin-RevId: 352607401
2021-01-26 15:42:30 -05:00