summaryrefslogtreecommitdiffstats
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
...
* Use a more recent commit of googletest that uses OS constraints fromAbseil Team2022-12-221-7/+6
| | | | | | | | | | | | | @platforms//os:* instead of from @build_tools//platforms:* See https://github.com/bazelbuild/bazel/issues/8622 Necessary to fix #4096 Also need the fix for #4098 PiperOrigin-RevId: 497182073 Change-Id: Ifd568b088d2f779755dd20264edfd5dad12ca9cc
* Fix a typo in the documentation for "Using Predicates as Matchers".Abseil Team2022-12-201-1/+1
| | | | | PiperOrigin-RevId: 496679950 Change-Id: I2842050902876231d49a142165bcbb88d737505d
* Comment that q0_ in primer should remain emptyDino Radakovic2022-12-201-0/+1
| | | | | PiperOrigin-RevId: 496642643 Change-Id: I178efeda76cbf46e5f4bb91454c205b9a060a4ea
* Specify a name for a `Property` in a code example.Abseil Team2022-12-191-1/+1
| | | | | | | It is good practice to specify a name for the `testing::Property` matcher's use in diagnostics, and we should do so in our examples. PiperOrigin-RevId: 496406309 Change-Id: Ibb4d1ba63771b5d6855442b91564027cda8ddaca
* Fix a typo in the gMock sample code for Defining a Custom Matcher Class.Abseil Team2022-12-141-1/+1
| | | | | | | EXPECT_CALL doesn't seem to make much sense here. I think the intent was to use EXPECT_THAT instead. PiperOrigin-RevId: 495427663 Change-Id: I39a16ea37282729d34017c6bcd331a60cedf1fbe
* This commit fixes a minor verb conjugation error in gmock_cook_book.md.Abseil Team2022-11-231-1/+1
| | | | | PiperOrigin-RevId: 490601453 Change-Id: I733b2ed8740b1c809dddb166a42993b869198469
* Change MakeUnique -> std::make_unique in docsrefs/pull/4066/headDenis Hananein2022-11-202-5/+5
|
* Add documentation for `--gunit_recreate_environments_when_repeating`.Abseil Team2022-11-031-2/+6
| | | | | PiperOrigin-RevId: 485895339 Change-Id: I09b0f535941531ef7bcb74593d385891d56b3e32
* Use git commit hash in CMake quickstartDino Radakovic2022-10-251-3/+2
| | | | | | | | | Commit hashes reflect GoogleTest's live-at-head stance. Credits to @shinfd. Fixes #4000 PiperOrigin-RevId: 483655943 Change-Id: Ieeb162859348dbe3657e18f283bac81412f2585d
* Clarify that parameter generator does not evaluate immediatelyAbseil Team2022-10-241-0/+5
| | | | | | | | This aims to avoid confusion as to what kinds of computations are valid inside a parameter generator expression, calling out flags as a supported use case. PiperOrigin-RevId: 483397027 Change-Id: I2d036fae95120d617f30a5566ea7498ce1f9bfb6
* Merge pull request #4037 from KloolK:patch-1Copybara-Service2022-10-171-17/+8
|\ | | | | | | | | PiperOrigin-RevId: 481734961 Change-Id: I629dc1ca3b10bf5fc6afc179b651a09081f5c919
| * Fix table markup in testing.mdrefs/pull/4037/headJan2022-10-141-17/+8
|/
* Update the POSIX Extended section of the Regular Expression Wikipedia pageAbseil Team2022-10-071-1/+1
| | | | | PiperOrigin-RevId: 479667644 Change-Id: I4ab03bd5f0520f8586667de8bd1b9443f241337a
* Merge pull request #3967 from BMBurstein:custom_type_combineCopybara-Service2022-10-041-7/+16
|\ | | | | | | | | PiperOrigin-RevId: 478775323 Change-Id: I92231bb8edd8e01b9b7cbe445c43dcf84f458521
| * Merge branch 'google:main' into custom_type_combineBaruch2022-09-251-1/+1
| |\ | |/ |/|
| * Merge branch 'google:main' into custom_type_combineBaruch2022-09-141-6/+7
| |\
| * \ Merge branch 'google:main' into custom_type_combineBaruch2022-08-254-8/+8
| |\ \
| * | | Custom type with Combine(). Fix for #3781Baruch Burstein2022-07-311-0/+1
| | | |
* | | | Update link to Bazel installation guiderefs/pull/4011/headJohn Hinnegan2022-09-181-1/+1
| |_|/ |/| | | | | The Bazel docs have moved!
* | | Use UnorderedElementsAre in example about using matchers with mapsAbseil Team2022-09-091-6/+7
| |/ |/| | | | | | | PiperOrigin-RevId: 473353707 Change-Id: Ief5bdbd2b8e28bac8f47be9aaeac4bb93875a793
* | Merge pull request #3918 from assafpr:master2mainCopybara-Service2022-08-014-8/+8
|\ \ | |/ |/| | | | | PiperOrigin-RevId: 464586117 Change-Id: Icda62f13b962f7408bb5698ae2b627391257d152
| * Update advanced.mdassafpr2022-06-271-5/+5
| | | | | | master branch changed to main branch in links
| * Update faq.mdassafpr2022-06-221-1/+1
| |
| * documentation, change mater branch to mainassafpr2022-06-221-1/+1
| |
| * documentation, change mater branch to mainassafpr2022-06-221-1/+1
| |
* | Merge pull request #3787 from codeinred:fix-quickstartCopybara-Service2022-07-111-2/+3
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 460272863 Change-Id: I139e31faca4dab6f697e0cd1b3491f791fda5f8a
| * | Fix quickstart-cmake documentationrefs/pull/3787/headAlecto Irene Perez2022-03-271-2/+3
| | | | | | | | | | | | Signed-off-by: Alecto Irene Perez <perez.cs@pm.me>
* | | Remove support for C++11Derek Mauro2022-06-302-4/+4
| |/ |/| | | | | | | | | | | | | v1.12.x is the last branch to support C++11 Future releases will require at least C++14 PiperOrigin-RevId: 458250106 Change-Id: Ibee2248649ff3c13daaa179135887848bf730f3f
* | gmock_cook_book.md: Delete superfluous statement from 2014.Abseil Team2022-06-131-2/+1
| | | | | | | | | | PiperOrigin-RevId: 454677195 Change-Id: I7a1419e22d617db41a5c310bc6f6158ba4cec1ab
* | Update googletest docs to indicate that RE2 is now used for regexp ↵Abseil Team2022-06-091-2/+4
| | | | | | | | | | | | | | implementation when building with Bazel and using Abseil. PiperOrigin-RevId: 454012698 Change-Id: I3a9df78368ffe3cb7cf3d315001125b97b1aebbe
* | Clarify that `this->` is needed to access members of type-parameterized tests.elixir2022-05-271-0/+4
| | | | | | | | | | PiperOrigin-RevId: 451439108 Change-Id: I8929df21d53cbe6c42e38653e1bb0cac72fc36f9
* | Update GoogleTest documentation's spelling of "GoogleTest".Abseil Team2022-05-261-29/+29
| | | | | | | | | | PiperOrigin-RevId: 451067898 Change-Id: I658ab92c4ea616736f0170ac4d1548bb15a944e2
* | Clarify the pitfalls of EXPECT_THAT and highlight it's best practicesAbseil Team2022-05-241-3/+7
| | | | | | | | | | PiperOrigin-RevId: 450721917 Change-Id: I34d63a65b7158975abd46a9a14cded75439e7e7f
* | gmock-actions: make OnceAction public.Aaron Jacobs2022-05-111-12/+51
| | | | | | | | | | | | | | | | So that it can be referenced in conversion operators for actions that need to know the concrete return type. PiperOrigin-RevId: 447889344 Change-Id: I643d3298bc8effd08741282a956c221f9d67d378
* | Rewrite "Testing a Certain Property of an Object" as "Defining a Custom ↵Abseil Team2022-04-281-17/+22
| | | | | | | | | | | | | | Matcher Class", and fix the code examples. PiperOrigin-RevId: 445252626 Change-Id: I9f038cb669d3da6743606343c2341fc59725d722
* | Add support for move-only and &&-qualified actions in WillOnce.Abseil Team2022-04-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | This provides a type-safe way for an action to express that it wants to be called only once, or to capture move-only objects. It is a generalization of the type system-evading hack in ByMove, with the improvement that it works for _any_ action (including user-defined ones), and correctly expresses that the action can only be used with WillOnce. I'll make existing actions benefit in a future commit. PiperOrigin-RevId: 440496139 Change-Id: I4145d191cca5655995ef41360bb126c123cb41d3
* | Trying to make it more clear: this is probably not about mock classes, but ↵Abseil Team2022-04-041-6/+6
|/ | | | | | | about mocked classes PiperOrigin-RevId: 439427291 Change-Id: I3cac035e732fb3fe4f9c314657932a55269e0416
* Clarify public access on gmock examples.Abseil Team2022-03-211-4/+4
| | | | | PiperOrigin-RevId: 436268062 Change-Id: I3161b36121f78acf920d66fe121b2f1d5e5707b9
* Merge pull request #3774 from sobczyk:mainCopybara-Service2022-03-152-6/+19
|\ | | | | | | | | PiperOrigin-RevId: 434738675 Change-Id: I7c8de4004bac6b750674d19e3e79c0695a42652e
| * Adjust documentation regarding xml and json source file location otput.Szymon Sobik2022-03-082-6/+18
|/
* Add a 3-arg overload for ResultOf() matcher that takes a description string ↵Abseil Team2022-02-101-0/+1
| | | | | | | for better error messages. PiperOrigin-RevId: 427598749 Change-Id: I8c7a5d7b2dde017641534f1c7eed8dd56c33e845
* Merge pull request #3723 from ramkumar-kr:patch-1Copybara-Service2022-01-241-2/+2
|\ | | | | | | | | PiperOrigin-RevId: 423920083 Change-Id: I5e172813387f841d5a6c56eea155b876a465d208
| * Update example to reflect the tests belowrefs/pull/3723/headRam Kumar K R2022-01-041-2/+2
| |
* | Fix reference to source file in gmock FAQDino Radakovic2022-01-141-2/+2
| | | | | | | | | | PiperOrigin-RevId: 421915817 Change-Id: I22800e8943f9eb050304c521701d4040b1b7a914
* | Fix run-on sentenceAbseil Team2022-01-121-1/+1
|/ | | | | | | dispatch. It will use the definition from the class the constructor of which PiperOrigin-RevId: 421291241 Change-Id: If81e3d6d3774edfbbb4baaec8a3cd96566b3b09c
* Clarify "package" means "Bazel package", and promote `testonly=True` rather ↵Abseil Team2021-12-231-6/+6
| | | | | | | than `testing` sub-directory. PiperOrigin-RevId: 417945818 Change-Id: I8686ee0414fb80269528677f291877a231d1c991
* Merge pull request #3684 from ludgerpaehler:patch-1Copybara-Service2021-12-201-2/+2
|\ | | | | | | | | PiperOrigin-RevId: 417474317 Change-Id: I4c84f59ba272a6bec3f992f7afae36e1c5617fad
| * Fix typo in the queue test.refs/pull/3684/headLudger Paehler2021-11-251-2/+2
| |
* | Fix typo in GoogleMock Cookbook.Abseil Team2021-12-021-1/+1
|/ | | | | PiperOrigin-RevId: 413674665 Change-Id: I466f87348390f42434a70f183efdf0557be9dddd
* Update URLs in Bazel QuickstartDerek Mauro2021-11-151-5/+5
| | | | | PiperOrigin-RevId: 410041507 Change-Id: I6ca514249a54e7fbe6d8fbf4f07317a39af40929