Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/googletest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-16Export Test - Do Not Merge03997842F1AD7E510E28CBC0908AB431Abseil Team
Googletest export Use the time_point from steady_clock instead of the template This fixes the build on some embedded compilers PiperOrigin-RevId: 368879480 Change-Id: I5f61269b52a8040c8698bbc9a28b34d21696ca1c GitOrigin-RevId: a7bc22f9e177e878385ad4780b32eb83e3efbaad
2021-04-16Googletest exportAbseil Team
Fix -Wconversion issues on Fuchsia PiperOrigin-RevId: 368520510
2021-04-14Googletest exportdmauro
Remove AppVeyor configuration. Windows is now tested on Kokoro. PiperOrigin-RevId: 368471950
2021-04-14Googletest exportAbseil Team
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-13Googletest exportAbseil Team
Adds a warning about anonymous namespaces in relation to private testing. PiperOrigin-RevId: 367730808
2021-04-13Googletest exportAbseil Team
Update docs to point to the github.io pages. PiperOrigin-RevId: 367711335
2021-04-13Merge pull request #3158 from GauthamBanasandra:patch-1Dino Radaković
PiperOrigin-RevId: 367681693
2021-04-09Googletest exportAbseil Team
Generalize root directory in CI scripts PiperOrigin-RevId: 367628939
2021-04-09Merge pull request #3319 from a-sully:patch-1Dino Radaković
PiperOrigin-RevId: 367509099
2021-04-08Googletest exportAbseil Team
Update the example for Notify to use a lambda. It is much less boilerplate and easier to remember. PiperOrigin-RevId: 367284222
2021-04-08Googletest exportAbseil Team
Docs: Add examples for `FieldsAre` matcher PiperOrigin-RevId: 367263024
2021-04-08Googletest exportAbseil Team
Migrate away from deprecated --heap_check=strict PiperOrigin-RevId: 367226846
2021-04-08Googletest exportAbseil Team
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-08Googletest exportAbseil Team
Docs: Clarifying matcher in `Pointwise` and `UnorderedPointwise` PiperOrigin-RevId: 367059198
2021-04-06Googletest exportAbseil Team
Disable blank issue template, delete question template PiperOrigin-RevId: 366874747
2021-04-06Googletest exportAbseil Team
Add macros to omit {EXPECT,ASSERT}_{TRUE,FALSE} PiperOrigin-RevId: 366455905
2021-03-30Merge pull request #3155 from ZedThree:cmake-alias-librariesDino Radaković
PiperOrigin-RevId: 365572439
2021-03-26Googletest exportAbseil Team
Delete extra whitespace in gtest_xml_test_utils.py PiperOrigin-RevId: 365140844
2021-03-25Googletest exportAbseil Team
Clarify explanation of mocking free functions PiperOrigin-RevId: 364943561
2021-03-25Googletest exportAbseil Team
Minor formatting updates PiperOrigin-RevId: 364935205
2021-03-25Googletest exportAbseil Team
Code style cleanup in docs PiperOrigin-RevId: 364907938
2021-03-25Googletest exportAbseil Team
Update advanced.md PiperOrigin-RevId: 364839958
2021-03-25Googletest exportAbseil Team
Update explanation of `EXPECT_EQ(NULL, ptr)` in FAQ PiperOrigin-RevId: 364626422
2021-03-25Googletest exportAbseil Team
Code style cleanups in cheat sheet PiperOrigin-RevId: 364465553
2021-03-25Googletest exportAbseil Team
Add CMake quickstart PiperOrigin-RevId: 364437779
2021-03-25Googletest exportAbseil Team
Add Bazel quickstart PiperOrigin-RevId: 364419540
2021-03-22Googletest exportAbseil Team
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-18Merge pull request #3315 from zaucy:masterAndy Soffer
PiperOrigin-RevId: 363176008
2021-03-17Update nicestrictnaggy gmock cook_book linksAustin Sullivan
An incorrect link is output to the user when these conditions are met.
2021-03-16Merge pull request #3291 from Be-ing:remove_zi_msvcAndy Soffer
PiperOrigin-RevId: 363063211
2021-03-16Googletest exportAbseil Team
gtest: Output a canned test suite for environment failures in XML/JSON This surfaces useful information about the environment failure in a structured form. As we can see from the updated test, previously unsurfaced information is now present. PiperOrigin-RevId: 362292322
2021-03-16Internal changeAbseil Team
PiperOrigin-RevId: 362216935
2021-03-16Googletest exportAbseil Team
Update CONTRIBUTING link in README PiperOrigin-RevId: 362141000
2021-03-16Googletest exportAbseil Team
Internal change PiperOrigin-RevId: 362040448
2021-03-15Use @platforms instead of @bazel_tools for windows constraintEzekiel Warren
2021-03-10Googletest exportAbseil Team
Add missing period and use "that" in restrictive clause. PiperOrigin-RevId: 361941663
2021-03-10Googletest exportAbseil Team
Update READMEs and issue template PiperOrigin-RevId: 361931644
2021-03-09Googletest exportAbseil Team
Use monotonic time to measure test duration System time may be updated while a test is running. When this occurs a duration measured using system time may appear to move backwards, or jump far forwards. This change updates the duration measurement to use monotonic time instead. Timestamps for the test start still use system time. PiperOrigin-RevId: 361700881
2021-03-09Googletest exportAbseil Team
gtest.cc: Split out functions for printing `TestResult` objects This will make it possible to reuse this code for outputting the "ad_hoc" `TestResult` objects in structured form in XML/JSON. PiperOrigin-RevId: 361604860
2021-03-09Internal changeAbseil Team
PiperOrigin-RevId: 361213113
2021-03-09Merge pull request #3184 from N-Dekker:PrintTo-type_index-overloadDino Radaković
PiperOrigin-RevId: 361175466
2021-03-09Googletest exportAbseil Team
Add CI test scripts PiperOrigin-RevId: 360931988
2021-03-04Googletest exportAbseil Team
Format WORKSPACE and googlemock/test/BUILD.bazel using buildifier PiperOrigin-RevId: 360913861
2021-03-04Googletest exportAbseil Team
Fix enum names in a value-parameterized test example. PiperOrigin-RevId: 360559723
2021-03-04Googletest exportAbseil Team
Add Supported Platforms page to docs PiperOrigin-RevId: 360307129
2021-02-27Googletest exportAbseil Team
Update gtest doc link PiperOrigin-RevId: 359622286
2021-02-27Googletest exportAbseil Team
Update links in index.md PiperOrigin-RevId: 358956598
2021-02-26remove -Zi from MSVC compiler optionsBe
This is incompatible with compiler caches such as sccache and clcache. If a project including Google Test specifies /Z7 instead, building fails with: sccache C:\PROGRA~2\MICROS~1\2019\ENTERP~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\cl.exe /nologo /TP -D__SSE2__ -D__SSE__ -I..\lib\googletest-1.10.x\googlemock\include -I..\lib\googletest-1.10.x\googlemock -I..\lib\googletest-1.10.x\googletest\include -I..\lib\googletest-1.10.x\googletest /DWIN32 /D_WINDOWS /W4 /GR /MD /Z7 /O2 /Ob1 /DNDEBUG -GS -W4 -WX -wd4251 -wd4275 -nologo -J -Zi -D_UNICODE -DUNICODE -DWIN32 -D_WIN32 -DSTRICT -DWIN32_LEAN_AND_MEAN -wd4702 -DGTEST_HAS_PTHREAD=0 -EHsc -D_HAS_EXCEPTIONS=1 /Gy /showIncludes /Folib\googletest-1.10.x\googlemock\CMakeFiles\gmock_main.dir\src\gmock-all.cc.obj /Fdbin\gmock_main.pdb /FS -c ..\lib\googletest-1.10.x\googlemock\src\gmock-all.cc FAILED: lib/googletest-1.10.x/googlemock/CMakeFiles/gmock_main.dir/src/gmock-all.cc.obj ..\lib\googletest-1.10.x\googletest\src\gtest-all.cc: fatal error C1041: cannot open program database 'D:\a\mixxx\mixxx\build\bin\gmock_main.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS cl : Command line warning D9025 : overriding '/Z7' with '/Zi'
2021-02-25overload PrintTo for std::type_info and std::type_indexNiels Dekker
Included the string returned by their `name()` member function with the output of `PrintTo`. Typical use case: std::unique_ptr<AbstractProduct> product = FactoryMethod(); // Assert that the product is of type X: ASSERT_EQ(std::type_index{typeid(*product)}, std::type_index{typeid(ProductX)}); Possible output in case of a test assert failure, now including the names of the compared type indices: > error: Expected equality of these values: > std::type_index(typeid(*product)) > Which is: 8-byte object <D0-65 54-8C F6-7F 00-00> ("class ProductY") > std::type_index(typeid(ProductX)) > Which is: 8-byte object <40-64 54-8C F6-7F 00-00> ("class ProductX") With help from Krystian Kuzniarek.
2021-02-22Googletest exportAbseil Team
Remove anchors from page titles in docs PiperOrigin-RevId: 358474917