summaryrefslogtreecommitdiffstats
path: root/googletest/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Googletest exportdurandal2018-11-291-45/+46
| | | | | | Accept gmock matchers in EXPECT_EXIT and friends to allow matches other than simple regex matches on death output. PiperOrigin-RevId: 223035409
* Googletest exportmisterg2018-11-202-2/+2
| | | | | | Internal Change PiperOrigin-RevId: 222123106
* Googletest exportdurandal2018-11-202-0/+153
| | | | | | Move the Matcher<T> interface to googletest so I can use it to extend death test regex matching in a subsequent change. PiperOrigin-RevId: 221675910
* Remove workarounds for unsupported MSVC versionsRobin Lindén2018-11-101-16/+3
|
* Googletest exportAbseil Team2018-10-311-8/+19
| | | | | | | | | | [Fuchsia] Create the death test child process in a separate job. This creates a separate job to launch the child process into. The exception port can then be attached to the new job before the child process is launched, solving a potential race condition. PiperOrigin-RevId: 219366531
* Googletest exportmisterg2018-10-312-5/+6
| | | | | | Remove scoped_ptr replace with std::unique_ptr PiperOrigin-RevId: 219291284
* Googletest exportAbseil Team2018-10-311-2/+3
| | | | | | Fix broken Fuchsia cc_test. PiperOrigin-RevId: 219170936
* Merge pull request #1941 from barkovv:masterGennadiy Civil2018-10-294-85/+77
|\ | | | | | | PiperOrigin-RevId: 219134349
| * Replaced all NULLs with nullptr in googletestVadim Barkov2018-10-284-59/+59
| |
* | Googletest exportmisterg2018-10-292-8/+7
|/ | | | | | Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 219129336
* Googletest exportAbseil Team2018-10-261-51/+107
| | | | | | | | | [Fuchsia] Make the child process stderr redirection use a socket. This changes the stderr redirection mechanism for the child process in Fuchsia death tests to use a Zircon socket rather than fd redirection. This should improve performance and reliability of the redirection process. This also includes some minor style cleanups. PiperOrigin-RevId: 218903196
* Googletest exportAbseil Team2018-10-262-7/+8
| | | | | | Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 218618184
* Googletest exportmisterg2018-10-262-8/+7
| | | | | | Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 218571466
* Googletest exportdurandal2018-10-241-4/+6
| | | | | | Honor GTEST_SKIP() in SetUp(). PiperOrigin-RevId: 218387359
* Fix incorrect XML file name in help messagerefs/pull/1912/headkakkoko2018-10-171-1/+1
|
* Merge c41b2bf861ef2ac1a975af05ff66d9256f280b01 into ↵KO Myung-Hun2018-10-112-2/+2
| | | | | | | | f203b2db77161fe54846ea9e839ebec81aeeccac Closes #1899 PiperOrigin-RevId: 216719020
* Merge 41fc9745d4a448db7d932250d22fac1dda287443 into ↵Aaron Dierking2018-10-111-0/+3
| | | | | | | | 658c6390a5b363f46c6ad448ad1bce9d6e97e53a Accepts #1889 PiperOrigin-RevId: 216709878
* Make GTestColor and ColoredPrintF available as internal APIs from gtest.h. ↵Abseil Team2018-10-051-15/+6
| | | | | | This is for use in abseil exception safety testing. PiperOrigin-RevId: 215920581
* Apply clang-tidy modernize-use-nullptr to googletest.Abseil Team2018-10-058-141/+129
| | | | | | | | | | | 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 2ce0685f76a4db403b7b2650433a584c150f2108 into ↵Arseny Aprelev2018-10-023-15/+94
| | | | | | | | | 75e834700d19aa373b428c7c746f951737354c28 Closes #1544 With refinements and changes PiperOrigin-RevId: 215273083
* 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]
* Googletest exportAbseil Team2018-08-283-510/+244
| | | | | | Breaks Windows builds PiperOrigin-RevId: 210434120
* Googletest exportAbseil Team2018-08-283-244/+510
| | | | | | | | | | | | | | 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 72a2836945e7a3dcee0730166704587e10bf64ee into ↵David Schuldenfrei2018-08-271-71/+139
| | | | | | | | | | 1d9a1912e7f42e8ae66ea365b5b8508fecb31509 Closes #1658 Review and changes, mister@google.com PiperOrigin-RevId: 210374286
* 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 exportmisterg2018-08-201-0/+5
| | | | | | - 209457654 Import of OSS PR, https://github.com/google/googletest/pu... by misterg <misterg@google.com> PiperOrigin-RevId: 209457654
* Merge branch 'master' into fix_death_test_child_mingw_wer_issue1116refs/pull/1120/headGennadiy Civil2018-08-201-0/+17
|\
| * Minor formatting/style changesGennadiy Civil2018-08-171-8/+7
| |
| * Merge branch 'master' into fix-argcConor Burgess2018-08-1710-197/+1018
| |\
| * \ Merge branch 'master' into fix-argcConor Burgess2018-02-126-37/+137
| |\ \
| * \ \ Merge branch 'master' into fix-argcConor Burgess2018-01-126-104/+58
| |\ \ \
| * | | | Fix location of `_NSGetArgv` correction.Conor Burgess2017-12-071-10/+11
| | | | |
| * | | | Fix value pointed to by `_NSGetArgc()` on macOSConor Burgess2017-12-071-0/+16
| | | | |
* | | | | Merge branch 'master' into fix_death_test_child_mingw_wer_issue1116Tanzinul Islam2018-08-1710-67/+140
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Small style changes. refs/pull/1142/headGennadiy Civil2018-08-161-14/+8
| | | | | | | | | | | | | | | Just small style changes and we can accept this PR
| * | | | Merge branch 'master' into masterGennadiy Civil2018-08-1610-309/+1144
| |\ \ \ \
| | * | | | Comments changes, no functionality changes. Gennadiy Civil2018-08-146-24/+24
| | | | | |
| | * | | | Comments changes, no functionality changesrefs/pull/1740/headGennadiy Civil2018-08-149-19/+8
| | | | | |
| | * | | | Merge branch 'master' into deprecaterefs/pull/1665/headGennadiy Civil2018-08-142-4/+7
| | |\ \ \ \
| | | * | | | Code formatting changes, clean up, no functionality changesrefs/pull/1738/headGennadiy Civil2018-08-141-1/+0
| | | | | | |
| | | * | | | code management comments, [ci-skip], no functionality changesGennadiy Civil2018-08-091-0/+1
| | | | | | |
| | | * | | | Fixing identation, causes build errors when warnings are treated as errorsrefs/pull/1721/headGennadiy Civil2018-08-091-1/+2
| | | | | | |
| | | * | | | Update gtest-death-test.ccGennadiy Civil2018-08-091-7/+9
| | | | | | |
| | | * | | | Fixing identation, causes build errors when warnings are treated as errorsGennadiy Civil2018-08-091-2/+2
| | | | | | |
| | * | | | | Merge branch 'master' into deprecateLoo Rong Jie2018-08-092-15/+54
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | Merge branch 'master' of https://github.com/google/googletestGennadiy Civil2018-08-082-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Formatting changes and code sync Merge branch 'master' of https://github.com/google/googletest
| | | * | | | No default exception handlingWez2018-08-031-15/+50
| | | | | | |
| | * | | | | Merge branch 'master' into deprecateGennadiy Civil2018-08-031-1/+1
| | |\ \ \ \ \ | | | |/ / / /
| | * | | | | Merge branch 'master' into deprecateGennadiy Civil2018-07-301-1/+1
| | |\ \ \ \ \