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
Abseil Team
c22ce88775
Googletest export
...
Standardize access to GoogleTest flags on GTEST_FLAG_GET/GTEST_FLAG_SET
Custom implementations can decide how access to flags is performed depending on the implementation of flags being used.
PiperOrigin-RevId: 388181424
2021-08-04 13:54:33 -04:00
Abseil Team
29d2540622
Googletest export
...
Proliferation of inclusive language.
PiperOrigin-RevId: 387535677
2021-08-04 13:54:27 -04:00
Abseil Team
8d51ffdfab
Googletest export
...
Remove unneeded using ::std::get;
PiperOrigin-RevId: 383688097
2021-07-09 09:28:13 -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
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
dinord
355d57d90d
Merge pull request #3443 from hyukmyeong:typo
...
PiperOrigin-RevId: 380705469
2021-06-22 13:30:42 +00:00
Hyuk Myeong
1745a405eb
fix typos
2021-06-13 19:53:04 +09:00
Abseil Team
b050d6c4b0
Googletest export
...
Internal change
PiperOrigin-RevId: 378672633
2021-06-11 10:42:17 -07:00
Abseil Team
aa533abfd4
Googletest export
...
Add CNAME file for custom domain
PiperOrigin-RevId: 378384525
2021-06-09 08:45:19 -04:00
Abseil Team
94bb786f0e
Googletest export
...
Update broken link
PiperOrigin-RevId: 378272186
2021-06-09 08:45:11 -04:00
Abseil Team
5bcd8e3bb9
Googletest export
...
Add CNAME file for custom domain
PiperOrigin-RevId: 377604116
2021-06-08 18:36:38 -04:00
Abseil Team
53495a2a7d
Googletest export
...
Create new Testing API reference
PiperOrigin-RevId: 376969148
2021-06-02 17:55:09 -04:00
Abseil Team
5f6a14c846
Googletest export
...
Create new Mocking Reference
PiperOrigin-RevId: 376951575
2021-06-02 17:55:01 -04:00
Abseil Team
2bd3481666
Googletest export
...
Fix broken link
PiperOrigin-RevId: 375995669
2021-06-02 17:54:53 -04:00
Abseil Team
d5d6ff940b
Googletest export
...
Create Assertions Reference
PiperOrigin-RevId: 375824718
2021-06-02 17:54:45 -04:00
Abseil Team
a3460d1aee
Googletest export
...
Add Google Analytics & footer
PiperOrigin-RevId: 375539689
2021-05-25 13:34:39 -04:00
Abseil Team
9741c42200
Googletest export
...
Add missing link
PiperOrigin-RevId: 374774097
2021-05-21 13:58:11 -07:00
Abseil Team
f8519738b0
Googletest export
...
Remove inapplicable example
PiperOrigin-RevId: 374762004
2021-05-21 13:58:03 -07:00
Abseil Team
aa9b44a186
Googletest export
...
Fix a comment in a code snippet.
PiperOrigin-RevId: 374504337
2021-05-19 13:10:13 -07:00
Abseil Team
eb6e9273dc
Googletest export
...
Docs: Clarify that expectations must be set before mocks are exercised
PiperOrigin-RevId: 373644072
2021-05-18 13:48:14 -07:00
Abseil Team
d69a112956
Googletest export
...
Fix code in googletest parameterized name example.
PiperOrigin-RevId: 373262838
2021-05-13 15:08:49 -04:00
Abseil Team
97f96cbc8a
Googletest export
...
Clean up heading levels and mention `::testing` namespace in Matchers Reference
PiperOrigin-RevId: 373242122
2021-05-13 15:08:41 -04:00
Abseil Team
5cfc63ddd5
Googletest export
...
Fix links in Matchers Reference
PiperOrigin-RevId: 372436732
2021-05-13 15:08:33 -04:00
Abseil Team
7e5a3a574e
Googletest export
...
Move actions reference into independent document
PiperOrigin-RevId: 371828549
2021-05-13 15:08:09 -04:00
Abseil Team
065a0c8140
Googletest export
...
Clean up links to Matchers Reference
PiperOrigin-RevId: 370821457
2021-04-29 10:40:37 -04:00
Abseil Team
680a5aa337
Googletest export
...
Move matchers reference from cheat sheet into its own document
PiperOrigin-RevId: 370749693
2021-04-29 10:40:29 -04:00
Abseil Team
719fd2d36f
Googletest export
...
Update the `DescribeTo` signature in the code example at the Writing New Polymorphic Matchers section in gmock_cook_book.
`os` should be a pointer to be consistent with the implementation, which dereference it as `*os`.
PiperOrigin-RevId: 370693387
2021-04-29 10:40:21 -04:00
Abseil Team
6e8a8623fb
Googletest export
...
internal change
PiperOrigin-RevId: 370503556
2021-04-29 10:40:14 -04:00
Derek Mauro
11da093e04
Merge pull request #3174 from sebkraemer:issue-15644
...
PiperOrigin-RevId: 369696657
2021-04-26 14:07:16 -04:00
Sebastian Krämer
124e87a303
Apply missing suggestions from code review for GTEST_SKIP
...
Co-authored-by: Eric Schmidt <shibumi@google.com>
2021-04-15 22:28:41 +02:00
Sebastian Krämer
1de97fd1c3
Apply suggestions from code review for GTEST_SKIP documentation
...
Extended example and some rewording by @ericschmidtatwork, thank you.
Co-authored-by: Eric Schmidt <shibumi@google.com>
2021-04-15 22:28:41 +02:00
Sebastian Krämer
c4ed56eb75
Add subsection for GTEST_SKIP documentation
...
A subsection "Skipping test execution" was added to document GTEST_SKIP
and where it can be used.
relates issue #1544
2021-04-15 22:28:41 +02:00
Abseil Team
486a4a6be5
Googletest export
...
Adds a warning about anonymous namespaces in relation to private testing.
PiperOrigin-RevId: 367730808
2021-04-12 20:14:27 -07:00
Abseil Team
6a5eb80749
Googletest export
...
Update the example for Notify to use a lambda.
It is much less boilerplate and easier to remember.
PiperOrigin-RevId: 367284222
2021-04-07 23:39:39 -07:00
Abseil Team
8a65bc0303
Googletest export
...
Docs: Add examples for `FieldsAre` matcher
PiperOrigin-RevId: 367263024
2021-04-07 23:39:32 -07:00
Abseil Team
54689b1935
Googletest export
...
Docs: Clarifying matcher in `Pointwise` and `UnorderedPointwise`
PiperOrigin-RevId: 367059198
2021-04-07 23:39:10 -07:00
Abseil Team
c0dd0817cf
Googletest export
...
Clarify explanation of mocking free functions
PiperOrigin-RevId: 364943561
2021-03-25 13:43:43 -07:00
Abseil Team
66836f0a90
Googletest export
...
Minor formatting updates
PiperOrigin-RevId: 364935205
2021-03-25 13:43:36 -07:00
Abseil Team
6dabd081e9
Googletest export
...
Code style cleanup in docs
PiperOrigin-RevId: 364907938
2021-03-25 13:43:28 -07:00
Abseil Team
5142ccd2d4
Googletest export
...
Update advanced.md
PiperOrigin-RevId: 364839958
2021-03-25 13:43:21 -07:00
Abseil Team
4595745f72
Googletest export
...
Update explanation of `EXPECT_EQ(NULL, ptr)` in FAQ
PiperOrigin-RevId: 364626422
2021-03-25 13:43:09 -07:00
Abseil Team
53cc7cd1ec
Googletest export
...
Code style cleanups in cheat sheet
PiperOrigin-RevId: 364465553
2021-03-25 13:43:01 -07:00
Abseil Team
d4e3b8cedf
Googletest export
...
Add CMake quickstart
PiperOrigin-RevId: 364437779
2021-03-25 13:42:53 -07:00
Abseil Team
32ad3c8c36
Googletest export
...
Add Bazel quickstart
PiperOrigin-RevId: 364419540
2021-03-25 13:42:45 -07:00
Abseil Team
e8512bc38c
Googletest export
...
Add missing period and use "that" in restrictive clause.
PiperOrigin-RevId: 361941663
2021-03-10 08:49:41 -08:00
Abseil Team
32983d211b
Googletest export
...
Fix enum names in a value-parameterized test example.
PiperOrigin-RevId: 360559723
2021-03-04 12:07:32 -05:00
Abseil Team
de41f8223c
Googletest export
...
Add Supported Platforms page to docs
PiperOrigin-RevId: 360307129
2021-03-04 12:07:25 -05:00
Abseil Team
3832a41ef9
Googletest export
...
Update links in index.md
PiperOrigin-RevId: 358956598
2021-02-26 17:58:04 -05:00
Abseil Team
1de637fbdd
Googletest export
...
Remove anchors from page titles in docs
PiperOrigin-RevId: 358474917
2021-02-22 10:40:11 -05:00
Abseil Team
d9c309fdab
Googletest export
...
Add files for GitHub Pages
PiperOrigin-RevId: 358289110
2021-02-19 13:55:48 -05:00
Abseil Team
7fb047bca3
Googletest export
...
Explain how to wrap matchers.
PiperOrigin-RevId: 357901293
2021-02-18 13:27:08 -05:00
Abseil Team
bc32a87452
Googletest export
...
Update the custom name example to not use underscores.
The NOTE a few blocks above specifically calls out that test names should not contain undersccores, so probably the example should not suggest using underscores.
PiperOrigin-RevId: 357204578
2021-02-18 13:26:48 -05:00
Abseil Team
1a5a78b9a9
Googletest export
...
Add files for GitHub Pages
PiperOrigin-RevId: 357096486
2021-02-18 13:26:40 -05:00
Abseil Team
e935e6c387
Googletest export
...
Internal change
PiperOrigin-RevId: 356867746
2021-02-18 13:26:12 -05:00
Abseil Team
609281088c
Googletest export
...
Docs cleanup
PiperOrigin-RevId: 356798444
2021-02-11 12:49:54 -05:00
Abseil Team
f3ef7e173f
Googletest export
...
Fix table formatting in cookbook
PiperOrigin-RevId: 355659722
2021-02-05 10:41:32 -08:00
Abseil Team
b6323d216d
Googletest export
...
Add a note to recommend against using `Property()` for functions that the test author does not own.
PiperOrigin-RevId: 355295183
2021-02-05 10:41:02 -08:00
Abseil Team
aea7f60bf5
Googletest export
...
Update description of `Property()` matcher
PiperOrigin-RevId: 355253498
2021-02-05 10:40:53 -08:00
Abseil Team
8599d312ce
Googletest export
...
Fix terminal output formatting in advanced guide
PiperOrigin-RevId: 355233178
2021-02-05 10:40:45 -08:00
Abseil Team
8c269618a4
Googletest export
...
Stop referring to Google's internal libraries in FAQ
PiperOrigin-RevId: 355060895
2021-02-05 10:40:10 -08:00
Abseil Team
726118846d
Googletest export
...
Document the fact that MatchAndExplain(T, MatchResultListener*) is supported.
PiperOrigin-RevId: 354172275
2021-02-05 10:39:39 -08:00
Abseil Team
273f8cb059
Googletest export
...
Add missing `is_gtest_matcher` to the polymorphic matcher example.
PiperOrigin-RevId: 353881883
2021-01-26 15:43:54 -05:00
Abseil Team
8a7618672a
Googletest export
...
Delete internal tags from docs
PiperOrigin-RevId: 353769887
2021-01-26 15:43:46 -05:00
Abseil Team
e3827e4e40
Googletest export
...
Updates the gMock cheat sheet to include the versions of the Field and Property matchers which take an additional name parameter.
PiperOrigin-RevId: 353273968
2021-01-26 15:43:20 -05:00
Abseil Team
a1dde9b182
Googletest export
...
| `IsEmpty()` | `argument` is an empty string. |
PiperOrigin-RevId: 352880252
2021-01-26 15:43:12 -05: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
14098f2015
Googletest export
...
Merge CONTRIBUTORS, delete LICENSEs in googletest/ and googlemock/
PiperOrigin-RevId: 352558822
2021-01-26 15:42:13 -05:00
Abseil Team
d128fc8252
Googletest export
...
Fixes #3222 , fixes #3225 , closes #3223
PiperOrigin-RevId: 352066131
2021-01-15 15:54:03 -05:00
Derek Mauro
5ae6e6e7e1
Merge pull request #3214 from kuzkry:broken-link
...
PiperOrigin-RevId: 352044381
2021-01-15 15:53:55 -05:00
Abseil Team
a2f906be69
Googletest export
...
Add "using is_gtest_matcher = void" to the DivisibleBy7Matcher example.
PiperOrigin-RevId: 351797821
2021-01-15 15:53:22 -05:00
Krystian Kuzniarek
1b4e47767f
fix a broken link
2021-01-15 12:04:18 +01:00
Abseil Team
c13c27a513
Googletest export
...
Change Matcher<T> to allow binding an implementation by value directly:
- Drop the requirement of MatcherInterface. Doing manual type erasure avoid
extra layers in many cases.
- Avoid the adaptor for `MatcherInterface<T>` and `MatcherInterface<const T&>` mismatch.
- Use a small object optimization when possible. This makes things like
`_` and `Eq(1)` really cheap and do not require memory allocations.
- Migrate some matchers to the new model to speed them up and to test the new framework. More matchers to come in future changes.
PiperOrigin-RevId: 350580998
2021-01-13 20:59:20 -05:00
Abseil Team
489283524e
Googletest export
...
Move all docs into top-level docs/ directory
PiperOrigin-RevId: 350211277
2021-01-13 20:59:12 -05:00
Billy Donahue
1f87a0970d
Move everything in googletest into googletest/googletest
2015-08-25 16:18:00 -04:00
Billy Donahue
0075a69b4c
Update PumpManual.md
2015-08-22 18:41:22 -04:00
Billy Donahue
f26deb26d1
relative links to samples/
2015-08-22 18:36:16 -04:00
Billy Donahue
613e23a4bf
Move wiki .md files to docs/ folder.
2015-08-22 17:35:22 -04:00