2951 Commits

Author SHA1 Message Date
Gennadiy Civil
4083746e61 Merge pull request #2391 from adambadura:FixCygwin
PiperOrigin-RevId: 263574695
2019-08-15 17:34:27 -04:00
Gennadiy Civil
9b70406919 Merge pull request #2399 from kuzkry:custom-type-traits-is_same
PiperOrigin-RevId: 263568712
2019-08-15 17:34:18 -04:00
Gennadiy Civil
6aba4a5c45 Merge pull request #2382 from kuzkry:dead-metafunction
PiperOrigin-RevId: 263416977
2019-08-15 17:34:09 -04:00
Gennadiy Civil
c16f57053c Merge pull request #2386 from kuzkry:outdated-comment
PiperOrigin-RevId: 263400925
2019-08-15 17:34:01 -04:00
Abseil Team
a92e4a8e92 Googletest export
Internal changes

PiperOrigin-RevId: 262994110
2019-08-15 17:33:52 -04:00
Abseil Team
3835e15d72 Googletest export
Fix a link to the guide for creating custom matchers.

PiperOrigin-RevId: 262572684
2019-08-15 17:33:28 -04:00
Abseil Team
de38f63807 Googletest export
Internal change, documentation only.

PiperOrigin-RevId: 262554386
2019-08-15 17:33:20 -04:00
Krystian Kuzniarek
ec49fbca4c remove custom implementations of std::is_same 2019-08-14 14:00:44 +02:00
Adam Badura
6dbddd32b0 Use -Wa,-mbig-obj for Cygwin/MinGW always 2019-08-11 21:10:06 +02:00
Krystian Kuzniarek
871dcd1ff5 remove an outdated comment 2019-08-11 13:10:47 +02:00
Krystian Kuzniarek
d51cce4fc7 remove a dead metafunction 2019-08-08 00:36:31 +02:00
Gennadiy Civil
90a443f9c2 Merge pull request #2378 from kuzkry:markdown-table
PiperOrigin-RevId: 262135359
2019-08-07 11:57:30 -04:00
Abseil Team
f8f5fcab3b Googletest export
Fix broken links.

PiperOrigin-RevId: 262123510
2019-08-07 11:57:22 -04:00
Abseil Team
dd5402d9d4 Googletest export
Add general explanation of MOCK_METHOD, including list of supported qualifiers.

PiperOrigin-RevId: 262077180
2019-08-07 11:57:13 -04:00
Gennadiy Civil
79690c5375 Merge pull request #2372 from pitrou:issue2371-windows-crt-asserts
PiperOrigin-RevId: 262040609
2019-08-07 11:57:04 -04:00
Krystian Kuzniarek
6aa98d5cdc fix an improperly generated table 2019-08-07 00:38:37 +02:00
Gennadiy Civil
f64f7bd367 Merge pull request #2375 from kuzkry:broken-links
PiperOrigin-RevId: 261970482
2019-08-06 15:51:51 -04:00
CJ Johnson
07ec69a886 Merge pull request #2359 from kuzkry:superfluous-mutable
PiperOrigin-RevId: 261947085
2019-08-06 15:02:42 -04:00
Krystian Kuzniarek
d0cb77dcce fix broken links 2019-08-06 20:20:50 +02:00
Abseil Team
b4961ab1cb Googletest export
Fix broken link.

PiperOrigin-RevId: 261940226
2019-08-06 13:14:56 -04:00
Gennadiy Civil
2f499db00e Merge pull request #2111 from knuto:pr/remove_slash
PiperOrigin-RevId: 261906004
2019-08-06 13:14:49 -04:00
misterg
9f8c3934d5 Googletest export
Restore https://github.com/google/googletest/pull/2309 that got overwritten

PiperOrigin-RevId: 261759571
2019-08-06 13:14:39 -04:00
Antoine Pitrou
c39ee9c460 Fix #2371: Redirect Windows CRT assertions to stderr 2019-08-06 13:11:40 +02:00
misterg
11be5f534c Googletest export
Internal Change

