Gennadiy Civil
cfab28d594
Merge pull request #1192 from eduherminio/master
...
Minor style fixes
2017-08-10 20:36:29 -04:00
Gennadiy Civil
e578186528
Merge pull request #1191 from gennadiycivil/master
...
Adding Bazel build to googletest (initial version )
2017-08-10 20:35:27 -04:00
misterg
97a8498873
Addressing Comments
2017-08-10 16:33:22 -04:00
Eduardo Caceres
854b28f199
Minor style fixes
...
Typos, punctuation & broken links
2017-08-10 18:05:32 +02:00
misterg
cb5b05436d
Added Copyright
2017-08-10 12:03:27 -04:00
misterg
b98e30b427
Initial Revision, review 164634031
2017-08-10 11:54:46 -04:00
Gennadiy Civil
75f0723c45
Merge pull request #1178 from aninf-wo/hethi/testsuite-hint
...
add note about different definitions of Test Case
2017-08-10 09:13:45 -04:00
Herbert Thielen
c09e9e646d
clarify distinction regarding Test Case
2017-08-10 10:08:08 +02:00
misterg
ac885f3ab2
WIP
2017-08-09 11:47:54 -04:00
Herbert Thielen
33edcaed89
be more specific on Test Case
2017-08-09 16:41:38 +02:00
Eduardo Cáceres
67fcf00703
Punctuation
...
Missing periods
2017-08-09 14:10:23 +02:00
misterg
ab8f2b0d09
WIP, win testing
2017-08-08 15:54:36 -04:00
misterg
40a909b4e5
WIP, windows testing
2017-08-08 15:37:38 -04:00
misterg
a2006b2ab0
WIP, windows testing
2017-08-08 15:34:40 -04:00
misterg
c75de0aa92
WIP, windows testing
2017-08-08 15:32:30 -04:00
misterg
8815087cfa
WIP
2017-08-08 15:17:56 -04:00
Gennadiy Civil
40aa72c7dc
Merge pull request #675 from theHacker/master
...
Fix: Markdown in V1_7_Primer.md
2017-08-08 11:53:40 -04:00
Gennadiy Civil
22d1a7a1a7
Merge pull request #909 from AsturaPhoenix/patch-1
...
Update Primer.md
2017-08-07 23:01:42 -04:00
Gennadiy Civil
7890f7215e
Merge pull request #1180 from aconverse/master
...
Use wider types to prevent unsigned overflow diagnostics
2017-08-07 15:37:15 -04:00
misterg
aecea3842c
Samples changes upstreaming
2017-08-07 13:25:03 -04:00
misterg
52a9c14c48
Samples changes upstreaming
2017-08-07 13:20:57 -04:00
Herbert Thielen
0f702cebb0
add note about different definitions of Test Case
...
There are contradictory definitions of the term "test case", so prepare
new users in Primer.md to avoid confusion.
2017-08-05 15:12:12 +02:00
Herbert Thielen
212f4d793e
fix small typo in comment
2017-08-05 12:42:00 +02:00
Alex Converse
deb99a9d26
Use wider types to prevent unsigned overflow diagnostics
...
The rest of the (covered) codebase is already integer overflow clean.
This is a cherry-pick of an internal change.
TESTED=gtest_shuffle_test goes from fail to pass with -fsanitize=integer
2017-08-03 14:12:25 -07:00
Gennadiy Civil
ca102b1f9d
Merge pull request #1030 from vpfautz/master
...
Fixed some typos
2017-08-03 16:49:13 -04:00
Gennadiy Civil
e1f3d8d175
Merge pull request #671 from mehagar/patch-1
...
Fix typo in AdvancedGuide.md
2017-08-02 17:07:27 -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
Gennadiy Civil
73f321590a
Merge pull request #962 from klimkin/klimkin-patch-typo
...
Fix a typo
2017-08-02 16:55:50 -04:00
Gennadiy Civil
d966d5fbe0
Merge pull request #968 from nicolacavallini/link_typed_test_docs
...
added link to sample 6 in the documentation of typed test
2017-08-02 16:45:13 -04:00
misterg
f63e2a14a2
WIP
2017-08-01 14:36:29 -04:00
Herbert Thielen
ec19d455bc
fix links to Google C++ Style Guide
2017-07-30 17:05:48 +02:00
Gennadiy Civil
6527ee0624
Merge pull request #1107 from lipk/patch-1
...
Minor grammar fix in docs.
2017-07-26 15:29:54 -04:00
Vincent Palancher
4568374a6e
Fixes a typo in FAQ.md
2017-07-05 14:12:58 +02:00
Billy Donahue
4bab34d208
Merge pull request #1081 from krytarowski/netbsd-1
...
Add NetBSD support
2017-06-23 19:35:25 -04:00
Chris-Sharpe
19cace2873
Colouring in help text
2017-06-21 16:19:25 +01:00
Billy Donahue
c2d90bddc6
Create gtest-internal.h
2017-06-11 18:34:04 -04:00
jorgehb
00ed9b566e
Fixing float comparison broken link
...
Updating the link with a valid one. The old one was considered obsolete by the publisher.
2017-06-08 10:01:55 -04:00
lipk
dca9d5fc51
Remove unnecessary 'the'.
2017-05-30 17:29:32 +02:00
Billy Donahue
42bc671f47
Merge pull request #1091 from nico/wmicro
...
Fix -Wmicrosoft-cast warnings when using gtest with clang on Windows.
2017-05-23 11:10:42 -04:00
Gennadiy Civil
76491b74de
Changes add ability to overwrite TempDir(), issue https://github.com/google/googletest/issues/1093
2017-05-18 10:19:28 -04:00
Billy Donahue
7cc548dcbf
Merge pull request #1089 from nico/stdstring
...
Use std::string and ::string explicitly in gtest and gmock code.
2017-05-16 17:00:03 -04:00
Billy Donahue
078d5d930a
Merge pull request #1090 from nico/typo
...
Fixing typo in documentation.
2017-05-15 23:54:23 -04:00
Nico Weber
e1466ba4fe
Gender-neutralize comments in gtest.h.
...
This merges a Google-internal change.
2017-05-15 18:00:29 -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
Nico Weber
b2cbbec04c
Fix -Wmicrosoft-cast warnings when using gtest with clang on Windows.
...
This upstreams a Google-internal change.
Original CL description:
The C++ standard says that function pointers are not implicitly
convertible to object pointers. Visual Studio disregards that and allows
implicit conversion between function pointers and object points, and
enough code relies on this that clang follows suit in
Microsoft-compatibility mode.
However, clang emits a -Wmicrosoft-cast warning when such a conversion
is done:
E:\b\c\b\win_clang\src\sandbox\win\src\sync_dispatcher.cc(42,7):
warning: implicit conversion between pointer-to-function and
pointer-to-object is a Microsoft extension [-Wmicrosoft-cast]
This change fixes this warning in gtest, while hopefully not changing
any behavior. The change does two things:
1. It replaces the if in DefaultPrintTo with SFINAE
2. In C++11 mode, it uses enable_if<is_function<>> instead of
ImplicitlyConvertible<T*, const void*> to check if the
explicit cast is needed.
With this change, functions will use the branch with the reintpret_casts
with Visual Studio and clang/win, and clang no longer needs to warn
that it implicitly converts a function pointer to a void pointer.
2017-05-15 17:21:25 -04:00
Nico Weber
6c0c8a7ea5
Fixing typo in documentation.
...
This upstreams a Google-internal change.
2017-05-15 17:12:19 -04:00
Billy Donahue
294f72bc77
Merge pull request #725 from donhuff/xcode-headers
...
Add missing headers to Xcode framework target.
2017-05-15 11:44:37 -04:00
Billy Donahue
8c7f93feda
Merge pull request #1078 from pwnall/gtest_api_port
...
Pick up GTEST_API_ definition in gtest/internal/custom/gtest-port.h.
2017-05-10 22:10:01 -04:00
Billy Donahue
887d569eb0
Merge pull request #965 from davidben/format-attr
...
Annotate ColoredPrintf with the format attribute and fix bugs.
2017-05-07 01:07:16 -04:00
Kamil Rytarowski
fac0dfbe73
Add NetBSD support
...
NetBSD is a modern UNIX-like Operating System.
Enable GTEST_HAS_PTHREAD and GTEST_HAS_DEATH_TEST on NetBSD.
2017-05-06 04:18:58 +02:00