summaryrefslogtreecommitdiffstats
path: root/googletest/include
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1941 from barkovv:masterGennadiy Civil2018-10-294-59/+59
|\ | | | | | | PiperOrigin-RevId: 219134349
| * Replaced all NULLs with nullptr in googletestVadim Barkov2018-10-284-7/+7
| |
* | Googletest exportmisterg2018-10-295-260/+31
|/ | | | | | Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 219129336
* Googletest exportAbseil Team2018-10-264-20/+260
| | | | | | Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 218618184
* Googletest exportmisterg2018-10-264-260/+20
| | | | | | Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 218571466
* Googletest exportAbseil Team2018-10-222-37/+115
| | | | | | Change ValuesArray to require much less template instantiation depth. PiperOrigin-RevId: 218170842
* Googletest exportmisterg2018-10-185-4417/+67
| | | | | | | New variadic implementation for gtest-param-test Removed non-variadic implementation and added variadic for ValueArray and Values PiperOrigin-RevId: 217703627
* Googletest exportAbseil Team2018-10-182-28/+1
| | | | | | C++11 code cleanup. PiperOrigin-RevId: 217364243
* Merge c41b2bf861ef2ac1a975af05ff66d9256f280b01 into ↵KO Myung-Hun2018-10-112-1/+5
| | | | | | | | f203b2db77161fe54846ea9e839ebec81aeeccac Closes #1899 PiperOrigin-RevId: 216719020
* Unconditionally use std::tuple.Abseil Team2018-10-098-1803/+98
| | | | | | Remove all mention of TR1 tuple and our own implementation of tuple. PiperOrigin-RevId: 216395043
* Apply [[noreturn]] to Abort()Abseil Team2018-10-091-3/+3
| | | | PiperOrigin-RevId: 216383938
* always define define GTEST_LANG_CXX11 1misterg2018-10-081-12/+1
| | | | PiperOrigin-RevId: 216184859
* Remove pre-C++11 code from gtest-printersmisterg2018-10-051-8/+0
| | | | PiperOrigin-RevId: 215941759
* Make GTestColor and ColoredPrintF available as internal APIs from gtest.h. ↵Abseil Team2018-10-051-0/+6
| | | | | | This is for use in abseil exception safety testing. PiperOrigin-RevId: 215920581
* Removed pre-C++11 IsContainerTest and IteratorTraitsmisterg2018-10-051-13/+0
| | | | PiperOrigin-RevId: 215916605
* Apply clang-tidy modernize-use-nullptr to googletest.Abseil Team2018-10-059-68/+55
| | | | | | | | | | | Now that googletest has moved to C++11, it should no longer use NULL or 0 for the null pointer. This patch converts all such usages to nullptr using clang-tidy. This prevents LLVM from issuing -Wzero-as-null-pointer-constant warnings. PiperOrigin-RevId: 215814400
* Merge d830440d48a9502161448bc78be33a53388dd1f4 into ↵1camper2018-10-031-5/+2
| | | | | | | | f5260ae757a681566d8f7d0558b8dc0551036506 Closes #1830 PiperOrigin-RevId: 215563532
* Merge 2ce0685f76a4db403b7b2650433a584c150f2108 into ↵Arseny Aprelev2018-10-023-6/+35
| | | | | | | | | 75e834700d19aa373b428c7c746f951737354c28 Closes #1544 With refinements and changes PiperOrigin-RevId: 215273083
* Googletest exportAbseil Team2018-09-251-64/+39
| | | | | | Project import generated by Copybara. PiperOrigin-RevId: 214456152
* Googletest exportmisterg2018-09-251-39/+64
| | | | | | Project import generated by Copybara. PiperOrigin-RevId: 214441835
* Googletest exportAbseil Team2018-09-251-66/+39
| | | | | | | Project import generated by Copybara. Including recently accepted and merged PRs PiperOrigin-RevId: 213856848
* FormattingGennadiy Civil2018-09-231-9/+7
|
* FormattingGennadiy Civil2018-09-231-61/+64
|
* Rename private member of AdditionalMessageJonny007-MKD2018-09-231-4/+4
| | | | Shorten lines in unit tests
* Readded changes from 6494f5232b130a29321e661166442bac324c4383Jonny007-MKD2018-09-231-15/+41
|
* Merge pull request #1843 from matlo607/fix-unittest-msys-ColoredOutputTestGennadiy Civil2018-09-201-2/+3
|\ | | | | [msys] fix unittest ColoredOutputTest.UsesColorsWhenTermSupportsColors
| * [msys] fix unittest ColoredOutputTest.UsesColorsWhenTermSupportsColorsrefs/pull/1843/headMatthieu Longo2018-09-181-2/+3
| |
* | Googletest exportrefs/pull/1846/headmisterg2018-09-201-0/+1
| | | | | | | | | | | | Fixing broken OSS build, add missing include PiperOrigin-RevId: 213812210
* | Googletest exportAbseil Team2018-09-202-41/+23
| | | | | | | | | | | | support printing std::reference_wrapper<T> in gUnit PiperOrigin-RevId: 213270392
* | Removed some newlinesrefs/pull/1832/headJonny007-MKD2018-09-181-6/+3
| |
* | Avoid these ambiguitiesJonny007-MKD2018-09-151-8/+8
| |
* | Print message of unexpected std::exception in EXPECT_THROW, tooJonny007-MKD2018-09-141-13/+25
| |
* | Make it public again *sigh*Jonny007-MKD2018-09-131-1/+0
| |
* | Avoid implicit move operatorJonny007-MKD2018-09-131-0/+1
| |
* | Try to fix gcc and clang issuesJonny007-MKD2018-09-131-1/+1
| |
* | Added special catch for std::exception in GTEST_TEST_NO_THROW_Jonny007-MKD2018-09-131-3/+20
|/
* Merge branch 'master' into fix-clang-warningsrefs/pull/1433/headGennadiy Civil2018-08-311-1/+1
|\
| * Googletest exportAbseil Team2018-08-311-1/+1
| | | | | | | | | | | | | | | | 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
* | 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 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.
* Googletest exportAbseil Team2018-08-282-53/+135
| | | | | | | | 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-281-6/+8
| | | | | | Breaks Windows builds PiperOrigin-RevId: 210434120
* Googletest exportAbseil Team2018-08-281-8/+6
| | | | | | | | | | | | | | 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-207-1/+41
| | | | | | - 209457654 Import of OSS PR, https://github.com/google/googletest/pu... by misterg <misterg@google.com> PiperOrigin-RevId: 209457654
* FormattingGennadiy Civil2018-08-171-4/+5
|
* Merge branch 'master' into patch-1Gennadiy Civil2018-08-171-2/+2
|\
| * Small formatting changeGennadiy Civil2018-08-161-2/+2
| | | | | | And then we can merge
| * Merge branch 'master' into masterGennadiy Civil2018-08-1527-102/+104
| |\