3163 Commits

Author SHA1 Message Date
Gennadiy Civil
5c4d53fd52
Merge pull request #2326 from kuzkry/missing-references-to-documentation
Add missing references to documentation
2019-07-15 13:29:29 -04:00
Krystian Kuzniarek
f81dbd6ce8 add missing references to DesignDoc and KnownIssues 2019-07-13 09:16:52 +02:00
Krystian Kuzniarek
b138afde15 rename and apply snake_case on KnownIssues.md 2019-07-13 08:16:41 +02:00
Krystian Kuzniarek
1d5b7cc1e2 rename and apply snake_case on FrequentlyAskedQuestions.md 2019-07-13 08:15:20 +02:00
Krystian Kuzniarek
92d92f2f55 rename and apply snake_case on ForDummies.md 2019-07-13 08:09:11 +02:00
Krystian Kuzniarek
6078089ef8 rename and apply snake_case on Documentation.md 2019-07-13 08:09:11 +02:00
Krystian Kuzniarek
382cdf9162 rename and apply snake_case on DesignDoc.md 2019-07-13 07:59:14 +02:00
Krystian Kuzniarek
275bbc7884 rename and apply snake_case on CheatSheet.md 2019-07-13 07:47:14 +02:00
Sam Sobell
ee3aa83117 Fix bad advice in cook book (#2308)
This line directly contradicts the warning that google mock spits out on unused mock calls:
```
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
```
One or the other should be changed, and I believe the advice in this file is incorrect.
2019-07-10 10:37:57 -04:00
cclauss
dfb5e22b8b
Travis CI: The sudo: tag is now deprecated in Travis CI 2019-07-01 13:48:44 +02:00
Gennadiy Civil
437e1008c9 Documentation sync in preparation to including docs with full source sync 2019-06-24 13:52:17 -04:00
Gennadiy Civil
834dff3b52 Documentation sync in preparation to including docs with full source sync 2019-06-24 11:16:58 -04:00
Gennadiy Civil
c1845f65f3
Update README.md 2019-06-24 10:38:11 -04:00
Gennadiy Civil
2a1a3e2907
Merge pull request #2296 from rmstar/replace_golinks
Remove google internal links from documentation on github
2019-06-24 09:26:08 -04:00
Prashant Jaikumar
ce58a5972b Remove google internal links from documentation on github 2019-06-19 15:18:55 -07:00
Gennadiy Civil
b4676595c0 Incremental doc changes in preparation for doc sync 2019-06-19 17:04:47 -04:00
Gennadiy Civil
152c7dfd06 missed the actual file in previous commit 2019-06-19 16:50:19 -04:00
Gennadiy Civil
5ed950c9e3 Renaming doc files to make the file names more palatable and in preparation for including documentation in sync process 2019-06-19 16:48:38 -04:00
Gennadiy Civil
ac31db8fac small docs restucture and cleanup 2019-06-19 16:23:44 -04:00
Gennadiy Civil
ba68290cb3 small docs restucture and cleanup 2019-06-19 16:20:19 -04:00
Gennadiy Civil
2f42d769ad Merge branch 'master' of github.com:google/googletest 2019-06-19 16:06:37 -04:00
Gennadiy Civil
39ea9e8a92 Remove outdated from README 2019-06-19 16:05:17 -04:00
misterg
1d721a7a9d Googletest export
Move Googletest OSS bazel builds to latest bazel.
The latest bazel ( 0.27.0 as of now ) does not run on trusty.

PiperOrigin-RevId: 253829774
2019-06-18 14:25:41 -04:00
misterg
ee32b72e12 Googletest export
gmock_output_test has to run under python2. Bazel 0.27.0 causes this test to break. Fixing it.

PiperOrigin-RevId: 253820111
2019-06-18 13:48:06 -04:00
Gennadiy Civil
4f0160360c Merge pull request #2290 from gennadiycivil:master
PiperOrigin-RevId: 253660961
2019-06-18 10:37:09 -04:00
misterg
be8d014625 Googletest export
Internal Change

PiperOrigin-RevId: 253658026
2019-06-18 10:36:59 -04:00
Gennadiy Civil
ed43ecf9ee Merge pull request #2288 from gennadiycivil:master
PiperOrigin-RevId: 253652550
2019-06-18 10:36:52 -04:00
Gennadiy Civil
60b9298653 Fixing CI break by going to bazel 0.26.1 2019-06-17 16:57:54 -04:00
Gennadiy Civil
c1a584d304 Merge branch 'master' of https://github.com/google/googletest 2019-06-17 16:55:04 -04:00
Gennadiy Civil
02767277bb Revert "testing, explicitly specify compiler"
This reverts commit 6c971ca9a34b3eb82180732db807da74ea71cf79.
2019-06-17 16:54:08 -04:00
Abseil Team
d7003576dd Googletest export
Project import generated by Copybara.

PiperOrigin-RevId: 253600369
2019-06-17 16:34:31 -04:00
misterg
d1185b9ffd Googletest export
Internal Change

PiperOrigin-RevId: 253581166
2019-06-17 16:34:23 -04:00
Gennadiy Civil
fe3a10b41a revert travis.yml, irrelevant 2019-06-17 15:42:03 -04:00
Gennadiy Civil
93d69df460 bazel 0.26.1 2019-06-17 15:33:09 -04:00
Gennadiy Civil
4b6a3cc6cb bazel 0.26.1 2019-06-17 15:30:16 -04:00
Gennadiy Civil
1e5ad17e97 testing with bazel 0.26.1 2019-06-17 15:19:01 -04:00
Gennadiy Civil
919142f8a9 testing with bazel 0.26.1 2019-06-17 15:13:38 -04:00
Gennadiy Civil
6c971ca9a3 testing, explicitly specify compiler 2019-06-17 15:03:27 -04:00
Gennadiy Civil
176eccfb8f
Merge pull request #2287 from PhilLab/patch-1
docs/primer: Fixed usage of test case
2019-06-17 11:44:48 -04:00
Gennadiy Civil
fd20d1ecce
Merge pull request #2286 from gennadiycivil/master
Removing make and automake.
2019-06-17 11:05:13 -04:00
Philipp Hasper
b72b1bee95
docs/primer: Fixed usage of test case
According to the nomenclature, what was called a test case
is actually a test suite
2019-06-16 15:00:02 +02:00
Gennadiy Civil
e110929a7b Documentation sync working on the documentation being included with the code 2019-06-14 11:36:35 -04:00
Gennadiy Civil
cd6b9ae324 googlemock/docs/CookBook.md small doc test 2019-06-14 11:12:17 -04:00
Gennadiy Civil
41961e9e05 Merge branch 'master' of https://github.com/google/googletest 2019-06-14 09:38:34 -04:00
Gennadiy Civil
f7c178ecb3 Makefiles are no longer supported. Adding pseudo-break with their impending removal to make sure that people who are interested will notice 2019-06-13 17:16:43 -04:00
Gennadiy Civil
38d967e889 doc is still valid 2019-06-13 16:48:25 -04:00
Gennadiy Civil
7ada9b66be Finish removing autotools 2019-06-13 16:40:54 -04:00
Gennadiy Civil
807d590a22 Finish removing autotools 2019-06-13 16:40:44 -04:00
Gennadiy Civil
74905ef841 Also remove googlemock/scripts/gmock-config.in 2019-06-13 16:37:17 -04:00
Gennadiy Civil
84a498decc Merge pull request #2285 from tomalakgeretkal:c++17-fix
PiperOrigin-RevId: 253067038
2019-06-13 14:13:37 -04:00
Gennadiy Civil
6b8c138154 Removing make and automake. The only supported build systems are Bazel internally and CMake community supported 2019-06-13 13:49:42 -04:00
Gennadiy Civil
26afdba792 Merge pull request #2283 from xammy:cmake-cmp0054
PiperOrigin-RevId: 253052041
2019-06-13 13:15:59 -04:00
Tom Lachecki
d515158d9c Fixed issue #2284 (Incompatibility with C++17) 2019-06-13 17:37:33 +01:00
Matthias Walter
e580d99193 Setting CMP0054 policy to NEW. This allows to use the string "SHARED" without interpreting it as a variable. 2019-06-12 23:50:01 +02:00
Gennadiy Civil
af4c2cb098 Formatting Changes 2019-06-12 13:23:06 -04:00
Gennadiy Civil
fa9a476816 Formatting Changes, README 2019-06-12 11:18:40 -04:00
Gennadiy Civil
89656ddbe6
Update README.md 2019-06-12 11:15:00 -04:00
Gennadiy Civil
076b7f7788 remove obsolete codegear files 2019-06-10 13:20:02 -04:00
Gennadiy Civil
fbcb2eb200 removing obsolete language from docs, CMake and Bazel is the only supporeted build methods 2019-06-10 10:51:41 -04:00
Gennadiy Civil
6f79a3b8a7 removing gmock msvc solution, as CMake and Bazel is the only supporeted build methods 2019-06-10 10:35:30 -04:00
Gennadiy Civil
527a493fb2 removing build-aux files , as CMake and Bazel is the only supporeted build methods 2019-06-10 10:34:33 -04:00
Gennadiy Civil
b93980dda7 removing xcode files , as CMake and Bazel is the only supporeted build methods 2019-06-10 10:33:14 -04:00
Gennadiy Civil
60a6d5fc34 removing msvc solution, as CMake and Bazel is the only supporeted build methods 2019-06-10 10:32:16 -04:00
Gennadiy Civil
da10da05c2
Merge pull request #2268 from kalaxy/fuse_spi_in_header
Fuse gtest-spi.h into the resulting header.
2019-06-07 13:08:18 -04:00
Gennadiy Civil
577daedd51
Merge pull request #2274 from goudan-er/master
fix typo
2019-06-07 13:08:03 -04:00
Gennadiy Civil
0183a459e5 Merge pull request #2270 from Peter-Levine:fix-signed-wchar
PiperOrigin-RevId: 251713108
2019-06-07 13:06:50 -04:00
Wenyuan Yan
3ff7cd0f1b
fix typo 2019-06-06 11:47:40 +08:00
Abseil Team
31200def0d Googletest export
fdio_pipe_half is now the same as fdio_pipe_half2. We can switch back to the cleaner name.

PiperOrigin-RevId: 251633832
2019-06-05 11:52:45 -04:00
misterg
08a68b6fb7 Googletest export
comment change

PiperOrigin-RevId: 251231524
2019-06-05 11:52:33 -04:00
Peter Levine
711fccf831 Don't allow signed/unsigned wchar_t in gcc 9 and later 2019-06-04 01:07:18 -04:00
Kalon Mills
6044c267e8 Fuse gtest-spi.h into the resulting header.
Previously this was fused into the source file, but this prevents users of the
fused file from using those utilities directly.
2019-06-03 17:09:08 -07:00
Gennadiy Civil
8ffb7e5c88 Merge pull request #2264 from mbrobbel:suppress-cmp0048-warning
PiperOrigin-RevId: 250620088
2019-05-29 23:36:08 -04:00
Abseil Team
899c082633 Googletest export
Add a safety nullptr check to catch the case where the /tmp file used for capturing a stream cannot be created.

PiperOrigin-RevId: 250523012
2019-05-29 23:35:59 -04:00
Matthijs Brobbel
97d8c47df9
Suppress CMake policy warning (CMP0048)
As suggested in #2150.
2019-05-28 11:06:26 +02:00
Gennadiy Civil
f5edb4f542
Update CONTRIBUTING.md 2019-05-27 09:51:46 -04:00
Gennadiy Civil
a2059b408c
Update CONTRIBUTING.md
Clarify googler PR policy
2019-05-27 09:51:18 -04:00
gennadiycivil
7f1c0f6f81 Merge pull request #2260 from 741g:master
PiperOrigin-RevId: 249660276
2019-05-23 16:20:24 -04:00
Gennadiy Civil
88f0493098 Merge pull request #2259 from ngie-eign:fix-maintainers-typo
PiperOrigin-RevId: 249500162
2019-05-22 18:11:29 -04:00
Gennadiy Civil
dc792bc607
Update README.md
Cleanup, remove legacy build scripts, googletest only provides Bazel and CMake
2019-05-22 13:41:35 -04:00
gennadiycivil
feb55f22c0 removing msvc 2019-05-22 12:10:54 -04:00
gennadiycivil
a67e9a8488 removing msvc 2019-05-22 12:10:06 -04:00
gennadiycivil
928f7a3422 removing codegear 2019-05-22 12:08:29 -04:00
Lingfeng Yang
2f58f41d1a unbreak windows build
windows msvc toolchain with werror and wconversion
will break if converting long to DWORD.
2019-05-22 08:57:06 -07:00
Enji Cooper
699943fe40 Fix typo introduced in 63be3dcc245 (maintaners -> maintainers)
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
2019-05-19 23:31:04 -07:00
Gennadiy Civil
f71fb4f9a9
Update advanced.md
Adding back section that was lost in merge
2019-05-17 15:10:47 -04:00
Gennadiy Civil
03273a8982 Merge pull request #2254 from chaoran:master
PiperOrigin-RevId: 248759825
2019-05-17 15:05:44 -04:00
Chaoran Yang
5b4a135f62 add unit test for overload & operator 2019-05-13 15:39:18 +00:00
Gennadiy Civil
9d4cde44a4
Added docs for testing::RegisterTest 2019-05-13 10:35:10 -04:00
Chaoran Yang
2fc2383165 Use std::addressof to instead of plain '&'.
Otherwise the code won't compile if the '&' operater is overloaded and
return something that cannot be casted to void *.
2019-05-12 00:14:54 +00:00
Abseil Team
5299815377 Googletest export
Print the test output on assertion failure.

PiperOrigin-RevId: 247283764
2019-05-10 15:28:12 -04:00
Abseil Team
3f5b5b8f84 Googletest export
Remove special case for protocol buffers. It is no longer needed.

PiperOrigin-RevId: 246550795
2019-05-03 15:11:37 -04:00
gennadiycivil
bf3ef5c9b7 Merge pull request #2245 from daquexian:fix_wsign_conversion
PiperOrigin-RevId: 246550729
2019-05-03 15:11:30 -04:00
misterg
63be3dcc24 Googletest export
Clarify build system support - CMake and automake community supported

PiperOrigin-RevId: 245821927
2019-05-03 15:11:22 -04:00
daquexian
ca642a925e Fix -Wsign-conversion error by adding static_cast 2019-05-03 00:21:44 +08:00
Gennadiy Civil
9997a830ee Merge pull request #2242 from SylvestreG:master
PiperOrigin-RevId: 245798478
2019-04-29 15:22:54 -04:00
Gennadiy Civil
3c911d2de2 Removing obsolete msvc 2005 and 2010 2019-04-29 14:43:45 -04:00
Gennadiy Civil
87348c217f Removing obsolete codegear and msvc 2010 2019-04-29 14:39:48 -04:00
misterg
82f9c8d65d Googletest export
Internal Change

PiperOrigin-RevId: 245788057
2019-04-29 14:32:28 -04:00
Gennadiy Civil
61cdca569b Merge pull request #2241 from ngie-eign:fix-wsign-conversion-fallout
PiperOrigin-RevId: 245430295
2019-04-26 13:04:12 -04:00
Sylvestre Gallon
9037e9bda1 Fix compilation on CentOS 7 2019-04-26 13:48:37 +02:00