- 24 Aug, 2020 1 commit
-
-
Abseil Team authored
Fix DoAll to work with move-only sink arguments. This changes types of the first n - 1 actions so that they only get a readonly view of the arguments. The last action will accept move only objects. PiperOrigin-RevId: 327031893
-
- 12 Aug, 2020 1 commit
-
-
Abseil Team authored
internal change PiperOrigin-RevId: 326080000
-
- 07 Aug, 2020 2 commits
-
-
Abseil Team authored
Fix DoAll to work with move-only sink arguments. This changes types of the first n - 1 actions so that they only get a readonly view of the arguments. The last action will accept move only objects. PiperOrigin-RevId: 324619666
-
Abseil Team authored
Fix DoAll to work with move-only sink arguments. This changes types of the first n - 1 actions so that they only get a readonly view of the arguments. The last action will accept move only objects. PiperOrigin-RevId: 324600664
-
- 28 Jul, 2020 2 commits
-
-
Abseil Team authored
Internal documentation change. PiperOrigin-RevId: 323612305
-
ofats authored
Stop using ADL for InvokeArgument action. PiperOrigin-RevId: 323234396
-
- 09 Jul, 2020 1 commit
-
-
ofats authored
Replace ByRef with std::ref everywhere in docs. PiperOrigin-RevId: 320002303
-
- 26 Jun, 2020 1 commit
-
-
Abseil Team authored
Normalize headers in gMock docs Increasing Header levels on two pages, to better match other pages in the same directory. PiperOrigin-RevId: 318280892
-
- 15 Jun, 2020 1 commit
-
-
Abseil Team authored
gMock Cookbook: Fix incorrect comment about EXPECT priority order It's actually the last matching expectation that's used, not the first. PiperOrigin-RevId: 316490770
-
- 05 Jun, 2020 1 commit
-
-
Abseil Team authored
gMock Cookbook: Slight rewording Remove "I" because documentation can have multiple authors. And remove unnecessary "guy". PiperOrigin-RevId: 314533746
-
- 03 Jun, 2020 1 commit
-
-
Abseil Team authored
Note that EXPECT_EQ(actual_value, expected_value) or EXPECT_THAT(actual_value, Eq(expected_value)) is preferred over EXPECT_THAT(actual_value, expected_value). PiperOrigin-RevId: 314350852
-
- 28 May, 2020 1 commit
-
-
Abseil Team authored
Spell out namespace for absl::Notification. PiperOrigin-RevId: 312300192
-
- 13 May, 2020 1 commit
-
-
Abseil Team authored
Addresses https://github.com/google/googletest/pull/2784 PiperOrigin-RevId: 310902202
-
- 01 May, 2020 2 commits
-
-
Abseil Team authored
Fix link to "high-perf dependency injection technique". PiperOrigin-RevId: 308893893
-
Abseil Team authored
internal change PiperOrigin-RevId: 308648034
-
- 16 Apr, 2020 1 commit
-
-
Abseil Team authored
Fix link to "After clause". Sorry, reader, but this heading is in another document! PiperOrigin-RevId: 305947971
-
- 21 Mar, 2020 1 commit
-
-
Abseil Team authored
Internal change PiperOrigin-RevId: 302048013
-
- 17 Mar, 2020 1 commit
-
-
Abseil Team authored
Remove public buganizer reference from googletest cookbook. It also seems that this bug is obsolete. PiperOrigin-RevId: 298598298
-
- 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
-
- 07 Feb, 2020 1 commit
-
-
Abseil Team authored
...text exposed to GitHub repo https://www.github.com/google/googletest PiperOrigin-RevId: 293438092
-
- 02 Jan, 2020 1 commit
-
-
Abseil Team authored
Fix typo in example. PiperOrigin-RevId: 287212448
-
- 16 Dec, 2019 1 commit
-
-
krzysio authored
Don't use fully qualified ::std types in code examples. Having a nested user-defined 'std' namespace anywhere in a program is a minefield and shouldn't be either explicitly supported or implicitly condoned. PiperOrigin-RevId: 285790182
-
- 02 Dec, 2019 1 commit
-
-
Abseil Team authored
Clarify use of IsTrue and IsFalse matchers. These matchers are subtle and confusing: what are they for? The docs in the code are clear, but not very accessible. googletest/googlemock/include/gmock/gmock-more-matchers.h PiperOrigin-RevId: 283393275
-
- 20 Nov, 2019 1 commit
-
-
Abseil Team authored
Add a breadcrumb about nullopt comparison near the Optional() matcher. Also add a note about how otherwise-spurious 'Eq()' may be needed in some cases. Without this, something like Field(&MyStruct::optional_field_without_equals_equals, absl::nullopt) doesn't work - it converts the nullopt to an optional<> of the non-equalable type, and fails to select the operator==(optional<>, nullopt_t) overload. The Eq() lets the type persist later into the match. PiperOrigin-RevId: 281305519
-
- 02 Nov, 2019 1 commit
-
-
Krystian Kuzniarek authored
-
- 29 Oct, 2019 1 commit
-
-
Abseil Team authored
Remove badly formatted suggestion in gmock cheat sheet. PiperOrigin-RevId: 277060475
-
- 25 Oct, 2019 1 commit
-
-
Krystian Kuzniarek authored
-
- 23 Oct, 2019 1 commit
-
-
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
-
- 22 Oct, 2019 1 commit
-
-
Abseil Team authored
Rolling forward IsNan() matcher with fixes in test for -Wconversion issues. Use std::nanf and std::nanl where appropriate. PiperOrigin-RevId: 275523003
-
- 18 Oct, 2019 1 commit
-
-
misterg authored
Added IsNan matcher PiperOrigin-RevId: 275473218
-
- 17 Oct, 2019 1 commit
-
-
Abseil Team authored
Added IsNan matcher PiperOrigin-RevId: 275278634
-
- 01 Oct, 2019 1 commit
-
-
hyuk.myeong authored
-
- 27 Sep, 2019 2 commits
-
-
Abseil Team authored
Updates headings. PiperOrigin-RevId: 271148974
-
Abseil Team authored
Remove unnecessary full qualifications from std types. PiperOrigin-RevId: 270101485
-
- 23 Sep, 2019 1 commit
-
-
Krystian Kuzniarek authored
-
- 09 Sep, 2019 3 commits
-
-
Abseil Team authored
Move IsFalse/IsTrue to a more appropriate section in the gmock matchers cheat sheet. I'm assuming their current placement within the "Container Matchers" list is a mistake -- they don't seem to be container related and would fit well with other generic matchers. PiperOrigin-RevId: 268016027
-
Abseil Team authored
...text exposed to GitHub repo https://www.github.com/google/googletest PiperOrigin-RevId: 267654546
-
Abseil Team authored
...text exposed to GitHub repo https://www.github.com/google/googletest PiperOrigin-RevId: 267617889
-
- 21 Aug, 2019 1 commit
-
-
Abseil Team authored
Update broken links. PiperOrigin-RevId: 264405918
-
- 20 Aug, 2019 1 commit
-
-
Krystian Kuzniarek authored
Due to confusion arisen from "iff" standing for "if and only if", this commit uses the latter.
-