Abseil Team
7e5a3a574e
Googletest export
...
Move actions reference into independent document
PiperOrigin-RevId: 371828549
2021-05-13 15:08:09 -04:00
Jason C
200c7ea1fb
isalnum -> IsAlNum for correct handling of signed chars
...
I spotted this in 7dd7a053a9
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.
2021-05-04 18:04:13 -04:00
Abseil Team
f5e592d8ee
Googletest export
...
Revert ac3c2a8d04
-- it seems to break some gcc users (#3384 )
PiperOrigin-RevId: 370834917
2021-04-29 10:40:44 -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
Abseil Team
252ce9c52d
Googletest export
...
Fix iOS logging issues in tests
PiperOrigin-RevId: 370484087
2021-04-26 14:07:25 -04:00
Derek Mauro
11da093e04
Merge pull request #3174 from sebkraemer:issue-15644
...
PiperOrigin-RevId: 369696657
2021-04-26 14:07:16 -04:00
Andy Soffer
23ef29555e
Merge pull request #3314 from Vollstrecker:master
...
PiperOrigin-RevId: 369550590
2021-04-21 10:24:41 -04:00
Abseil Team
f16d43cd38
Googletest export
...
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
2021-04-21 10:24:32 -04:00
Abseil Team
0d9daa9936
Googletest export
...
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
2021-04-21 10:24:25 -04:00
Andy Soffer
566fdcc928
Merge pull request #3364 from jbampton:fix-spelling
...
PiperOrigin-RevId: 369217358
2021-04-21 10:24:17 -04:00
Vollstrecker
8043818e1b
Use URL instead of git-repo
2021-04-20 10:09:33 +02:00
dmauro
eaf9a3fd77
Googletest export
...
Use the time_point from steady_clock instead of the template
This fixes the build on some embedded compilers
PiperOrigin-RevId: 368879480
2021-04-16 17:33:13 -07:00
Abseil Team
831bc03504
Googletest export
...
Fix -Wconversion issues on Fuchsia
PiperOrigin-RevId: 368520510
2021-04-15 20:41:37 -07: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
John Bampton
050b517518
chore: fix spelling
2021-04-15 11:53:53 +10:00
Vollstrecker
c79eb87c11
Mention to explicitely set the option to it's default.
2021-04-14 23:13:01 +02:00
dmauro
8d664b94be
Googletest export
...
Remove AppVeyor configuration.
Windows is now tested on Kokoro.
PiperOrigin-RevId: 368471950
2021-04-14 13:51:13 -07:00
Vollstrecker
38c316fc5c
Changes like Requested.
2021-04-14 14:58:03 +02:00
Abseil Team
4400d68de4
Googletest export
...
Add support to run gtest on Xtensa platform.
This add support to run GTest base test suits on Xtensa
(https://ip.cadence.com/ipportfolio/tensilica-ip ) base simulator.
Xtensa only provides libc and some basic operations and does not run an
operating system by default.
PiperOrigin-RevId: 368162205
2021-04-13 17:58:07 -07: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
c3fc92f0b7
Googletest export
...
Update docs to point to the github.io pages.
PiperOrigin-RevId: 367711335
2021-04-12 20:14:19 -07:00
Dino Radaković
ec7fa96f29
Merge pull request #3158 from GauthamBanasandra:patch-1
...
PiperOrigin-RevId: 367681693
2021-04-12 20:14:10 -07:00
Abseil Team
965f8ecbfd
Googletest export
...
Generalize root directory in CI scripts
PiperOrigin-RevId: 367628939
2021-04-09 09:04:04 -07:00
Dino Radaković
ad462b70c9
Merge pull request #3319 from a-sully:patch-1
...
PiperOrigin-RevId: 367509099
2021-04-09 09:03:55 -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
d0303e40c5
Googletest export
...
Migrate away from deprecated --heap_check=strict
PiperOrigin-RevId: 367226846
2021-04-07 23:39:25 -07:00
Abseil Team
601a68150d
Googletest export
...
This is part of a soft transition over to having ZX_INFO_PROCESS
populate a new struct. See fxbug.dev/30751 for more details.
PiperOrigin-RevId: 367083068
2021-04-07 23:39:18 -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
5c8ca58edf
Googletest export
...
Disable blank issue template, delete question template
PiperOrigin-RevId: 366874747
2021-04-05 16:13:50 -07:00
Abseil Team
4048829db1
Googletest export
...
Add macros to omit {EXPECT,ASSERT}_{TRUE,FALSE}
PiperOrigin-RevId: 366455905
2021-04-05 16:13:34 -07:00
Dino Radaković
6c5c4554ac
Merge pull request #3155 from ZedThree:cmake-alias-libraries
...
PiperOrigin-RevId: 365572439
2021-03-29 21:29:19 -07:00
Abseil Team
df7fee587d
Googletest export
...
Delete extra whitespace in gtest_xml_test_utils.py
PiperOrigin-RevId: 365140844
2021-03-25 16:04:59 -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
1a8ecf1813
Googletest export
...
Print std::u8string, std::u16string, and std::u32string as string literals
Previously, these types were printed as "{ U+123, U+456, U+789 }". However,
printed output in that form is difficult to compare against any literals that
might be defined in code. Instead, just treat these types like std::string
and std::wstring, escaping non-ASCII characters with a hexadecimal escape
sequence.
The tests have also been updated to cover the new functionality: as a bonus,
the tests now also pass with the MSVC toolchain.
Internally, the code has been reorganized to primarily operate in terms of
char32_t, under the assumption that char32_t will always be at least as big
as wchar_t. While that assumption is currently true, perhaps it won't be in
the future...
PiperOrigin-RevId: 364033132
2021-03-22 15:18:50 -04:00
Andy Soffer
3ff1e8b98a
Merge pull request #3315 from zaucy:master
...
PiperOrigin-RevId: 363176008
2021-03-18 11:55:57 -04:00
Austin Sullivan
9c047902ac
Update nicestrictnaggy gmock cook_book links
...
An incorrect link is output to the user when these conditions are met.
2021-03-17 10:33:19 -04:00
Andy Soffer
b7d472f122
Merge pull request #3291 from Be-ing:remove_zi_msvc
...
PiperOrigin-RevId: 363063211
2021-03-16 09:51:31 -04:00