| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Release GoogleTest 1.11.0
PiperOrigin-RevId: 378861756
|
|
|
|
|
|
| |
Internal change
PiperOrigin-RevId: 378672633
|
|
|
|
|
|
| |
Add feature request issue template
PiperOrigin-RevId: 378552571
|
|
|
|
|
|
| |
Delete Travis config file
PiperOrigin-RevId: 378483262
|
|
|
|
|
| |
cleanup: fix spurious MSAN warnings with Clang 12
PiperOrigin-RevId: 378430614
|
|
|
|
|
|
| |
Add CNAME file for custom domain
PiperOrigin-RevId: 378384525
|
|
|
|
|
|
| |
Update broken link
PiperOrigin-RevId: 378272186
|
|
|
|
|
|
| |
Add CNAME file for custom domain
PiperOrigin-RevId: 377604116
|
|\
| |
| |
| | |
PiperOrigin-RevId: 377367006
|
| |
| |
| |
| |
| |
| |
| |
| | |
This was causing the following linker error on Microsoft Visual C++ when compiling as a DLL:
```
googletest-param-test-test.cc.obj : error LNK2019: unresolved external symbol "public: __cdecl testing::internal::MarkAsIgnored::MarkAsIgnored(char const *)" (??0MarkAsIgnored@internal@testing@@QEAA@PEBD@Z) referenced in function "void __cdecl works_here::`dynamic initializer for 'gtest_allow_ignore_NotInstantiatedTest''(void)" (??__Egtest_allow_ignore_NotInstantiatedTest@works_here@@YAXXZ)
```
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
exports
This was causing the following linker error on Microsoft Visual C++ when compiling as a DLL:
```
googletest-printers-test.cc.obj : error LNK2019: unresolved external symbol "void __cdecl testing::internal::PrintTo(char16_t const *,class std::basic_ostream<char,struct std::char_traits<char> > *)" (?PrintTo@internal@testing@@YAXPEB_SPEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z) referenced in function "public: static void __cdecl testing::internal::UniversalPrinter<char16_t const *>::Print(char16_t const * const &,class std::basic_ostream<char,struct std::char_traits<char> > *)" (?Print@?$UniversalPrinter@PEB_S@internal@testing@@SAXAEBQEB_SPEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
googletest-printers-test.cc.obj : error LNK2019: unresolved external symbol "void __cdecl testing::internal::PrintTo(char32_t const *,class std::basic_ostream<char,struct std::char_traits<char> > *)" (?PrintTo@internal@testing@@YAXPEB_UPEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z) referenced in function "public: static void __cdecl testing::internal::UniversalPrinter<char32_t const *>::Print(char32_t const * const &,class std::basic_ostream<char,struct std::char_traits<char> > *)" (?Print@?$UniversalPrinter@PEB_U@internal@testing@@SAXAEBQEB_UPEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
```
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix MSVC warning C4275: non dll-interface class
'testing::MatcherDescriberInterface' used as base for dll-interface
class 'testing::internal::MatcherBase<std::string>'
Fixes #3415
PiperOrigin-RevId: 377352684
|
|\ \
| |/
|/|
| | |
PiperOrigin-RevId: 377289133
|
| |
| |
| |
| |
| | |
I spotted this in https://github.com/assimp/assimp/pull/3880/commits/7dd7a053a91322fad88cdf958c6d0b3b7b91cb90 and figured I'd fix it here, too.
If this is not the right thing to do, please lmk so I can undo it in assimp, too. Seems right, though. It's the only spot in gtest where a ctype call was made directly.
|
| |
| |
| |
| |
| |
| | |
Create new Testing API reference
PiperOrigin-RevId: 376969148
|
| |
| |
| |
| |
| |
| | |
Create new Mocking Reference
PiperOrigin-RevId: 376951575
|
| |
| |
| |
| |
| |
| | |
Fix broken link
PiperOrigin-RevId: 375995669
|
| |
| |
| |
| |
| |
| | |
Create Assertions Reference
PiperOrigin-RevId: 375824718
|
| |
| |
| |
| |
| |
| |
| |
| | |
Updates Linux docker image to use Bazel 4.1.0 and GCC 11.1
Updates Bazel dependencies
Removes the last usage of the deprecated and removed Python2
PiperOrigin-RevId: 375759184
|
| |
| |
| |
| |
| |
| | |
Add Google Analytics & footer
PiperOrigin-RevId: 375539689
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove the dependency on Objective C++ in iOS builds.
252ce9c52d304659eff6be558209c811b7191963 introduced the use of
NSTemporaryDirectory() on iOS, which requires Core Foundation, and
Objective C++.
This CL replaces NSTemporaryDirectory() with an equivalent solution
(according to Apple's documentation at [1]) available to C/C++ code.
Avoiding Objective C++ and Core Foundation makes it easier to integrate
googletest in projects that can't use the supplied Bazel build files.
[1] https://developer.apple.com/library/archive/documentation/Security/Conceptual/SecureCodingGuide/Articles/RaceConditions.html#//apple_ref/doc/uid/TP40002585-SW10
PiperOrigin-RevId: 375474990
|
| |
| |
| |
| |
| |
| | |
Add missing link
PiperOrigin-RevId: 374774097
|
| |
| |
| |
| |
| |
| | |
Remove inapplicable example
PiperOrigin-RevId: 374762004
|
| |
| |
| |
| |
| |
| | |
Fix a comment in a code snippet.
PiperOrigin-RevId: 374504337
|
| |
| |
| |
| |
| | |
Docs: Clarify that expectations must be set before mocks are exercised
PiperOrigin-RevId: 373644072
|
| |
| |
| |
| |
| |
| | |
Support templating MockFunction over function objects besides std::function.
PiperOrigin-RevId: 373586967
|
| |
| |
| |
| |
| |
| | |
Fix code in googletest parameterized name example.
PiperOrigin-RevId: 373262838
|
| |
| |
| |
| |
| |
| | |
Clean up heading levels and mention `::testing` namespace in Matchers Reference
PiperOrigin-RevId: 373242122
|
| |
| |
| |
| |
| |
| | |
Fix links in Matchers Reference
PiperOrigin-RevId: 372436732
|
| |
| |
| |
| |
| |
| | |
Add a note documenting that death test macros accept arbitrary gmock matchers against child-process stderr, not just regexes.
PiperOrigin-RevId: 372365998
|
| |
| |
| |
| |
| |
| | |
This callsite was previously updated to use ZX_INFO_PROCESS_V2 as a part of a soft transition. It is now time to revert back to `ZX_INFO_PROCESS` (which is now an alias of the former). See fxbug.dev/30751 for more details.
PiperOrigin-RevId: 372339833
|
|/
|
|
|
|
| |
Move actions reference into independent document
PiperOrigin-RevId: 371828549
|
|
|
|
|
|
| |
Revert https://github.com/google/googletest/commit/ac3c2a8d0496893787015014a5abd397b766cce2 -- it seems to break some gcc users (#3384)
PiperOrigin-RevId: 370834917
|
|
|
|
|
|
| |
Clean up links to Matchers Reference
PiperOrigin-RevId: 370821457
|
|
|
|
|
|
| |
Move matchers reference from cheat sheet into its own document
PiperOrigin-RevId: 370749693
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
internal change
PiperOrigin-RevId: 370503556
|
|
|
|
|
|
| |
Fix iOS logging issues in tests
PiperOrigin-RevId: 370484087
|
|\
| |
| |
| | |
PiperOrigin-RevId: 369696657
|
| |
| |
| | |
Co-authored-by: Eric Schmidt <shibumi@google.com>
|
| |
| |
| |
| |
| | |
Extended example and some rewording by @ericschmidtatwork, thank you.
Co-authored-by: Eric Schmidt <shibumi@google.com>
|
| |
| |
| |
| |
| |
| |
| | |
A subsection "Skipping test execution" was added to document GTEST_SKIP
and where it can be used.
relates issue #1544
|
|\ \
| | |
| | |
| | | |
PiperOrigin-RevId: 369550590
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Hi,
instead of ExternalProject and a new file that is spawned in a new process, it's easier to just use FetchContent. cmake 3.14 should be old enough to be spread.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This callsite was previously updated to use ZX_INFO_PROCESS_V2 as a part of a soft transition. It is now time to revert back to `ZX_INFO_PROCESS` (which is now an alias of the former). See fxbug.dev/30751 for more details.
PiperOrigin-RevId: 369370855
|
| | |
| | |
| | |
| | |
| | |
| | | |
This callsite was previously updated to use ZX_INFO_PROCESS_V2 as a part of a soft transition. It is now time to revert back to `ZX_INFO_PROCESS` (which is now an alias of the former). See fxbug.dev/30751 for more details.
PiperOrigin-RevId: 369349579
|
|\ \ \
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 369217358
|