- 11 Feb, 2019 1 commit
-
-
Knut Omang authored
Signed-off-by:Knut Omang <knut.omang@oracle.com>
-
- 05 Feb, 2019 3 commits
-
-
Gennadiy Civil authored
Test out changes with clang/OSX each PR using Travis CI
-
Gennadiy Civil authored
Fix an invalid example of JSON report in advanced.md
-
Keiichi Watanabe authored
This is just a mistake in the document. Google Test doesn't output such an invalid JSON report. Signed-off-by:Keiichi Watanabe <keiichiw@chromium.org>
-
- 04 Feb, 2019 7 commits
-
-
Gennadiy Civil authored
-
Gennadiy Civil authored
-
Enji Cooper authored
This will help ensure that test coverage isn't missed when changes that can impact OSX with clang are submitted. Although not perfect, testing changes on OSX with clang is an ok proxy [for now] for testing changes on FreeBSD with clang (testing on FreeBSD is non-trivial, as Travis CI doesn't support operating systems other than Linux and OSX). In order to support this, install the packages via homebrew using a `addons::homebrew::packages` block (similar to `addons::apt::packages` for Ubuntu), as documented in the Travis CI docs ( https://docs.travis-ci.com/user/installing-dependencies/ ). While here, try pushing apt* calls into the Travis config for Ubuntu, instead of delaying the equivalent calls in the `ci/*.sh` scripts. Keep the `ci/*.sh` scripts for ease of testing locally (and extend the OSX one to install gcc 4.9 and llvm 3.9, like the travis config does). In order to accomodate this change (and because the homebrew package for llvm@3.9 doesn't automatically add clang*-3.9 to `$PATH`), `$PATH` needs to be adjusted to find the llvm@3.9 toolchain. Signed-off-by:
Enji Cooper <yaneurabeya@gmail.com>
-
misterg authored
Address -Wgnu-zero-variadic-macro-arguments Originally in OSS PR #2063 https://github.com/google/googletest/pull/2063 Fix regression in INSTANTIATE_TEST_SUITE_P macro to accept function pointers properly. PiperOrigin-RevId: 232316698
-
misterg authored
Mark legacy _TEST_CASE_ macros as deprecated PiperOrigin-RevId: 232303251
-
Abseil Team authored
Update example code in gtest.h to prefer override over virtual now that it is widely available in C++11. PiperOrigin-RevId: 232057792
-
Gennadiy Civil authored
PiperOrigin-RevId: 232028696
-
- 01 Feb, 2019 4 commits
-
-
Abseil Team authored
Fix stack overflow in AnyOfArray tests. PiperOrigin-RevId: 231881125
-
Chris Johnson authored
-
Chris authored
Added Arduino to the embedded platform list to allow for a stubbed out version of GetCurrentDir.
-
Chris authored
Added [gmock|gtest]_all.cc to PIO ignore list to avoid getting duplicate symbols since PIO will compile the individual files.
-
- 31 Jan, 2019 2 commits
-
-
Gennadiy Civil authored
Fix README.md broken link
-
Billy SU authored
Fix the **include/gtest/internal/gtest-port.h** link in the `Tweaking Google Test` title
-
- 30 Jan, 2019 5 commits
-
-
Gennadiy Civil authored
Repeat #2090
-
Gennadiy Civil authored
Testing
-
Ashley Hedberg authored
PiperOrigin-RevId: 231456275
-
Gennadiy Civil authored
Update advanced.md casing in example
-
Kelly Walker authored
Updated the example that says not to use SetupTestSuite with a small 'u' to actually use a small 'u'
-
- 29 Jan, 2019 2 commits
-
-
Gennadiy Civil authored
This is inspired by work in http://go/gh/google/googletest/pull/2063 but in a separate commit
-
Gennadiy Civil authored
PiperOrigin-RevId: 231434457
-
- 28 Jan, 2019 2 commits
-
-
Gennadiy Civil authored
PiperOrigin-RevId: 231286700
-
Hugo Lindström authored
Avoid dynamic/static runtime linking (LNK4098) by properly replacing MD(d)->MT(d) in both C and CXX flags, resolves 2074
-
- 25 Jan, 2019 1 commit
-
-
Gennadiy Civil authored
PiperOrigin-RevId: 230902623
-
- 24 Jan, 2019 1 commit
-
-
Adam Cozzette authored
I made a few updates to the Makefile.am files so that "make dist" succeeds and produces a usable tarball. We need this for protobuf because the protobuf tarballs include a bundled copy of googletest.
-
- 23 Jan, 2019 2 commits
-
-
Gennadiy Civil authored
PiperOrigin-RevId: 230554814
-
Abseil Team authored
Add AllOfArray matcher that verifies a value matches all member of some array/container/list/set/..., e.g: EXPECT_THAT(1, AnyOfArray({1, 2, 3})) In the simplest form this is identical to AnyOf(1, 2, 3). But unlike that one it works on containers. Add AnyOfArray matcher that verifies a value matches any member of some array/container/list/set/... PiperOrigin-RevId: 230403653
-
- 22 Jan, 2019 1 commit
-
-
Abseil Team authored
Make internal FunctionMocker class final PiperOrigin-RevId: 230332778
-
- 18 Jan, 2019 2 commits
-
-
Abseil Team authored
Fix mocking method arguments with templated copy constructors. A previous change removed workarounds for old compilers from googletest and googlemock. Unfortunately, a bit of code that started as a workaround for Symbian's C++ compiler is still needed to avoid copy/move constructor ambiguity when mocking functions with certain argument types. The test case added by this CL is extracted from Chrome's codebase, and was discovered while attempting to roll googletest. PiperOrigin-RevId: 229801765
-
Ayaz Salikhov authored
-
- 17 Jan, 2019 1 commit
-
-
Abseil Team authored
Refactor the `Invoke` and `InvokeWithoutArgs` actions: - Replace pump'd classes and functions with templates. - Make the polymorphic actions be polymorphic functors instead. - Fix Invoke(Callback*) to work with subclasses of the callbacks, instead of trying to diagnose that in gmock_doctor. PiperOrigin-RevId: 229604112
-
- 14 Jan, 2019 3 commits
-
-
misterg authored
Change remaining samples to use new Test Suite API PiperOrigin-RevId: 229231566
-
Abseil Team authored
Add move-only argument support to almost all remaining matchers. PiperOrigin-RevId: 229030728
-
Abseil Team authored
Deduplicate testing::ReferenceWrapper with std::reference_wrapper. Minor cleanups in matchers_test. PiperOrigin-RevId: 229022872
-
- 11 Jan, 2019 1 commit
-
-
misterg authored
Change tests to use new Test Suite API PiperOrigin-RevId: 228908894
-
- 10 Jan, 2019 2 commits
-
-
Gennadiy Civil authored
-
Gennadiy Civil authored
-