summaryrefslogtreecommitdiffstats
path: root/googletest/include
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
| |\
| * \ Merge branch 'master' into mastertisi19882018-08-141-0/+2
| |\ \
| * \ \ Merge branch 'master' into mastertisi19882018-08-092-1/+4
| |\ \ \
| * \ \ \ Merge branch 'master' into mastertisi19882018-08-071-3/+3
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into mastertisi19882018-08-0124-2/+44
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into mastertisi19882018-07-232-5/+24
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'master' into mastertisi19882018-07-121-1/+1
| |\ \ \ \ \ \ \
| * | | | | | | | FIX: Compilation warning with GCC regarding a non-initialised member from ↵tisi19882018-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MutexBase class.
* | | | | | | | | Merge branch 'master' into patch-1Gennadiy Civil2018-08-1528-112/+180
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ | |/| | | | | | |
| * | | | | | | | Comments changes, no functionality changes. Gennadiy Civil2018-08-147-12/+12
| | | | | | | | |
| * | | | | | | | Comments changes, no functionality changesrefs/pull/1740/headGennadiy Civil2018-08-1423-43/+14
| | | | | | | | |
| * | | | | | | | Merge branch 'master' into deprecaterefs/pull/1665/headGennadiy Civil2018-08-145-45/+62
| |\ \ \ \ \ \ \ \
| | * | | | | | | | formatting custom/README.mdGennadiy Civil2018-08-141-10/+10
| | | | | | | | | |
| | * | | | | | | | formatting for new READMEsGennadiy Civil2018-08-131-22/+22
| | | | | | | | | |
| | * | | | | | | | Move instructions into custom/README filesGennadiy Civil2018-08-134-45/+60
| | | |_|_|_|_|_|/ | | |/| | | | | |
| | * | | | | | | code management comments, [ci-skip], no functionality changesGennadiy Civil2018-08-091-0/+2
| | | |_|_|_|_|/ | | |/| | | | |
| * | | | | | | Merge branch 'master' into deprecateLoo Rong Jie2018-08-092-1/+4
| |\ \ \ \ \ \ \ | | |/ / / / / /
| | * | | | | | code management changes, no functionalty changesrefs/pull/1713/headGennadiy Civil2018-08-081-0/+2
| | | | | | | |
| | * | | | | | Formatting changes,small cleanup, no functionality changesrefs/pull/1705/headGennadiy Civil2018-08-071-1/+2
| | | |_|_|_|/ | | |/| | | |
| * | | | | | Merge branch 'master' into deprecateGennadiy Civil2018-08-031-3/+3
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Merge branch 'master' into masterrefs/pull/1685/headGennadiy Civil2018-07-3024-0/+43
| | |\ \ \ \ \ | | | | |_|_|/ | | | |/| | |
| | * | | | | Updated broken and outdated URLsPiotr Kąkol2018-07-251-3/+3
| | | | | | |
| * | | | | | Merge branch 'master' into deprecateGennadiy Civil2018-07-3024-0/+43
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | |
| | * | | | | added missing commentsrefs/pull/1688/headGennadiy Civil2018-07-272-2/+2
| | | | | | |
| | * | | | | Formatting changes for automatic code managementGennadiy Civil2018-07-2724-0/+43
| | |/ / / /
| * | | | | Merge branch 'master' into deprecateGennadiy Civil2018-07-261-2/+1
| |\ \ \ \ \ | | |/ / / /
| | * | | | Formatting changes, code syncrefs/pull/1684/headGennadiy Civil2018-07-251-2/+1
| | | |_|/ | | |/| |
| * | | | Merge branch 'master' into deprecateGennadiy Civil2018-07-201-4/+0
| |\ \ \ \ | | |/ / /
| | * | | code mergerefs/pull/1676/headGennadiy Civil2018-07-201-4/+0
| | | | |
| * | | | Merge branch 'master' into deprecateGennadiy Civil2018-07-191-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Formatting and a linkGennadiy Civil2018-07-181-1/+1
| | | | |
| * | | | Disable MSVC function deprecation when using ClangLoo Rong Jie2018-07-131-2/+18
| |/ / /
| * | | Adds the UniversalPrinter for absl::variant.refs/pull/1662/headDerek Mauro2018-07-121-0/+23
| | |/ | |/|
| * | VS2005 with SP1(_MSC_VER=1400) already supports __pragma杜修杏2018-06-291-1/+1
| |/
* | Cast the tr1::tuple_element template parameter to intmedithe2018-07-091-2/+2
|/ | | | | | | | | | | Because in `std::tr1::tuple_element` the first template parameter should be of type int (https://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.4/a00547.html), but the code inserts a size_t, the first template parameter should be casted to int before, to get rid of the following errors: googletest-src/googletest/include/gtest/gtest-printers.h:957:60: error: conversion from ‘long unsigned int’ to ‘int’ may change value [-Werror=conversion] struct tuple_element : ::std::tr1::tuple_element<I, Tuple> {}; and googletest-src/googletest/include/gtest/gtest-printers.h:961:56: error: conversion from ‘long unsigned int’ to ‘int’ may change value [-Werror=conversion] const typename ::std::tr1::tuple_element<I, Tuple>::type>::type get(
* Eliminate GTEST_TEST_FILTER_ENV_VAR_.refs/pull/1622/headRohan Joyce2018-06-141-5/+0
| | | | | | | | GTEST_TEST_FILTER_ENV_VAR_ was used to specify an environment variable to obtain the default test filter from. By default it was unset which broke "--test_filter" for bazel. This CL eliminates GTEST_TEST_FILTER_ENV_VAR_ and explicitly obtains the default test filter from the environment variable TESTBRIDGE_TEST_ONLY if it exists.
* Upstream, cl/199129756refs/pull/1620/headGennadiy Civil2018-06-041-0/+4
| | | Add printer for std::nullptr_t, addressing https://github.com/google/googletest/issues/1616
* Formatting changes refs/pull/1607/headGennadiy Civil2018-05-2314-14/+14
|
* Downgrade to C++98.refs/pull/1601/headJames Dennett2018-05-211-6/+6
| | | Some projects cannot handle C++11 yet.
* Downgrade to C++98 code.James Dennett2018-05-211-6/+6
| | | Some users are not ready for C++11 yet.
* Add support for versioned standard libraries.James Dennett2018-05-111-2/+18
| | | This canonicalizes demangled names by omitting a nested inline namespace within namespace std if the name of the nested namespace begins with a double underscore. This improves compatibility with libc++.
* Update generated code.James Dennett2018-05-111-2/+18
|