2481 Commits

Author SHA1 Message Date
misterg
e857f9cdd9 Googletest export
Remove scoped_ptr replace with std::unique_ptr

PiperOrigin-RevId: 219291284
2018-10-30 21:20:43 -04:00
Abseil Team
e0d3c37051 Googletest export
Fix broken Fuchsia cc_test.

PiperOrigin-RevId: 219170936
2018-10-30 21:20:35 -04:00
Gennadiy Civil
cc9dcc5412
Merge pull request #1945 from akonradi/optional-matcher-doc
Add Optional() to the cheat sheet doc.
2018-10-30 09:34:35 -04:00
Alex Konradi
39de88cb9c Add Optional() to the cheat sheet doc.
The Optional() matcher is otherwise undocumented except in the source.
This patch adds it to the cheat sheet for better visibility.
2018-10-29 17:19:53 -04:00
misterg
b9347b31c3 Googletest export
Remove last traces of gtest-linked_ptr.h

PiperOrigin-RevId: 219164781
2018-10-29 14:43:07 -04:00
Gennadiy Civil
e9085769d4 Merge pull request #1941 from barkovv:master
PiperOrigin-RevId: 219134349
2018-10-29 13:46:24 -04:00
misterg
80b43d900b Googletest export
Remove linked_ptr and use std::shared_ptr instead

