2554 Commits

Author SHA1 Message Date
Dominic Jodoin
ea5e941d84
Change directory ownership earlier 2018-12-11 22:50:17 -05:00
Dominic Jodoin
b5c08cb9f4
Cache gcc and clang APT packages 2018-12-10 12:58:45 -05:00
Gennadiy Civil
695cf7c962 Merge pull request #1997 from gpakosz:GTEST_IS_THREADSAFE
PiperOrigin-RevId: 224054240
2018-12-05 11:44:05 -05:00
Gennadiy Civil
fe14e30307
Merge pull request #1995 from siddhanjay/patch-1
Fixed typo
2018-12-04 10:02:31 -05:00
Abseil Team
3d71ab4c37 Googletest export
Deduce SizeType for SizeIs() from the return value of the size() member function

PiperOrigin-RevId: 223835674
2018-12-04 09:45:03 -05:00
Gregory Pakosz
067aa4c28b Do not define GTEST_IS_THREADSAFE within GTEST_HAS_SEH 2018-12-04 14:47:24 +01:00
misterg
3fd66989bb Googletest export
Fix bazel issue

PiperOrigin-RevId: 223829127
2018-12-03 14:22:48 -05:00
Gennadiy Civil
214521a148
Update WORKSPACE
Need this for bazel change
2018-12-03 14:18:47 -05:00
Gennadiy Civil
a28a71ae41
Update README.md 2018-12-03 14:04:04 -05:00
Gennadiy Civil
10e82d01d9
Update README.md
Fix build icon location
2018-12-03 14:00:02 -05:00
misterg
ba344cbc40 Googletest export
Fix bazel issue

PiperOrigin-RevId: 223823930
2018-12-03 13:58:20 -05:00
Abseil Team
26743363be Googletest export
Applied fixes for ClangTidy modernize-use-override and modernize-use-using.

PiperOrigin-RevId: 223800219
2018-12-03 12:54:11 -05:00
Abseil Team
a42cdf2abd Googletest export
Replace pump'd Args() matcher with variadic templates.

PiperOrigin-RevId: 223794430
2018-12-03 12:54:02 -05:00
Siddhanjay Godre
775a176312
Fixed typo 2018-12-04 01:29:36 +08:00
durandal
8fbf9d16a6 Googletest export
Fix: remove two added testcases that depend on gmock; I'll put them back later in a way that doesn't break the build.
PiperOrigin-RevId: 223227562
2018-11-28 23:10:23 -05:00
durandal
b22d23667b Googletest export
Accept gmock matchers in EXPECT_EXIT and friends to allow matches other than simple regex matches on death output.

PiperOrigin-RevId: 223035409
2018-11-28 23:10:17 -05:00
Gennadiy Civil
191f9336bc Merge pull request #1977 from lukasm91:issue_1955_remove_pthread_flags
PiperOrigin-RevId: 222861732
2018-11-26 16:38:13 -05:00
misterg
fca458cab7 Googletest export
Internal Change

PiperOrigin-RevId: 222412033
2018-11-26 16:38:00 -05:00
Gennadiy Civil
915f6cfef3
Update .travis.yml 2018-11-26 16:21:03 -05:00
Gennadiy Civil
5404fd7d06
Update .travis.yml 2018-11-26 16:06:40 -05:00
Gennadiy Civil
2f126c74d2
Update .travis.yml 2018-11-26 16:00:24 -05:00
Gennadiy Civil
87589af5ba
Update .travis.yml 2018-11-26 15:44:23 -05:00
Gennadiy Civil
28a3261fdf
Create CODE_OF_CONDUCT.md 2018-11-26 13:44:23 -05:00
Lukas Mosimann
ce526b8700 Issue #1955: Remove THREADS_PREFER_PTHREAD_FLAG 2018-11-22 08:19:56 +01:00
Gennadiy Civil
3cf8f514d8
Update build badge 2018-11-20 15:00:35 -05:00
misterg
a3013cceff Googletest export
Fix broken OSS build

PiperOrigin-RevId: 222244158
2018-11-20 13:30:32 -05:00
Abseil Team
f7779eb3cb Googletest export
Remove unintended dependency.

PiperOrigin-RevId: 222243874
2018-11-20 13:30:24 -05:00
Abseil Team
64368e0584 Googletest export
Remove redundant Base/Derived types.

PiperOrigin-RevId: 222243634
2018-11-20 13:30:16 -05:00
misterg
bb7c0ecbdf Googletest export
Silence C4100 msvc warning

PiperOrigin-RevId: 222242329
2018-11-20 13:30:06 -05:00
misterg
b492666068 Googletest export
Internal Change

PiperOrigin-RevId: 222123106
2018-11-20 13:29:55 -05:00
Abseil Team
c2989fe29b Googletest export
Add stringization based tests for gmock-pp.h macros

PiperOrigin-RevId: 221961835
2018-11-20 13:29:47 -05:00
Abseil Team
5dab7be70d Googletest export
Validate spec modifiers.

PiperOrigin-RevId: 221810235
2018-11-20 13:29:40 -05:00
Abseil Team
45d66d81be Googletest export
Point IWYU at an existent path.

