Commit Graph

16 Commits

Author SHA1 Message Date
Daniel Marjamäki 01df6e23ef googletest.cfg: Added ASSERT_NO_THROW and EXPECT_NO_THROW 2020-11-27 17:04:43 +01:00
Oliver Stöneberg 98946143f6
Fix #9964 (false positive: compareBoolExpressionWithInt with ASSERT_FALSE() and --library=googletest) (#2876) 2020-11-03 10:20:25 +01:00
Daniel Marjamäki 1548bf2267 Fix googletest.cfg macros ASSERT_THROW and EXPECT_THROW to avoid syntax errors 2020-09-30 18:45:04 +02:00
orbitcowboy 5d5aef5de2 googletest.cfg: Formatted cfg. There are no functional changes 2020-03-19 16:56:16 +01:00
ChristophStrehle b302896751
Define the MOCK_METHOD macro (#2571)
Without the macro defined the following would yield a syntax error:
struct IFoo
{
	virtual GetInt(const std::string& name) = 0;
};

struct MockFoo : IFoo
{
	MOCK_METHOD(int32_t, GetInt, (const std::wstring &name), (override, const));
};

Co-authored-by: Christoph Strehle <strehle@teamviewer.com>
2020-03-17 14:25:07 +01:00
Steven Hoving 26e403893c googletest.cfg; add MATCHER (#2485) 2020-01-12 08:11:58 +01:00
KenPatrickLehrmann 1114dc0536 Enhance handling of assertion from googletest (#2331)
* Enhance handling of assertion from googletest

* Update googletest, and add it to cmake build

* Enhance ASSERT_STR* in googletest.cfg
2019-11-06 21:38:01 +01:00
Daniel Marjamäki 9917ff1ce1 googletest: ASSERT_THROW / EXPECT_THROW 2019-11-02 20:17:04 +01:00
Sebastian 4d305d5c54
googletest.cfg: Fix #9397 (syntaxError when macro is unknown) (#2255)
Also add test in googletest.cpp
2019-10-09 19:53:58 +02:00
versat 02953b791c googletest.cfg: Add some GTEST_* macros 2019-09-20 16:07:42 +02:00
Daniel Marjamäki 56d68d1aae googletest.cfg: added simple macro implementations 2019-02-24 20:52:51 +01:00
amai2012 6d0a1f80b4 Add more interfaces and attributes 2019-02-18 21:48:41 +01:00
Daniel Marjamäki 5e727f92a0 googletest: add TEST_P 2018-11-23 18:55:05 +01:00
Daniel Marjamäki ff3fd80b46 googletest.cfg: Fix file format 2018-11-21 10:20:05 +01:00
Daniel Marjamäki 9d8e5e36eb Added a few TODO comments 2018-11-20 22:57:01 +01:00
Daniel Marjamäki 36a84c5406 add googletest.cfg 2018-11-20 18:47:27 +01:00