PiperOrigin-RevId: 219129336
2018-10-29 13:46:16 -04:00
Vadim Barkov
3feffddd1e Replaced all NULLs with nullptr in googlemock 2018-10-28 03:27:51 +03:00
Vadim Barkov
53d61b5b23 Replaced all NULLs with nullptr in googletest 2018-10-28 03:10:37 +03:00
Abseil Team
2e308484d9 Googletest export
[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
2018-10-26 16:23:59 -04:00
Abseil Team
b57c703963 Googletest export
Remove linked_ptr and use std::shared_ptr instead

PiperOrigin-RevId: 218618184
2018-10-26 14:19:59 -04:00
misterg
a50e4f05b3 Googletest export
Remove linked_ptr and use std::shared_ptr instead

PiperOrigin-RevId: 218571466
2018-10-26 14:19:51 -04:00
Gennadiy Civil
8ec8ce1c8a
Merge pull request #1934 from jeffvandyke/patch-2
Change CMake googletest download location in docs
2018-10-24 19:00:57 -04:00
Jeff VanDyke
c45631823c
Change CMake googletest download location in docs
Change CMAKE_BINARY_DIR to CMAKE_CURRENT_BINARY_DIR
Able to use in a subfolder's CMakeLists.txt
2018-10-24 16:41:14 -04:00
Gennadiy Civil
6463ee81ae Merge pull request #1890 from peterjc123:clang_fix
PiperOrigin-RevId: 218515152
2018-10-24 11:26:24 -04:00
durandal
59f90a338b Googletest export
Honor GTEST_SKIP() in SetUp().

PiperOrigin-RevId: 218387359
2018-10-24 11:26:16 -04:00
peter
478a518590
Disable extensions and force standard 2018-10-24 12:17:06 +08:00
peter
f6dadcf1f1
Revert previous changes 2018-10-24 12:06:00 +08:00
peter
96824f11c6
Fix -std=c++11 flag 2018-10-24 12:03:07 +08:00
Gennadiy Civil
3bb00b7ead
Merge pull request #1929 from goatshriek/cmake-cxx11-flag
add documentation of manual c++11 specification
2018-10-23 22:32:15 -04:00
Joel Anderson
9b637237bd add documentation of manual c++11 specification
Per #1883, builds of Google Test may fail if the version C++ is not manually
set to C++11 during the build process.

Signed-off-by: Joel Anderson <joelanderson333@gmail.com>
2018-10-23 20:28:43 -04:00
Gennadiy Civil
7b6b3be342
Update advanced.md
Fixes #1802
2018-10-23 17:27:38 -04:00
Gennadiy Civil
20eaf6e3a9 Merge pull request #1911 from BrukerJWD:isnice
PiperOrigin-RevId: 218384341
2018-10-23 15:13:42 -04:00
Gennadiy Civil
a743780ad0
Update advanced.md
Fixes #1755
2018-10-23 11:16:46 -04:00
Gennadiy Civil
b974af7923
Update advanced.md
Fixes #1925
2018-10-23 11:09:15 -04:00
Gennadiy Civil
90c957c408
Merge pull request #1927 from svg153/patch-1
ACTION table format
2018-10-23 10:51:30 -04:00
Sergio Valverde
58a8da64ce
ACTION table format 2018-10-23 07:57:23 +02:00
Abseil Team
82987067d8 Googletest export
Change ValuesArray to require much less template instantiation depth.

PiperOrigin-RevId: 218170842
2018-10-22 11:29:14 -04:00
Gennadiy Civil
32dbcac06e Merge pull request #1839 from Peter-Levine:python3-tests
PiperOrigin-RevId: 217925156
2018-10-22 11:29:06 -04:00
Gennadiy Civil
572050dd28 Merge pull request #1905 from fandjelo:relocatable-pkgconfig-fix
PiperOrigin-RevId: 217923705
2018-10-22 11:28:57 -04:00
Gennadiy Civil
c955e33497
Merge branch 'master' into python3-tests 2018-10-19 13:30:13 -07:00
Gennadiy Civil
f410177a8b
Update .travis.yml
Revert attempted template depth fix , a real fix is coming
2018-10-19 12:27:17 -07:00
Gennadiy Civil
723f26663f
Update .travis.yml
Testing increasing -ftemplate-depth to fix clang 3.9
2018-10-18 14:27:39 -07:00
misterg
663ef8636a Googletest export
New variadic implementation for gtest-param-test
Removed non-variadic implementation and added variadic for ValueArray and Values

PiperOrigin-RevId: 217703627
2018-10-18 11:32:37 -04:00
Gennadiy Civil
3a7f0934d6 Merge pull request #1912 from kakkoko:fix-xml-name
PiperOrigin-RevId: 217576541
2018-10-18 11:32:30 -04:00
Abseil Team
29b47e45cf Googletest export
C++11 code cleanup.

PiperOrigin-RevId: 217364243
2018-10-18 11:32:16 -04:00
Gennadiy Civil
2c19680bf9
Merge branch 'master' into relocatable-pkgconfig-fix 2018-10-17 09:51:26 -07:00
kakkoko
baf6845b18 Fix incorrect XML file name in help message 2018-10-17 10:09:09 +09:00
Jonathan Wendeborn
0cefda7749
Removed last reference to internal::kDefault 2018-10-16 08:51:33 +02:00
Jonathan Wendeborn
96d1615772
Merge branch 'isnice' of https://github.com/BrukerJWD/googletest into isnice 2018-10-16 08:38:34 +02:00
BrukerJWD
8c82ba48e4
Merge branch 'master' into isnice 2018-10-16 08:37:56 +02:00
Jonathan Wendeborn
386391b014
Use existing Mock::GetReactionOnUninterestingCalls() 2018-10-16 08:37:45 +02:00
Jonathan Wendeborn
6bbf911a8d
Don't fully qualify enum member 2018-10-16 08:19:02 +02:00
Jonathan Wendeborn
67a240a107
Added Mock::IsNaggy, IsNice, and IsStrict 2018-10-16 08:07:15 +02:00
Gennadiy Civil
a651a4d44e Merge pull request #1908 from rwoldberg:master
PiperOrigin-RevId: 216909845
2018-10-12 16:12:32 -04:00
Robert Woldberg
dec3b81a08 Change types to remove cast warnings. 2018-10-12 11:12:55 -06:00
Gennadiy Civil
754cb8ed96
Merge branch 'master' into relocatable-pkgconfig-fix 2018-10-12 12:44:33 -04:00
misterg
864b6c2d35 Remove duplicate functionality PrintValue (in googletest-param-test-test.cc), use testing::PrintToString
PiperOrigin-RevId: 216733373
2018-10-11 16:15:32 -04:00
KO Myung-Hun
b3b19a796c Merge c41b2bf861ef2ac1a975af05ff66d9256f280b01 into f203b2db77161fe54846ea9e839ebec81aeeccac
Closes #1899

PiperOrigin-RevId: 216719020
2018-10-11 13:31:25 -04:00
Gennadiy Civil
f203b2db77
Merge pull request #1902 from theryee/typo
Fix typo
2018-10-11 13:15:47 -04:00
David Neto
ad997b16b5 Merge 4c92120d6dedb4eeb499a8702faea0224e0a8b23 into 658c6390a5b363f46c6ad448ad1bce9d6e97e53a
Closes #1893

PiperOrigin-RevId: 216712426
2018-10-11 12:52:55 -04:00
Aaron Dierking
e7327c13f6 Merge 41fc9745d4a448db7d932250d22fac1dda287443 into 658c6390a5b363f46c6ad448ad1bce9d6e97e53a
Accepts #1889

PiperOrigin-RevId: 216709878
2018-10-11 12:44:07 -04:00
Abseil Team
bc6a4ce380 Project import generated by Copybara.
PiperOrigin-RevId: 216423319
2018-10-11 12:44:00 -04:00
misterg
0e71eb069a Internal Change
PiperOrigin-RevId: 216417182
2018-10-11 12:43:52 -04:00
Filipp Andjelo
095b3113e7 Use pcfiledir for prefix in pkgconfig file
Using absolute paths in the pkg-config file makes it not relocatable and
leads to problems, when trying to use it with precompiled cross
toolchains. Setting prefix to relative path based on pcfiledir makes it
more reliable for such cases.
2018-10-11 14:09:57 +02:00
Ryan Yee
4d50ab75a7
Merge branch 'master' into typo 2018-10-11 01:22:25 -07:00
Ryan Yee
a83429f5d3 fix typo 2018-10-11 01:13:09 -07:00
Gennadiy Civil
658c6390a5
Merge pull request #1898 from spartucus/master
Update .gitignore
2018-10-10 15:28:58 -04:00
Tengfei Niu
8193ed069c
Update .gitignore
ignore .DS_Store on macOS.
2018-10-10 11:53:37 +08:00
misterg
78761b58fc Remove non-variadic pre C++11 AnyOf
PiperOrigin-RevId: 216411381
2018-10-09 16:30:37 -04:00
Abseil Team
7d3b73c85a Unconditionally use std::tuple.
Remove all mention of TR1 tuple and our own implementation of tuple.

PiperOrigin-RevId: 216395043
2018-10-09 16:25:58 -04:00
misterg
5434989dbd Remove testing::internal::BothOfMatcher, no longer needed
PiperOrigin-RevId: 216389313
2018-10-09 16:25:51 -04:00
Abseil Team
b652edb39c Apply [[noreturn]] to Abort()
PiperOrigin-RevId: 216383938
2018-10-09 16:25:44 -04:00
Gennadiy Civil
7a1e9114a4
Update Makefile.am
Remove references to gtest tupe
2018-10-09 15:47:46 -04:00
Gennadiy Civil
689ac9fbd0
Update BUILD.bazel
Remove references to googletest-tuple-test.cc
2018-10-09 15:42:49 -04:00
Gennadiy Civil
5ae4f62225
Update README.md
Closes #587
2018-10-09 11:45:47 -04:00
Gennadiy Civil
272c08380a
Delete CHANGES
We are not maintaining change log, it has not been touched for a long time
2018-10-09 11:16:06 -04:00
Gennadiy Civil
ac7ed4046c
Delete CHANGES
We are not maintaining change log, it has not been touched for a very long time
2018-10-09 11:15:26 -04:00
Eisoku Kuroiwa
a31d6f9057 Merge c1170881039e859738c62b02a918116fc6d346bc into 27c86f29417e53a622a2902baab2d1d82dafc5f9
Closes #1888

PiperOrigin-RevId: 216244924
2018-10-08 17:07:13 -04:00
misterg
4ac07de8de Fixing AllOfMatches test, where it properly belongs
PiperOrigin-RevId: 216193701
2018-10-08 17:07:05 -04:00
misterg
27c86f2941 always define define GTEST_LANG_CXX11 1
PiperOrigin-RevId: 216184859
2018-10-08 10:51:12 -04:00
misterg
fab35920ad Remove non-variadic pre C++11 AllOf
PiperOrigin-RevId: 216183352
2018-10-08 10:51:03 -04:00
Gennadiy Civil
3149e0e88b
Merge branch 'master' into python3-tests 2018-10-05 16:23:55 -04:00
Gennadiy Civil
40f82ce56a
Update primer.md
fixes #1709
2018-10-05 16:23:08 -04:00
misterg
07c4753a17 Remove pre-C++11 code from gtest-printers
PiperOrigin-RevId: 215941759
2018-10-05 15:17:01 -04:00
Abseil Team
f8a1481c0a Make GTestColor and ColoredPrintF available as internal APIs from gtest.h. This is for use in abseil exception safety testing.
PiperOrigin-RevId: 215920581
2018-10-05 12:54:28 -04:00
misterg
c28ce41590 Removed pre-C++11 IsContainerTest and IteratorTraits
PiperOrigin-RevId: 215916605
2018-10-05 12:54:21 -04:00
Abseil Team
4bb49ed640 Apply clang-tidy modernize-use-nullptr to googletest.
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
2018-10-05 12:54:14 -04:00
misterg
f13bbe2992 Remove checking for C++ 11 and a pre-C++11 test from googletest tests
PiperOrigin-RevId: 215789971
2018-10-04 16:10:50 -04:00
Gennadiy Civil
4b82df5bb3
Merge branch 'master' into python3-tests 2018-10-04 15:08:14 -04:00
1camper
bea3d61975 Merge d830440d48a9502161448bc78be33a53388dd1f4 into f5260ae757a681566d8f7d0558b8dc0551036506
Closes #1830

PiperOrigin-RevId: 215563532
2018-10-03 16:11:12 -04:00
Matthieu
f5260ae757 Merge c798e39a4f96f5a985126cc3fab4738b6412cfc1 into e93da23920e5b6887d6a6a291c3a59f83f5b579e
Closes #1836

PiperOrigin-RevId: 215461025
2018-10-02 17:41:16 -04:00
Gennadiy Civil
e93da23920 Merge 68b8a4c60cd80c78e1875b77807fa13cdd2313f8 into 77962730563eece3525f40b8769e4ca0c6baf64c
Closes #1880

PiperOrigin-RevId: 215429534
2018-10-02 14:52:38 -04:00
Marco Bubke
7796273056 Merge 86fe8a25eb5a6e4546f9e39cf23a5c764217bf85 into 440527a61e1c91188195f7de212c63c77e8f0a45
Closes #1867

PiperOrigin-RevId: 215392714
2018-10-02 13:03:35 -04:00
Arseny Aprelev
00938b2b22 Merge 2ce0685f76a4db403b7b2650433a584c150f2108 into 75e834700d19aa373b428c7c746f951737354c28
Closes #1544
With refinements and changes

PiperOrigin-RevId: 215273083
2018-10-02 13:03:28 -04:00
Gennadiy Civil
2e91bbcf6f
Merge pull request #1875 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-10-01 14:53:59 -04:00
misterg
a7b21c950d Googletest export
Internal Change

PiperOrigin-RevId: 215236414
2018-10-01 14:31:07 -04:00
durandal
be429c8924 Googletest export
Add myself to the authors table.

PiperOrigin-RevId: 214822035
2018-10-01 14:30:53 -04:00
Gennadiy Civil
6316d89433
Merge pull request #1872 from jerryturcios08/master
Add C++11 standard in the root CMakeLists.txt
2018-10-01 11:38:26 -04:00
Jerry Turcios
cba3474435 Add a cached variable to CMAKE_CXX_STANDARD 2018-09-30 12:27:05 -04:00
Jerry Turcios
d97dea39b9 Add C++11 support in the root CMakeLists.txt 2018-09-28 14:55:43 -04:00
Gennadiy Civil
440527a61e
Update appveyor.yml
Since we only one one MinGW left, lets enable it on PRs
2018-09-26 21:52:12 -07:00
Gennadiy Civil
907ae9edad
Merge branch 'master' into python3-tests 2018-09-25 22:09:27 -07:00
Gennadiy Civil
75e834700d
Merge pull request #1864 from google/revert-1853-appveyor-mingw-enable-tests-again
Revert "[mingw] enable the unittests for gmock and gtest again"
2018-09-25 22:06:05 -07:00
Gennadiy Civil
c2a2f49a3d
Revert "[mingw] enable the unittests for gmock and gtest again" 2018-09-25 21:58:40 -07:00
Gennadiy Civil
707b3b25c8
Merge pull request #1855 from zach2good/issue1854_remove_i386_xcode10
Issue #1854: remove support for i386 for XCode 10
2018-09-25 21:44:35 -07:00
Gennadiy Civil
a6b5c58ec8
Merge pull request #1853 from matlo607/appveyor-mingw-enable-tests-again
[mingw] enable the unittests for gmock and gtest again
2018-09-25 21:44:13 -07:00
Gennadiy Civil
9241466921
Merge branch 'master' into appveyor-mingw-enable-tests-again 2018-09-25 21:29:51 -07:00
Gennadiy Civil
0809c68040
Merge pull request #1862 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export (and revert #1850)
2018-09-25 21:29:20 -07:00
Gennadiy Civil
220e790a96
Keep one MinGW build, remove the others 2018-09-25 20:57:46 -07:00