PiperOrigin-RevId: 221797154
2018-11-20 13:29:32 -05:00
durandal
8e86f67261 Googletest export
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
2018-11-20 13:29:20 -05:00
Abseil Team
aac18185eb Googletest export
Upgrade WithArgs family of actions to C++11.

PiperOrigin-RevId: 221671690
2018-11-20 13:29:12 -05:00
Abseil Team
e46e87bb1f Googletest export
Unify implementation of GMOCK_PP_REPEAT and GMOCK_PP_FOREACH.

PiperOrigin-RevId: 221659669
2018-11-20 13:29:02 -05:00
Abseil Team
c5f08bf919 Googletest export
One macro to rule them all.

PiperOrigin-RevId: 221462515
2018-11-15 16:11:19 -05:00
Gennadiy Civil
d5932506d6
Merge pull request #1961 from coppered/patch-1
Update README.md
2018-11-13 21:13:21 -05:00
Gennadiy Civil
7a0680dc22 Merge pull request #1959 from robinlinden:remove-msvc-workarounds
PiperOrigin-RevId: 221356626
2018-11-13 21:10:42 -05:00
Gennadiy Civil
09beafcd1d
Merge branch 'master' into patch-1 2018-11-13 10:52:25 -05:00
Abseil Team
b18d39bd2e Googletest export
Include type_traits header

ElementsAre, UnorderedElementsAre, AllOf, and AnyOf are all defined in terms of std::decay, which is in the type_traits header.

PiperOrigin-RevId: 220818637
2018-11-13 09:20:47 -05:00
Oleksandr Dyakov
1454f301c5
Update README.md
added -std=c++11
2018-11-13 02:29:46 +01:00
Robin Lindén
4802133690
Add back warning suppression that shouldn't have been removed 2018-11-10 16:14:19 +01:00
Robin Lindén
a3a42514f1
Define GTEST_DISABLE_MSC_WARNINGS_PUSH/POP for all compilers 2018-11-10 15:40:57 +01:00
Robin Lindén
c43603f288
Remove GTEST_HAS_HASH_SET/MAP check 2018-11-10 15:27:33 +01:00
Robin Lindén
826656b25f
Remove workarounds for unsupported MSVC versions 2018-11-10 15:20:26 +01:00
Abseil Team
de5be0eb28 Googletest export
Move FunctionMocker and MockFunction out of the pump file and implement with variadic templates.

PiperOrigin-RevId: 220640265
2018-11-08 14:49:12 -05:00
krzysio
105579a6e4 Googletest export
Improve Bazel build files.

New target gtest_prod allows access to the FRIEND_TEST macro without depending on the entirety of GTest in production executables. Additionally, duplicate config_setting rules were removed and formatting was adjusted.

PiperOrigin-RevId: 220279205
2018-11-07 14:37:18 -05:00
Gennadiy Civil
529c2c6f4a
Merge pull request #1950 from benjamincarman/makefix
Updating Sample Makefile to Specify C++11
2018-11-02 14:19:07 -04:00
Gennadiy Civil
9636db6b2b
Merge branch 'master' into makefix 2018-11-01 10:45:47 -04:00
misterg
88c15b5fde Googletest export
Adding GTEST_INTERNAL_DEPRECATED ability to mark deprecated

PiperOrigin-RevId: 219515184
2018-11-01 10:42:23 -04:00
Benjamin Carman
4ea629d31d Added line to sample Makefile in googletest/googletest/make to specify use of C++11 in CXXFLAGS as required by the system 2018-11-01 02:25:08 -04:00
Gennadiy Civil
879ac092fd
Merge pull request #1948 from jerryturcios08/master
Correct grammatical error in googlemock's README.md file
2018-10-31 13:21:47 -04:00
Jerry Turcios
11319f1c63 Correct grammatical error in README.md 2018-10-31 12:56:21 -04:00
Jerry Turcios
d1beec4023 Merge branch 'master' of https://github.com/google/googletest 2018-10-31 10:16:27 -04:00
Abseil Team
71d4fc8d76 Googletest export
[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
2018-10-30 21:20:50 -04:00
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
Jerry Turcios
3896e3b593 Merge branch 'master' of https://github.com/google/googletest 2018-10-29 21:09:25 -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
Jerry Turcios
b8a03c80ad Merge branch 'master' of https://github.com/google/googletest 2018-10-28 14:17:19 -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
Jerry Turcios
299d098daa Merge branch 'master' of https://github.com/google/googletest 2018-10-24 23:18:50 -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
Jerry Turcios
2801b23807 Merge branch 'master' of https://github.com/google/googletest 2018-10-24 10:59:24 -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
Jerry Turcios
6e37201260 Merge branch 'master' of https://github.com/google/googletest 2018-10-23 20:57:38 -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
Jerry Turcios
3468af9b36 Merge branch 'master' of https://github.com/google/googletest 2018-10-22 21:16:20 -04: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
Jerry Turcios
648ac832aa Merge branch 'master' of https://github.com/google/googletest 2018-10-19 23:13:06 -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