- 28 Feb, 2020 1 commit
-
-
Abseil Team authored
Allow construction of an Action from a callable of zero args Action already allows construction from a callable with the same args as the mocked function, without needing to wrap the callable in Invoke. However, if you don't care about the arguments to the mocked function you need to either accept all of them or wrap your callable in InvokeWithoutArgs. This change makes both of those unnecessary, since it allows you to pass a no-args callable to Action directly. PiperOrigin-RevId: 296117034
-
- 22 Nov, 2019 1 commit
-
-
Abseil Team authored
Use standard C++11 integer types in gtest-port.h. Remove testing::internal::{Int,Uint}{32,64} in favor of types guaranteed to be in <cstdint> since C++11. Tests for built-in integer type coverage are switched from {Int,Uint}64 to [unsigned] long long, which is guaranteed by C++11 to exist and be at least 64-bit wide. PiperOrigin-RevId: 281565263
-
- 25 Oct, 2019 2 commits
-
-
Piotr Nycz authored
Issue 2527
-
Piotr Nycz authored
Issue 2527
-
- 24 Oct, 2019 1 commit
-
-
Piotr Nycz authored
Issue 2527
-
- 23 Oct, 2019 2 commits
-
-
Abseil Team authored
Add a matcher `testing::ReturnRoundRobin` which, on each call, returns the next element in the sequence, restarting at the beginning once it has reached the end. PiperOrigin-RevId: 276312136
-
Piotr Nycz authored
Issue 2471
-
- 22 Oct, 2019 1 commit
-
-
Piotr Nycz authored
Issue no 2527
-
- 15 Aug, 2019 1 commit
-
-
Abseil Team authored
Remove legacy support for signed wchar_t and unsigned wchar_t. Clang now errors out on these types as well by default. Rather than making the condition for these types even more complicated, just remove the tests covering these types since they don't seem to justify the maintenance burden. We can reasonably expect these types to work in compilers that support them without needing specific tests for them since they are treated as standard integral types. PiperOrigin-RevId: 263577673
-
- 01 Apr, 2019 1 commit
-
-
Abseil Team authored
Remove support for "global" ::string and ::wstring types. This support existed for legacy codebases that existed from before namespaces where a thing. It is no longer necessary. PiperOrigin-RevId: 241335738
-
- 17 Jan, 2019 1 commit
-
-
Abseil Team authored
Refactor the `Invoke` and `InvokeWithoutArgs` actions: - Replace pump'd classes and functions with templates. - Make the polymorphic actions be polymorphic functors instead. - Fix Invoke(Callback*) to work with subclasses of the callbacks, instead of trying to diagnose that in gmock_doctor. PiperOrigin-RevId: 229604112
-
- 14 Jan, 2019 1 commit
-
-
Abseil Team authored
Deduplicate testing::ReferenceWrapper with std::reference_wrapper. Minor cleanups in matchers_test. PiperOrigin-RevId: 229022872
-
- 02 Jan, 2019 2 commits
-
-
misterg authored
Internal Change PiperOrigin-RevId: 227575279
-
Abseil Team authored
Remove the #ifs for old, unsupported and buggy compilers: * old versions of GCC & MSVC * Symbian PiperOrigin-RevId: 227116941
-
- 20 Dec, 2018 1 commit
-
-
Abseil Team authored
Unifdef c++11-related macros from googletest now that it requires C++11. PiperOrigin-RevId: 225905601
-
- 03 Dec, 2018 1 commit
-
-
Abseil Team authored
Applied fixes for ClangTidy modernize-use-override and modernize-use-using. PiperOrigin-RevId: 223800219
-
- 20 Nov, 2018 3 commits
-
-
misterg authored
Fix broken OSS build PiperOrigin-RevId: 222244158
-
Abseil Team authored
Remove redundant Base/Derived types. PiperOrigin-RevId: 222243634
-
Abseil Team authored
Upgrade WithArgs family of actions to C++11. PiperOrigin-RevId: 221671690
-
- 10 Nov, 2018 1 commit
-
-
Robin Lindén authored
-
- 09 Oct, 2018 1 commit
-
-
Abseil Team authored
Remove all mention of TR1 tuple and our own implementation of tuple. PiperOrigin-RevId: 216395043
-
- 05 Oct, 2018 1 commit
-
-
Abseil Team authored
Now that googletest has moved to C++11, it should no longer use NULL or 0 for the null pointer. This patch converts all such usages to nullptr using clang-tidy. This prevents LLVM from issuing -Wzero-as-null-pointer-constant warnings. PiperOrigin-RevId: 215814400
-
- 14 Aug, 2018 2 commits
-
-
Gennadiy Civil authored
Comments changes, no functionality changes.
-
Gennadiy Civil authored
Comments changes, no functionality changes
-
- 07 Aug, 2018 1 commit
-
-
Gennadiy Civil authored
-
- 06 Aug, 2018 1 commit
-
-
Gennadiy Civil authored
-
- 18 Jul, 2018 1 commit
-
-
Gennadiy Civil authored
Code sync, mostly formatting and removing outdates
-
- 16 Apr, 2018 3 commits
-
-
Gennadiy Civil authored
merging, testing, this should be it
-
Gennadiy Civil authored
-
Gennadiy Civil authored
-
- 13 Apr, 2018 5 commits
-
-
Gennadiy Civil authored
more pizza
-
Gennadiy Civil authored
more OSX pizzas
-
Gennadiy Civil authored
osx pizzas
-
Gennadiy Civil authored
merging gmock actions test
-
Gennadiy Civil authored
merging, gmock actions test
-
- 10 Apr, 2018 2 commits
-
-
Gennadiy Civil authored
RE-Doing the merge, this time with gcc on mac in the PR so I can catch errors before merging the PR
-
Gennadiy Civil authored
-
- 09 Apr, 2018 3 commits
-
-
Gennadiy Civil authored
formatting
-
Gennadiy Civil authored
-
Gennadiy Civil authored
testing msvc again
-