- 04 Apr, 2022 1 commit
-
-
Derek Mauro authored
When built with `--define=absl=1` under Bazel, GoogleTest flags use ABSL_FLAG instead of GoogleTest's own implementation. There are some minor behavior differences in this mode. The most notable difference is that unrecognized flags result in a flag parsing error, and are not returned to the user though a modified argc/argv, unless they appear after the positional argument delimiter ("--"). For example, to pass a non-Abseil flag, you would have to do ./mytest --gtest_color=false -- --myflag=myvalue The documentation at https://abseil.io/docs/cpp/guides/flags may be helpful in understanding the behavior. There are some other minor differences. For example, passing --help results in the program returning 1 instead of 0. https://github.com/google/googletest/issues/3646 PiperOrigin-RevId: 439312700 Change-Id: Id696a25f50f24a5b1785c45ca8fa59794f86fd5c
-
- 15 Mar, 2022 1 commit
-
-
Abseil Team authored
A few tests are examining code locations and looking af the resulting line numbers to verify that GoogleTest shows those to users correctly. Some of those locations change when clang-format is run. For those locations, I've wrapped portions in: // clang-format off ... // clang-format on There may be other locations that are currently not tickled by running clang-format. PiperOrigin-RevId: 434844712 Change-Id: I3a9f0a6f39eff741c576b6de389bef9b1d11139d
-
- 18 Jan, 2022 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 422559250 Change-Id: I9f630f2186724950e5e9fbd7093d5264e8bf0a71
-
- 23 Sep, 2021 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 397651677
-
- 15 Sep, 2021 1 commit
-
-
Abseil Team authored
Introduce GMOCK_FLAG_GET and GMOCK_FLAG_SET macros. PiperOrigin-RevId: 396649214
-
- 22 Jul, 2021 1 commit
-
-
Abseil Team authored
Delete GOOGLETEST_CM.* tags from C++ code. PiperOrigin-RevId: 386268534
-
- 16 Mar, 2021 1 commit
-
-
Abseil Team authored
Internal change PiperOrigin-RevId: 362040448
-
- 18 Feb, 2021 1 commit
-
-
Abseil Team authored
Make include guards conform with https://google.github.io/styleguide/cppguide.html#The__define_Guard, attempt #2 PiperOrigin-RevId: 357056902
-
- 11 Feb, 2021 2 commits
-
-
Abseil Team authored
Revert include guard fix PiperOrigin-RevId: 356588893
-
Abseil Team authored
Make include guards conform with https://google.github.io/styleguide/cppguide.html#The__define_Guard PiperOrigin-RevId: 355882793
-
- 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
-
- 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
-
- 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
-
- 14 Aug, 2018 1 commit
-
-
Gennadiy Civil authored
Comments changes, no functionality changes
-
- 27 Jul, 2018 1 commit
-
-
Gennadiy Civil authored
Formatting changes for automatic code management
-
- 26 Jan, 2018 1 commit
-
-
Gennadiy Civil authored
-
- 25 Aug, 2015 1 commit
-
-
Billy Donahue authored
-
- 28 Jul, 2015 1 commit
-
-
kosak authored
-
- 12 Jan, 2014 1 commit
-
-
kosak authored
Adds a note in the "uninteresting mock method call" warning to advise people how to handle the warning. Clarifies the purpose of utilities in gmock-port.h and adds guidance w.r.t. gmock-port.h vs gtest-port.h. Pulls in gtest r674.
-
- 15 Nov, 2012 1 commit
-
-
jgm authored
changes that haven't made it to svn. The descriptions of each change are listed below. - Fixes some python shebang lines. - Add ElementsAreArray overloads to gmock. ElementsAreArray now makes a copy of its input elements before the conversion to a Matcher. ElementsAreArray can now take a vector as input. ElementsAreArray can now take an iterator pair as input. - Templatize MatchAndExplain to allow independent string types for the matcher and matchee. I also templatized the ConstCharPointer version of MatchAndExplain to avoid calls with "char*" from using the new templated MatchAndExplain. - Fixes the bug where the constructor of the return type of ElementsAre() saves a reference instead of a copy of the arguments. - Extends ElementsAre() to accept arrays whose sizes aren't known. - Switches gTest's internal FilePath class from testing::internal::String to std::string. testing::internal::String was introduced when gTest couldn't depend on std::string. It's now deprecated. - Switches gTest & gMock from using testing::internal::String objects to std::string. Some static methods of String are still in use. We may be able to remove some but not all of them. In particular, String::Format() should eventually be removed as it truncates the result at 4096 characters, often causing problems.
-
- 20 May, 2011 1 commit
-
-
vladlosev authored
-
- 24 Feb, 2011 1 commit
-
-
zhanyong.wan authored
-
- 14 Sep, 2010 1 commit
-
-
zhanyong.wan authored
-
- 10 May, 2010 1 commit
-
-
zhanyong.wan authored
-
- 14 Jan, 2010 1 commit
-
-
zhanyong.wan authored
-
- 16 Dec, 2009 1 commit
-
-
zhanyong.wan authored
-
- 01 Dec, 2009 1 commit
-
-
zhanyong.wan authored
Fixes Cygwin compatibility (by Vlad Losev); Improves Python tests (by Vlad Losev); Fixes ambiguous call to implicit_cast; Uses gtest's SkipPrefix() instead gmock's own (by Vlad Losev).
-
- 24 Nov, 2009 1 commit
-
-
zhanyong.wan authored
Pulls in gtest r344; improves implicit_cast (by Zhanyong Wan); makes the Python tests work on Windows (by Vlad Losev); adds run_tests.py (by Vlad Losev).
-
- 18 Nov, 2009 1 commit
-
-
vladlosev authored
Enables gmock's implicit_cast to work with source types that have a non-const conversion operator (by Zhanyong Wan).
-
- 16 Sep, 2009 1 commit
-
-
zhanyong.wan authored
-
- 31 Aug, 2009 1 commit
-
-
zhanyong.wan authored
Adds mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); Enables gMock to compile with VC 7.1 (by Vlad Losev).
-
- 07 Aug, 2009 1 commit
-
-
zhanyong.wan authored
Removes duplicated definition of SetArgumentPointee (by Vlad Losev); Makes gmock compilable on platforms that don't have ::abort() (by Acadeli Checa); Fixes compatibility with Symbian's STLport (by Acadeli Checa).
-
- 09 Jun, 2009 1 commit
-
-
zhanyong.wan authored
Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) as a synonym of m; relies on gtest-port to #include tuple; fixes a compatibility with Symbian.
-
- 13 May, 2009 1 commit
-
-
zhanyong.wan authored
Adds more tests for using SetArgumentPointee with protobufs; works around a compiler bug on Symbian that gmock-printers.h triggers; reduces template code bloat in gmock-matchers.h; avoids RTTI when it's disabled.
-
- 05 May, 2009 2 commits
-
-
zhanyong.wan authored
-
zhanyong.wan authored
-
- 22 Apr, 2009 1 commit
-
-
zhanyong.wan authored
-
- 23 Feb, 2009 1 commit
-
-
zhanyong.wan authored
-