- 06 Dec, 2019 1 commit
-
-
Abseil Team authored
Change googletest to notice failures during SetUpTestSuite() and TearDownTestSuite(). Previously, errors that occurred during those functions were logged but otherwise ignored. After this change, such failures will cause the test to fail and a brief summary will be printed at the bottom of the test log. See https://github.com/google/googletest/issues/2330. PiperOrigin-RevId: 284033342
-
- 22 Nov, 2019 1 commit
-
-
Abseil Team authored
Use standard C++11 integer types in gtest-port.h. Remove testing::internal::{Int,Uint}{32,64} in favor of types guaranteed to be in <cstdint> since C++11. Tests for built-in integer type coverage are switched from {Int,Uint}64 to [unsigned] long long, which is guaranteed by C++11 to exist and be at least 64-bit wide. PiperOrigin-RevId: 281565263
-
- 24 Oct, 2019 1 commit
-
-
Krystian Kuzniarek authored
-
- 18 Oct, 2019 1 commit
-
-
Sinclair-John authored
-
- 17 Oct, 2019 1 commit
-
-
Alexey Spiridonov authored
Closes #2208 Previously, skip messages were invisible, so debugging skips was hard. Now we have this: ``` $ ./googletest/gtest_skip_test Running main() from /home/lesha/github/snarkmaster/googletest/googletest/src/gtest_main.cc [==========] Running 3 tests from 2 test suites. [----------] Global test environment set-up. [----------] 1 test from SkipTest [ RUN ] SkipTest.DoesSkip /home/lesha/github/snarkmaster/googletest/googletest/test/gtest_skip_test.cc:38: Skipped skipping single test [ SKIPPED ] SkipTest.DoesSkip (0 ms) [----------] 1 test from SkipTest (1 ms total) ... ```
-
- 11 Oct, 2019 1 commit
-
-
Chris Johnson authored
Added support for ESP8266 Arduino platform. Refactored Arduino defines to use the GTEST_OS_* model.
-
- 06 Sep, 2019 1 commit
-
-
Abseil Team authored
Extend gtest-port and stubs for ESP_PLATFORM ESP_PLATFORM is the macro used to indicate compilation for the ESP32 using the esp-idf. This isn't a fully posix compatible system so various features of google test need to be stubbed out in order for it to work. It's oddly similar to the GTEST_OS_WINDOWS_PHONE setup. PiperOrigin-RevId: 267471968
-
- 20 Aug, 2019 1 commit
-
-
Krystian Kuzniarek authored
Due to confusion arisen from "iff" standing for "if and only if", this commit uses the latter.
-
- 06 Aug, 2019 1 commit
-
-
Antoine Pitrou authored
-
- 01 Aug, 2019 2 commits
-
-
Abseil Team authored
Fix signed conversion warning for wchar_t -> wint_t. Fixes Github issue #2300 PiperOrigin-RevId: 261045497
-
misterg authored
Internal Change PiperOrigin-RevId: 260939845
-
- 30 Jul, 2019 1 commit
-
-
Krystian Kuzniarek authored
-
- 26 Jul, 2019 1 commit
-
-
Abseil Team authored
Adds ISO8601 timestamps to XML output and RFC3339 timestamps to JSON output. Adds timestamps to testsuites, testsuite and testcases structured JSON/XML output for better reporting how/where time is spent on tests. PiperOrigin-RevId: 260039817
-
- 22 May, 2019 1 commit
-
-
Lingfeng Yang authored
windows msvc toolchain with werror and wconversion will break if converting long to DWORD.
-
- 18 Apr, 2019 1 commit
-
-
misterg authored
Fixes https://github.com/google/googletest/issues/2232 PiperOrigin-RevId: 244237560
-
- 06 Apr, 2019 1 commit
-
-
Enji Cooper authored
Cast some values as their unsigned equivalents or `size_t` to match the parameter type used for the template object under test. Also, provide UInt32 equivalent delegate methods for some callers (with int-equivalents for backwards compatibility). This closes #2146. Signed-off-by:Enji Cooper <yaneurabeya@gmail.com>
-
- 01 Apr, 2019 1 commit
-
-
Abseil Team authored
Remove support for "global" ::string and ::wstring types. This support existed for legacy codebases that existed from before namespaces where a thing. It is no longer necessary. PiperOrigin-RevId: 241335738
-
- 30 Mar, 2019 1 commit
-
-
Enji Cooper authored
gtest prior to this change would completely ignore `GTEST_SKIP()` if called in `Environment::SetUp()`, instead of bailing out early, unlike `Test::SetUp()`, which would cause the tests themselves to be skipped. The only way (prior to this change) to skip the tests would be to trigger a fatal error via `GTEST_FAIL()`. Desirable behavior, in this case, when dealing with `Environment::SetUp()` is to check for prerequisites on a system (example, kernel supports a particular featureset, e.g., capsicum), and skip the tests. The alternatives prior to this change would be undesirable: - Failing sends the wrong message to the test user, as the result of the tests is indeterminate, not failed. - Having to add per-test class abstractions that override `SetUp()` to test for the capsicum feature set, then skip all of the tests in their respective SetUp fixtures, would be a lot of human and computational work; checking for the feature would need to be done for all of the tests, instead of once for all of the tests. For those reasons, making `Environment::SetUp()` handle `GTEST_SKIP()`, by not executing the testcases, is the most desirable solution. In order to properly diagnose what happened when running the tests if they are skipped, print out the diagnostics in an ad hoc manner. Update the documentation to note this change and integrate a new test, gtest_skip_in_environment_setup_test, into the test suite. This change addresses #2189. Signed-off-by:Enji Cooper <yaneurabeya@gmail.com>
-
- 28 Mar, 2019 1 commit
-
-
Abseil Team authored
Update XML and JSON output to be consistent with the standard. PiperOrigin-RevId: 239833242
-
- 05 Mar, 2019 1 commit
-
-
Abseil Team authored
Build gmock cleanly with clang -Wextra-semi and -Wextra-semi-stmt Extends 56ef07a2 to take -Wc++98-compat-extra-semi (https://reviews.llvm.org/D43162) and -Wextra-semi-stmt (https://reviews.llvm.org/D52695) into account. For https://crbug.com/926235. PiperOrigin-RevId: 236643095
-
- 11 Feb, 2019 1 commit
-
-
Jonathan Wakely authored
If the object was never created then trying to call &Test::DeleteSelf_ will dereference a null pointer, with undefined behaviour. Fixes #845
-
- 03 Jan, 2019 1 commit
-
-
misterg authored
TestCase->TestSuite refactoring PiperOrigin-RevId: 227702164
-
- 02 Jan, 2019 2 commits
-
-
misterg authored
Internal Change PiperOrigin-RevId: 227575279
-
Abseil Team authored
Remove the #ifs for old, unsupported and buggy compilers: * old versions of GCC & MSVC * Symbian PiperOrigin-RevId: 227116941
-
- 13 Dec, 2018 2 commits
-
-
Abseil Team authored
Support skipped in XML and JSON output PiperOrigin-RevId: 225386540
-
misterg authored
Internal Change PiperOrigin-RevId: 225231727
-
- 03 Dec, 2018 1 commit
-
-
Abseil Team authored
Applied fixes for ClangTidy modernize-use-override and modernize-use-using. PiperOrigin-RevId: 223800219
-
- 20 Nov, 2018 1 commit
-
-
misterg authored
Internal Change PiperOrigin-RevId: 222123106
-
- 10 Nov, 2018 1 commit
-
-
Robin Lindén authored
-
- 29 Oct, 2018 1 commit
-
-
misterg authored
Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 219129336
-
- 28 Oct, 2018 1 commit
-
-
Vadim Barkov authored
-
- 26 Oct, 2018 2 commits
-
-
Abseil Team authored
Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 218618184
-
misterg authored
Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 218571466
-
- 24 Oct, 2018 1 commit
-
-
durandal authored
Honor GTEST_SKIP() in SetUp(). PiperOrigin-RevId: 218387359
-
- 17 Oct, 2018 1 commit
-
-
kakkoko authored
-
- 11 Oct, 2018 1 commit
-
-
KO Myung-Hun authored
Closes #1899 PiperOrigin-RevId: 216719020
-
- 05 Oct, 2018 2 commits
-
-
Abseil Team authored
Make GTestColor and ColoredPrintF available as internal APIs from gtest.h. This is for use in abseil exception safety testing. PiperOrigin-RevId: 215920581
-
Abseil Team authored
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
-
- 02 Oct, 2018 1 commit
-
-
Arseny Aprelev authored
Closes #1544 With refinements and changes PiperOrigin-RevId: 215273083
-
- 31 Aug, 2018 1 commit
-
-
Dominic Sacré authored
Fix Clang warning: | warning: no previous extern declaration for non-static variable 'g_argvs' | [-Wmissing-variable-declarations]
-