PiperOrigin-RevId: 261683482
2019-08-05 13:27:00 -04:00
Gennadiy Civil
4e29e48840 Merge pull request #2358 from kuzkry:adjustment-of-similar-comments
PiperOrigin-RevId: 261355792
2019-08-02 14:16:53 -04:00
Gennadiy Civil
6c7a8bec8d Merge pull request #2341 from ChrisBaish:master
PiperOrigin-RevId: 261344735
2019-08-02 13:27:07 -04:00
Gennadiy Civil
cc34e8fa7c Merge pull request #2357 from kuzkry:obsolete-documentation
PiperOrigin-RevId: 261343928
2019-08-02 13:26:55 -04:00
Gennadiy Civil
47092933fd Merge pull request #2361 from guillemglez:master
PiperOrigin-RevId: 261340959
2019-08-02 13:06:47 -04:00
Abseil Team
6a2adc0eed Googletest export
Remove markdown extension which isn't supported on github.

PiperOrigin-RevId: 261321329
2019-08-02 11:32:23 -04:00
Gennadiy Civil
c8d338c629 Merge pull request #2353 from anttsov:patch-1
PiperOrigin-RevId: 261198930
2019-08-02 11:32:15 -04:00
Abseil Team
8756ef9058 Googletest export
Add links to "sampleK_unittest.cc" examples. Fix some broken docs crosslinks.

PiperOrigin-RevId: 261169561
2019-08-01 16:06:11 -04:00
Abseil Team
da28d30191 Googletest export
Fix ON_CALL/EXPECT_CALL example comment

PiperOrigin-RevId: 261150884
2019-08-01 16:05:57 -04:00
Abseil Team
b15335dfa7 Googletest export
Fix signed conversion warning for wchar_t -> wint_t.
Fixes Github issue #2300

PiperOrigin-RevId: 261045497
2019-08-01 16:05:49 -04:00
Abseil Team
a3eee98cad Googletest export
Document the fact that {Setup,TearDown}TestSuite failures are currently being dropped.

PiperOrigin-RevId: 260962695
2019-08-01 16:05:41 -04:00
misterg
2221875d0b Googletest export
Internal Change

PiperOrigin-RevId: 260939845
2019-08-01 16:05:33 -04:00
Guillem González Vela
210239e800 Fix table formatting in advanced.md 2019-08-01 20:39:07 +02:00
Krystian Kuzniarek
637b0411fa remove an excessive mutable type specifier
MockFunction's private member cannot be reached from outside and all its
non-static member functions are not const.
2019-08-01 11:33:36 +02:00
Krystian Kuzniarek
96c851d051 adjust a comment to the similar section in advanced.md
in addition, fix typo of use -> us
2019-07-31 19:40:10 +02:00
anttsov
64b17693e3
Update README.md
fixed links to docs pages (on googlemock/README.md)
2019-07-31 10:34:36 +03:00
Krystian Kuzniarek
287b37f23f update pre-C++11 paragraphs 2019-07-31 08:17:32 +02:00
Gennadiy Civil
9311242db4 Merge pull request #2356 from kuzkry:typos
PiperOrigin-RevId: 260786935
2019-07-30 18:47:55 -04:00
Gennadiy Civil
0647b90eeb Merge pull request #2354 from kuzkry:trailing-whitespaces
PiperOrigin-RevId: 260782847
2019-07-30 18:47:46 -04:00
Gennadiy Civil
4cd6e4d359 Merge pull request #2355 from kuzkry:markdown-numbering
PiperOrigin-RevId: 260782065
2019-07-30 18:47:37 -04:00
Krystian Kuzniarek
bf6df7eaee fix typos 2019-07-30 12:52:27 +02:00
Krystian Kuzniarek
d384b8831f fix numbering of ordered lists in Markdown 2019-07-30 11:16:21 +02:00
Krystian Kuzniarek
28e1dde259 remove trailing whitespaces 2019-07-30 10:59:43 +02:00
anttsov
579591a351
Update README.md
Links to FAQ, Cheat Sheet, Cookbook, gMock for Dummies
2019-07-30 10:17:22 +03:00
Gennadiy Civil
c205468b65 Merge pull request #2338 from kuzkry:environment-documentation
PiperOrigin-RevId: 260559531
2019-07-29 16:43:23 -04:00
Gennadiy Civil
05747d2ee7 Merge pull request #2342 from Jauler:master
PiperOrigin-RevId: 260556093
2019-07-29 15:36:45 -04:00
Abseil Team
3821ecd573 Googletest export
Fix broken link.

