203 Commits

Author SHA1 Message Date
Philipp Paulweber
8e1e30b863 Printers test: fixed compilation bug, due to unnecessary parentheses in declaration 2018-08-03 12:01:30 +02:00
Gennadiy Civil
d3275ce2dc cmake fixes 2018-08-02 17:46:43 -04:00
Gennadiy Civil
1119f2f61d more fixes 2018-08-02 17:32:43 -04:00
Gennadiy Civil
68335f219b fixes tests 2018-08-02 16:51:03 -04:00
Gennadiy Civil
b872114b29 cmake test fixes 2018-08-02 16:24:09 -04:00
Gennadiy Civil
561597a454 cleaning up and adding test changes to CMake 2018-08-02 14:56:33 -04:00
Gennadiy Civil
5cdd4d77b0 Merge branch 'master' of https://github.com/google/googletest 2018-08-01 17:26:04 -04:00
Gennadiy Civil
8c47b27731 various changes to tests 2018-08-01 17:06:17 -04:00
Gennadiy Civil
02eb896a9f more test changes 2018-08-01 16:23:20 -04:00
Gennadiy Civil
91b19095d6 adding googletest-json-output unitest 2018-08-01 16:12:09 -04:00
Gennadiy Civil
0232c55b8f more test changes 2018-08-01 15:34:30 -04:00
Gennadiy Civil
7484c0c71d more tests changes 2018-08-01 15:02:28 -04:00
Gennadiy Civil
ca37b04444 googletest list tests unitest 2018-08-01 13:49:29 -04:00
Gennadiy Civil
c96fc5d663 gtest catch exceptions test and gtest shuffle test 2018-08-01 13:32:07 -04:00
Gennadiy Civil
f7908c20dd changes to googletest break on failure and googletest filter unittests 2018-08-01 11:46:43 -04:00
Gennadiy Civil
a4eb351386 changes for googletest env var test 2018-08-01 11:35:13 -04:00
Gennadiy Civil
e24a161caf googltest-color-test changes 2018-08-01 11:32:08 -04:00
Gennadiy Civil
c1134716ab googletest-output-test changes 2018-08-01 11:28:24 -04:00
Gennadiy Civil
4a0b628d2a Merge branch 'master' into master 2018-08-01 11:09:34 -04:00
Gennadiy Civil
b9f30b8d67 Formatting changes and upstreaming one test 2018-08-01 11:07:22 -04:00
Gennadiy Civil
5e61f7662e Merge branch 'master' into deprecate 2018-07-26 13:04:53 -04:00
Piotr Kąkol
65e7d50e3e Updated broken and outdated URLs 2018-07-25 19:19:26 +02:00
Gennadiy Civil
c0f448fde4 Formatting changes, code sync 2018-07-25 10:24:13 -04:00
Loo Rong Jie
3e978aa4bc Disable MSVC function deprecation when using Clang 2018-07-13 21:23:28 +08:00
Derek Mauro
80ef621afa Adds stacktrace support from Abseil to Google Test
This change adds the ability to generate stacktraces in Google Test on
both failures of assertions/expectations and on crashes. The
stacktrace support is conditionally available only when using Abseil
with Google Test.

To use this support, run the test under Bazel with a command like this:

bazel test --define absl=1 --test_env=GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1 //path/to/your:test

The "--define absl=1" part enables stacktraces on assertion/expectation
failures.

The "--test_env=GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1" part enables
the signal handler that logs a stacktrace in the event of a crash
(this also requires the "--define absl=1" part). This is not the
default since it may interfere with existing tests.
2018-07-10 14:30:42 -04:00
Rohan Joyce
fd7e756b96 Eliminate GTEST_TEST_FILTER_ENV_VAR_.
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.
2018-06-14 15:45:55 -04:00
Gennadiy Civil
3a833870c3 Upstream, cl/199129756
Add printer for std::nullptr_t, addressing https://github.com/google/googletest/issues/1616
2018-06-04 10:45:56 -04:00
Gennadiy Civil
5bf664a82c Formatting changes 2018-05-23 11:03:31 -04:00
James Dennett
3c6deade28 Merge branch 'master' into StdLibVersioning 2018-05-21 10:57:01 -07:00
James Dennett
819e651cea Add unit test for CanonicalizeForStdLibVersioning. 2018-05-10 22:33:29 -07:00
Jae Heon Lee
dace0609bf Fix the bug where ad_hoc_test_result() functions of UnitTest and TestCase objects would return failures registered at TestCase and UnitTest scopes, respectively. 2018-05-07 14:09:37 -07:00
Fabrice de Gans-Riberi
9806d532e8 Fix more stuff and get tests to pass 2018-05-03 12:06:45 -07:00
Gennadiy Civil
c0ffe6ed80 merging 2018-04-11 13:20:36 -04:00
Gennadiy Civil
fdc03e450a Upstreaming, cl 191344765 2018-04-03 16:14:35 -04:00
Gennadiy Civil
b7e7102bb3 merges, gtest 2018-03-26 13:04:28 -04:00
Gennadiy Civil
685635069f reverting gtest_list_tests_unittest.py 2018-03-22 12:37:38 -04:00
Gennadiy Civil
d12860c513 more merges 2018-03-22 10:58:18 -04:00
Gennadiy Civil
8dcfeca51f more merges 2018-03-22 10:56:35 -04:00
Gennadiy Civil
dd2cc36420 cl 189032107, again 2018-03-16 15:56:31 -04:00
Gennadiy Civil
78eb71c7e3 merge, again, IsRecursiveContainer 2018-03-15 14:31:37 -04:00
Gennadiy Civil
ab8042e409 erging, cont 2018-03-14 10:49:18 -04:00
Gennadiy Civil
5c87ce09b5 merging, merging 2018-03-13 16:02:05 -04:00
Gennadiy Civil
6aaae39fdc fixing, was removing too much 2018-03-13 11:53:27 -04:00
Gennadiy Civil
033c81bd1f Merge branch 'master' of https://github.com/google/googletest 2018-03-13 11:13:58 -04:00
Gennadiy Civil
92be48af66 More merges, removing old dead code 2018-03-13 11:13:37 -04:00
Bernhard Bauer
77965a7da1 Merge branch 'master' into upstream_188748737 2018-03-12 18:15:35 +00:00
Bernhard Bauer
cb2dd89007 Allow macros inside of parametrized test names.
This allows doing things like TEST_P(TestFixture, MAYBE(TestName))
for nicer conditional test disabling.

Upstream of cr/188748737.

Tested:
Added unit tests MacroNamingTest and MacroNamingTestNonParametrized.
2018-03-12 18:14:06 +00:00
Gennadiy Civil
744688e8bc Merging, XML tests 2018-03-07 15:57:55 -05:00
Gennadiy Civil
b39f4ff8d0 merges-6 2018-03-05 14:21:41 -05:00
Gennadiy Civil
193af9ad36 merges-3 2018-03-05 13:51:39 -05:00