Krystian Kuzniarek
3957b8898b
Revert "remove MSVC workaround: wmain link error in the static library"
...
This reverts commit 298a40f023e6813d2bf73847c3a38ceaf5e46320.
2019-11-27 15:01:03 +01:00
Krystian Kuzniarek
967d8e05c2
Revert "unify googletest and googlemock main functions"
...
This reverts commit a909becdc599c46bcb57346b6123cb57cd07d15d.
2019-11-27 15:00:52 +01:00
Krystian Kuzniarek
a909becdc5
unify googletest and googlemock main functions
2019-11-22 17:45:04 +01:00
Krystian Kuzniarek
298a40f023
remove MSVC workaround: wmain link error in the static library
2019-11-22 17:45:04 +01:00
vslashg
540835fa68
Merge pull request #2515 from ciband:feat/support_esp8266
...
PiperOrigin-RevId: 276333426
2019-10-25 10:21:03 -04:00
Chris Johnson
c2206b05aa
Add ESP8266 configs to PlatformIO build
...
Added various conditional compliations for ESP8266 to stub out
missing functionality.
2019-10-11 11:47:49 -05:00
Chris Johnson
40a6b96621
feat: Add support for ESP8266 platform
...
Added support for ESP8266 Arduino platform.
Refactored Arduino defines to use the GTEST_OS_* model.
2019-10-11 11:47:49 -05:00
Gennadiy Civil
5395345ca4
Merge pull request #2497 from thejcannon:handle_null_filename
...
PiperOrigin-RevId: 273585229
2019-10-10 09:21:47 -04:00
Joshua Cannon
2ed2211db9
Use FormatFileLocation for streaming file and line
2019-10-07 14:04:31 -05:00
Krystian Kuzniarek
7bd4a7f3e9
restore mistakenly removed iffs in their explicit form
...
Due to confusion arisen from "iff" standing for "if and only if",
this commit uses the latter.
2019-08-20 12:14:22 +02:00
Krystian Kuzniarek
bf6df7eaee
fix typos
2019-07-30 12:52:27 +02:00
misterg
3d9cdd5803
Googletest export
...
Fix documentation links
PiperOrigin-RevId: 258389329
2019-07-16 13:35:16 -04:00
Abseil Team
e4f097b5fb
Googletest export
...
Update a broken link in a comment.
PiperOrigin-RevId: 257493975
2019-07-16 11:21:11 -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
bf07131c1d
Merge pull request #2041 from ciband:chore/fix_library_json
...
PiperOrigin-RevId: 230554814
2019-01-23 13:27:16 -05:00
Chris
45c58aa6f3
fix: Add Arduino setup()/loop() functions back
...
Added setup()/loop() functions back to *_main.cc files to support compiling in CI. Future features could enable this for the end user.
2019-01-07 12:37:34 -06:00
Chris Johnson
0ffa5f9779
Merge branch 'master' into chore/fix_library_json
2019-01-03 21:13:20 -06:00
misterg
3a460a26b7
Googletest export
...
TestCase->TestSuite refactoring
PiperOrigin-RevId: 227702164
2019-01-03 16:40:20 -05:00
Chris
4d62b5b9ae
fix: Remove Arduino entry points
...
Improved flexibility by removing the Arduino entry points in favor of manual calls to setup/loop that the user can call from their entry point. This is the more common use case for Arudino.
Also added the gtest/gmock_main files to the PlatformIO ignore list since we are not supporting that feature.
2019-01-03 12:12:19 -06:00
misterg
14c2fba734
Googletest export
...
Internal Change
PiperOrigin-RevId: 227575279
2019-01-02 16:51:40 -05:00
Abseil Team
f8b1c1af17
Googletest export
...
Remove the #ifs for old, unsupported and buggy compilers:
* old versions of GCC & MSVC
* Symbian
PiperOrigin-RevId: 227116941
2019-01-02 16:51:33 -05:00
Gennadiy Civil
b5f5c596a9
Merge pull request #2000 from ciband:feat/add_support_platformio
...
PiperOrigin-RevId: 225552792
2018-12-14 13:54:43 -05:00
misterg
81f0026066
Googletest export
...
Internal Change
PiperOrigin-RevId: 225231727
2018-12-13 16:00:11 -05:00
Chris Johnson
2c8ab3f18b
feat: Add initial support for PlatformIO and Arduino
2018-12-04 21:44:39 -06: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
misterg
b492666068
Googletest export
...
Internal Change
PiperOrigin-RevId: 222123106
2018-11-20 13:29:55 -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
Robin Lindén
826656b25f
Remove workarounds for unsupported MSVC versions
2018-11-10 15:20:26 +01: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
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
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
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
Gennadiy Civil
f0e4c411ca
more comments changes
2018-08-14 16:05:55 -04:00
Gennadiy Civil
bbf738a2c1
more comments changes
2018-08-14 15:45:00 -04:00
Gennadiy Civil
a3c0dd0f4d
Comments changes, no functionality changes
2018-08-14 14:04:07 -04:00
Gennadiy Civil
b345bf9090
Formatting changes,small cleanup, no functionality changes
2018-08-07 11:49:47 -04:00
Piotr Kąkol
309e8a271e
Updated broken and outdated URLs
2018-07-25 19:19:26 +02:00
David Sunderland
d5725da968
Mark new GetWithoutMatchers method as part of the exported API, to address MSVC linker errors.
2018-04-18 20:25:31 -04:00
David Sunderland
f6551f2d45
Don't use generalized initializer list; is C++11 extension.
2018-04-18 19:37:33 -04:00
David Sunderland
f437f8ca0d
Clone of unsubmitted cr/176529515. Introduce parameterless expectations.
2018-04-18 19:28:56 -04:00
Gennadiy Civil
373481c5a9
...merging
2018-04-11 15:46:57 -04:00
Gennadiy Civil
25d8176e4f
merging
2018-04-10 16:18:23 -04:00
Gennadiy Civil
39c58da187
merge
2018-04-10 16:10:34 -04:00
Gennadiy Civil
e1071eb949
RE-Doing the merge, this time with gcc on mac in the PR so I can catch errors before merging the PR
2018-04-10 15:57:16 -04:00
Gennadiy Civil
ca54b67303
Revert "gmock actions 2"
2018-04-09 22:10:12 -04:00
Gennadiy Civil
05b5a53898
formatting
2018-04-09 15:50:19 -04:00
Gennadiy Civil
c4684b49cf
more msvc
2018-04-09 12:03:40 -04:00
Gennadiy Civil
431bfdcaf4
msvc 14
2018-04-09 11:48:02 -04:00
Gennadiy Civil
6525044ce2
And also silence for MSVS14
2018-04-09 10:51:15 -04:00
Gennadiy Civil
35a709a701
preproc syntax ( I can never remember it)
2018-04-09 10:25:59 -04:00
Gennadiy Civil
61e8a0b10b
syntax
2018-04-09 10:08:12 -04:00
Gennadiy Civil
03be5df17c
cont.
2018-04-09 09:59:09 -04:00
Gennadiy Civil
e0b3c269c2
continued
2018-04-09 09:51:02 -04:00
Gennadiy Civil
dbd206e3d9
more mcvs fixing
2018-04-06 16:55:46 -04:00
Gennadiy Civil
2d4d4ef739
fixing MSVC
2018-04-06 16:31:11 -04:00
Gennadiy Civil
fe402c2779
Merging gMock, 2
2018-04-05 16:09:17 -04:00
Gennadiy Civil
e55089ec11
merging gmock matchers 1
2018-04-04 14:05:00 -04:00
Gennadiy Civil
b7c568326c
merging, gmock -1
2018-03-22 15:35:37 -04:00
Gennadiy Civil
dbf63e38a4
merges-2
2018-03-05 13:28:13 -05:00
Gennadiy Civil
2bd1750ba7
gmock merging -2
2018-02-27 13:51:09 -05:00
Gennadiy Civil
225e6741ac
moving JoinAsTuple to internal
2018-02-12 16:42:12 -05:00
David Benjamin
b3d9be5c1d
Pass the -Wmissing-declarations warning.
...
This makes it easier to use GTest in projects that build with the
-Wmissing-declarations warning. This fixes the warning in headers and
source files, though not GTest's own tests as it is rather noisy there.
2018-01-03 14:50:22 -05:00
Jonathan Wakely
b70cf1a663
Use gender-neutral pronouns in comments and docs
2017-09-27 13:31:13 +01:00
Alyssa Wilk
c00373320d
Merge branch 'refs/heads/master' into flag-default
2017-08-28 16:10:12 -04:00
Alyssa Wilk
a2803bc37d
Handling invalid flag values
2017-08-16 12:43:26 -04:00
Maurice Gilden
5b4166f05f
Add function name to exception if there's no default action
2017-08-16 17:53:16 +02:00
Alyssa Wilk
6e1970e237
Adding a flag option to change the default mock type
2017-08-10 09:41:09 -04:00
Gennadiy Civil
0cb2eeb5f1
Merge pull request #764 from flyd1005/wip-fix-typo
...
remove duplicated words
2017-08-02 17:04:33 -04:00
Nico Weber
09fd5b3ebf
Use std::string and ::string explicitly in gtest and gmock code.
...
This merges a Google-internal change (117235625).
Original CL description:
This CL was created manually in about an hour with sed, a Python script
to find all the places unqualified 'string' was mentioned, and some help
from Emacs to add the "std::" qualifications, plus a few manual tweaks.
2017-05-15 17:53:04 -04:00
Li Peng
266a185a52
remove duplicated words
...
Signed-off-by: Li Peng <lip@dtdream.com>
2016-04-27 16:41:27 +08:00
Jacob Meacham
d4aa34b05d
Fix link that's returned when running tests. #714
2016-02-16 17:53:43 -08:00
Billy Donahue
affb09edf0
move googlemock files into googlemock/ subdir
2015-08-25 17:47:18 -04:00