PiperOrigin-RevId: 260548004
2019-07-29 15:36:36 -04:00
misterg
a45c24ac18 Googletest export
Remove outdated summer vacation from readme

PiperOrigin-RevId: 260511450
2019-07-29 12:05:17 -04:00
Gennadiy Civil
b2983b2f2a Merge pull request #2331 from adambadura:CMakeCorrection
PiperOrigin-RevId: 260509310
2019-07-29 11:58:34 -04:00
Gennadiy Civil
bb481d2da6 Manual docs tweaks still in preparation for including docs with code pushes 2019-07-29 10:53:47 -04:00
Gennadiy Civil
c4b68b91f8 Manual docs tweaks still in preparation for including docs with code pushes 2019-07-29 10:42:41 -04:00
Adam Badura
1be5ce0907 Correct CMake to cover Cygwin 2019-07-27 22:25:32 +02:00
Abseil Team
2134e3fd85 Googletest export
Adds ISO8601 timestamps to XML output and RFC3339 timestamps to JSON output.

Adds timestamps to testsuites, testsuite and testcases structured JSON/XML output for better reporting how/where time is spent on tests.

PiperOrigin-RevId: 260039817
2019-07-25 20:53:46 -04:00
Abseil Team
373ed74af5 Googletest export
Add copyright.

PiperOrigin-RevId: 259997211
2019-07-25 20:53:34 -04:00
misterg
0a5efc11e3 Googletest export
Internal Change

PiperOrigin-RevId: 258824657
2019-07-25 20:53:26 -04:00
Rytis Karpuška
e93b5e06ba Fix small errors in primer.md 2019-07-23 18:51:35 +03:00
Chris Baish
3525e39842 Moved explanation to single line as well 2019-07-19 07:33:26 +01:00
Chris Baish
af11cda565 Moved table to single lines 2019-07-19 07:31:15 +01:00
Chris Baish
d64e4cf14e Merge remote-tracking branch 'upstream/master' into primer_md_table_update 2019-07-19 07:12:46 +01:00
Gennadiy Civil
b77e5c7625 Manual docs tweaks still in preparation for including docs with code pushes 2019-07-18 15:27:51 -04:00
Gennadiy Civil
a743249a55 Manual docs tweaks still in preparation for including docs with code pushes 2019-07-18 13:32:59 -04:00
Gennadiy Civil
15756aa0c8 Manual docs tweaks still in preparation for including docs with code pushes 2019-07-18 11:39:49 -04:00
Gennadiy Civil
34ddfff946 Manual docs tweaks still in preparation for including docs with code pushes 2019-07-18 11:34:17 -04:00
Krystian Kuzniarek
2fa7be9326 explicitly show overriding to align examples to their comments 2019-07-18 17:07:53 +02:00
Krystian Kuzniarek
cc49f5b27a document a missing parent class 2019-07-18 17:06:22 +02:00
Chris Baish
adb490773e
Update primer.md
Correct formatting in table
2019-07-18 10:12:27 +01:00
Gennadiy Civil
2ef13f524b remove outdated 2019-07-17 16:45:00 -04:00
Gennadiy Civil
96bf3b1aff remove outdated 2019-07-17 16:43:18 -04:00
Gennadiy Civil
ad52f7d0bd Merge branch 'master' of github.com:google/googletest 2019-07-17 15:36:04 -04:00
Gennadiy Civil
63e878b624 Preparation for including docs in round-trip with OSS, Manual merge, review and merge docs internal-OSS 2019-07-17 15:35:48 -04:00
Abseil Team
0ef404e2e7 Googletest export
Internal change

