summaryrefslogtreecommitdiffstats
path: root/googletest
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2086 from hugolm84:fix-dynamic/static-runtime-linkrefs/pull/2083/headGennadiy Civil2019-01-291-0/+2
| | | | PiperOrigin-RevId: 231286700
* Merge branch 'fix-compile-on-wec2013' into v1.8.xHugo Lindström2019-01-251-2/+11
|\
| * Add missing typedefs for WINCE800 (Windows Embedded Compact 2013).refs/pull/2081/headHugo Lindström2019-01-251-2/+11
| |
* | Merge branch 'master' into v1.8.xGennadiy Civil2018-09-131-1/+1
|\ \
| * | Return GTEST_ATTRIBUTE_UNUSED_ on record_property_env to avoide comilation ↵Georgi D. Sotirov2018-09-121-1/+1
| | | | | | | | | | | | | | | error (with -Werror) The unused attribute was removed with commit 3299a23 on 2018-02-23, but it currently breaks build of 1.8.1, because of -Werror GCC parameter as reported in issue #1825.
* | | Gennadiy's comment. Reverts to previous code if not using Visual Studio 2013refs/pull/1817/headDavid Schuldenfrei2018-09-121-0/+4
| | |
* | | Fix Compile error, and warning in Visaul Studio 2013David Schuldenfrei2018-09-081-1/+1
|/ /
* | Fix doc linksrefs/pull/1809/headArkady Shapkin2018-09-044-5/+5
| |
* | Merge pull request #1803 from KindDragon/patch-2Gennadiy Civil2018-09-043-56/+60
|\ \ | | | | | | Update documentation to syntax highlight code
| * | Update documentation to syntax highlight coderefs/pull/1803/headArkady Shapkin2018-09-033-56/+60
| |/
* | Fix #1805: add `.md` to hyperlinkrefs/pull/1806/headAndrew Siplas2018-09-041-1/+1
|/
* Merge branch 'master' into fix-clang-warningsrefs/pull/1433/headGennadiy Civil2018-08-314-41/+41
|\
| * Update googletest-output-test-golden-lin.txtrefs/pull/1799/headGennadiy Civil2018-08-311-4/+4
| |
| * Update googletest-output-test-golden-lin.txtGennadiy Civil2018-08-311-10/+10
| | | | | | manual update golden lin
| * Update googletest-output-test-golden-lin.txtGennadiy Civil2018-08-311-10/+10
| | | | | | manual update, golden lin
| * Googletest exportmisterg2018-08-312-1/+15
| | | | | | | | | | | | Silence MSVC warnings PiperOrigin-RevId: 210726964
| * Googletest exportAbseil Team2018-08-313-13/+13
| | | | | | | | | | | | | | | | Fix the typed test names in the tests for customized typed test parameters. As required by googletest documentation, the names should not contain an underscore. PiperOrigin-RevId: 210678652
| * Googletest exportmisterg2018-08-312-15/+1
| | | | | | | | | | | | Internal Change PiperOrigin-RevId: 210594341
* | Add user-defined copy constructor to ValueArrayDominic Sacré2018-08-312-0/+414
| | | | | | | | | | | | Fix Clang warning: | warning: definition of implicit copy constructor for 'ValueArray2<bool, bool>' | is deprecated because it has a user-declared copy assignment operator [-Wdeprecated]
* | Add missing declarations for Google Tests flagsDominic Sacré2018-08-311-0/+8
| | | | | | | | | | | | | | | | | | | | Add declarations for install_failure_signal_handler and flagfile. Fix Clang warnings: | warning: no previous extern declaration for non-static variable | 'FLAGS_gtest_install_failure_signal_handler' [-Wmissing-variable-declarations] | warning: no previous extern declaration for non-static variable | 'FLAGS_gtest_flagfile' | [-Wmissing-variable-declarations]
* | Make g_argvs staticDominic Sacré2018-08-311-1/+1
| | | | | | | | | | | | Fix Clang warning: | warning: no previous extern declaration for non-static variable 'g_argvs' | [-Wmissing-variable-declarations]
* | Make dummy variables static to avoid compiler warningsDominic Sacré2018-08-311-2/+3
| | | | | | | | Fix -Wmissing-variable-declarations warnings from Clang.
* | Re-generate gtest-param-test.h from gtest-param-test.h.pumpDominic Sacré2018-08-311-20/+17
|/ | | | | | | | | Commit 6a26e47cfcc174cc85651cbde0b0158d03321e2f changed the formatting of INSTANTIATE_TEST_CASE_P() in the generated header file only. This commit reverts to the formatting produced by running "pump gtest-param-test.h.pump", which seems to be more consistent with the rest of the file.
* Merge branch 'master' into 9A681768AABE08D1EFA5CA77528236A4Gennadiy Civil2018-08-301-1/+1
|\
| * Fix broken FAQ link in primer.mdrefs/pull/1794/headSteven Santos Erenst2018-08-291-1/+1
| | | | | | The current link pointed to a non existing section in the FAQ.
* | Disable MCVS warningsGennadiy Civil2018-08-291-0/+8
| |
* | typoGennadiy Civil2018-08-291-1/+1
| |
* | typoGennadiy Civil2018-08-291-1/+1
| |
* | MSVC warnings silenceGennadiy Civil2018-08-291-1/+7
| |
* | Update googletest-output-test-golden-lin.txtGennadiy Civil2018-08-291-5/+55
| |
* | Googletest exportAbseil Team2018-08-284-53/+247
| | | | | | | | | | | | | | | | Add the possibility of specifying the name in type parameterized tests. Similar to how the last parameter of INSTANTIATE_TEST_CASE_P allows to override the name for (non-type) parametrized tests, this adds the possibility of adding a parameter to INSTANTIATE_TYPED_TEST_CASE_P. The argument has to be a class, which contains a static templated function GetName<T>(int), returning the name for type T. PiperOrigin-RevId: 210532231
* | Googletest exportAbseil Team2018-08-285-580/+265
| | | | | | | | | | | | Breaks Windows builds PiperOrigin-RevId: 210434120
* | Googletest exportAbseil Team2018-08-285-265/+580
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Theta(N^2) memory usage of EXPECT_EQ(string) when the strings don't match. The underlying CalculateOptimalEdits() implementation used a simple dynamic-programming approach that always used N^2 memory and time. This meant that tests for equality of large strings were ticking time bombs: They'd work fine as long as the test passed, but as soon as the strings differed the test would OOM, which is very hard to debug. I switched it out for a Dijkstra search, which is still worst-case O(N^2), but in the usual case of mostly-matching strings, it is much closer to linear. PiperOrigin-RevId: 210405025
* | Googletest exportmisterg2018-08-281-6/+1
|/ | | | | | Code Cleanup PiperOrigin-RevId: 210393771
* Merge branch 'master' into fix-1764_CMake-errors-in-googlemockrefs/pull/1769/headGennadiy Civil2018-08-274-73/+333
|\
| * Merge 72a2836945e7a3dcee0730166704587e10bf64ee into ↵David Schuldenfrei2018-08-274-73/+333
| | | | | | | | | | | | | | | | | | | | 1d9a1912e7f42e8ae66ea365b5b8508fecb31509 Closes #1658 Review and changes, mister@google.com PiperOrigin-RevId: 210374286
* | Use `$<INSTALL_PREFIX>` in `target_include_directories`Dakota Hawkins2018-08-241-2/+2
|/ | | | | | | | | | | | | | | To make sure packages are relocatable, use `$<INSTALL_PREFIX>` in `$<INSTALL_INTERFACE:...>` `target_include_directories`. `$<INSTALL_PREFIX>` was introduced in CMake 2.8.11, which is already being checked for locally. References: - https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#id19 - https://github.com/robotology/how-to-export-cpp-library/blob/claudio/headeronly/src/LibTemplateCMake/CMakeLists.txt#L42 Signed-off-by: Dakota Hawkins <dakotahawkins@gmail.com>
* Merge branch 'master' into issue_1735refs/pull/1767/headGennadiy Civil2018-08-241-7/+7
|\
| * Googletest exportrefs/pull/1779/headmisterg2018-08-231-7/+7
| | | | | | | | | | | | Remove unneeded check for NULL. Note: this started as OSS PR https://github.com/google/googletest/pull/967 but changed PiperOrigin-RevId: 209819732
| * Googletest exportsrz_zumix2018-08-233-61/+23
| | | | | | | | | | | | Internal Change PiperOrigin-RevId: 209498445
| * Googletest exportsrz_zumix2018-08-233-23/+61
| | | | | | | | | | | | Internal Change PiperOrigin-RevId: 209471987
* | Merge branch 'master' into issue_1735Jacob Schloss2018-08-22126-394/+448
|\ \ | |/
| * Install CMake export filesrefs/pull/1338/headStefano Soffia2018-08-223-49/+72
| | | | | | | | Rework of the closed pull request #768
| * Improve CMake exported targets.refs/pull/1682/headDakota Hawkins2018-08-211-4/+27
| | | | | | | | | | | | | | | | | | | | | | I _think_ this represents some of the "best practices" for exporting targets. They'll be available in a `googletest::` namespace (e.g. `googletest::gmock`) with non-namespaced `ALIAS` targets. - Added GOOGLETEST_VERSION variable - Use `CMakePackageConfigHelpers`, bump minimum CMake version to 2.8.8 Signed-off-by: Dakota Hawkins <dakotahawkins@gmail.com>
| * googletest exportmisterg2018-08-208-1/+46
| | | | | | | | | | | | - 209457654 Import of OSS PR, https://github.com/google/googletest/pu... by misterg <misterg@google.com> PiperOrigin-RevId: 209457654
| * googletest exportmisterg2018-08-203-0/+18
| | | | | | | | | | | | - 209457486 Import of OSS PR, https://github.com/google/googletest/pu... by misterg <misterg@google.com> PiperOrigin-RevId: 209457486
| * Merge pull request #1754 from vkotovv/docs-advanced-broken-linksGennadiy Civil2018-08-201-5/+5
| |\ | | | | | | docs: fixed broken references to sections in Advanced guide
| | * docs: fix more broken links to sections in Advanced guiderefs/pull/1754/headVadim Kotov2018-08-201-3/+3
| | |
| | * docs: fixed broken references to sections in Advanced guideVadim Kotov2018-08-201-2/+2
| | |
| * | Merge branch 'master' into fix_death_test_child_mingw_wer_issue1116refs/pull/1120/headGennadiy Civil2018-08-201-0/+17
| |\ \ | | |/