PiperOrigin-RevId: 258587862
2019-07-17 13:38:25 -04:00
Gennadiy Civil
6077f444da Merge pull request #2332 from adambadura:AddMissingInclude
PiperOrigin-RevId: 258465918
2019-07-17 11:32:23 -04:00
Adam Badura
1f809607b5 Add missing <functional> include
gmock-spec-builders.h uses std::function (in MockFunction) but did
not include <functional> to provide it. Apparently, it worked since
the header must have been included by something else but better be
safe than sorry.
2019-07-16 23:15:51 +02:00
Gennadiy Civil
f899e81e43 Preparation for including docs in round-trip with OSS. Manual review and merge docs internal-OSS 2019-07-16 14:42:35 -04:00
Gennadiy Civil
4ab6f4d709 Preparation for including docs in round-trip with OSS. Manual review and merge docs internal-OSS 2019-07-16 14:38:15 -04:00
misterg
3d9cdd5803 Googletest export
Fix documentation links

PiperOrigin-RevId: 258389329
2019-07-16 13:35:16 -04:00
Abseil Team
f38f4d8f27 Googletest export
[Fuchsia] Update exception APIs used by death test.

Migrates to the new channel-based exception APIs as the
port APIs are deprecated and will be removed.

PiperOrigin-RevId: 258175830
2019-07-16 11:21:19 -04:00
Abseil Team
e4f097b5fb Googletest export
Update a broken link in a comment.

PiperOrigin-RevId: 257493975
2019-07-16 11:21:11 -04:00
Gennadiy Civil
947aeab281 Preparation for including docs in round-trip with OSS 2019-07-15 16:01:38 -04:00
Gennadiy Civil
5af948b30e Preparation for including docs in round-trip with OSS 2019-07-15 16:01:12 -04:00
Gennadiy Civil
073a2da403 Preparation for including docs in round-trip with OSS 2019-07-15 15:58:44 -04:00
Gennadiy Civil
01573aa0e8 Merge branch 'master' of github.com:google/googletest 2019-07-15 15:51:46 -04:00
Gennadiy Civil
afa9143256
Merge pull request #2324 from kuzkry/fix-broken-link
Fix a broken link
2019-07-15 15:46:09 -04:00
Gennadiy Civil
31ff597888 Preparation for including docs in round-trip with OSS 2019-07-15 15:42:09 -04:00
Gennadiy Civil
b97b96a1a4
Merge pull request #2309 from cclauss/patch-1
Travis CI: The sudo: tag is now deprecated in Travis CI
2019-07-15 14:35:15 -04:00
Krystian Kuzniarek
b0568dcb4a fix a broken link
ee3aa831172090fd5442820f215cb04ab6062756 added a broken link
which results in 404. The broken part is reference to a
nonexistent file "CheatSheet.md" instead of "cheet_sheet.md".
2019-07-15 20:15:20 +02:00
Gennadiy Civil
5c4d53fd52
Merge pull request #2326 from kuzkry/missing-references-to-documentation
Add missing references to documentation
2019-07-15 13:29:29 -04:00
Krystian Kuzniarek
f81dbd6ce8 add missing references to DesignDoc and KnownIssues 2019-07-13 09:16:52 +02:00
Krystian Kuzniarek
b138afde15 rename and apply snake_case on KnownIssues.md 2019-07-13 08:16:41 +02:00
Krystian Kuzniarek
1d5b7cc1e2 rename and apply snake_case on FrequentlyAskedQuestions.md 2019-07-13 08:15:20 +02:00
Krystian Kuzniarek
92d92f2f55 rename and apply snake_case on ForDummies.md 2019-07-13 08:09:11 +02:00
Krystian Kuzniarek
6078089ef8 rename and apply snake_case on Documentation.md 2019-07-13 08:09:11 +02:00
Krystian Kuzniarek
382cdf9162 rename and apply snake_case on DesignDoc.md 2019-07-13 07:59:14 +02:00
Krystian Kuzniarek
275bbc7884 rename and apply snake_case on CheatSheet.md 2019-07-13 07:47:14 +02:00
Sam Sobell
ee3aa83117 Fix bad advice in cook book (#2308)
This line directly contradicts the warning that google mock spits out on unused mock calls:
```
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
```
One or the other should be changed, and I believe the advice in this file is incorrect.
2019-07-10 10:37:57 -04:00
cclauss
dfb5e22b8b
Travis CI: The sudo: tag is now deprecated in Travis CI 2019-07-01 13:48:44 +02:00
Gennadiy Civil
437e1008c9 Documentation sync in preparation to including docs with full source sync 2019-06-24 13:52:17 -04:00