Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Google Test and Google Mocks updated to version 1.10.0 (October 2019) (New version)
Google Test and Google Mocks updated to version 1.10.0 (October 2019) [message #54621] Sat, 22 August 2020 00:28 Go to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

I would like to inform you that Google Test and Google Mocks were updated to version 1.10.0. The main feature I noticed, so far is support for new mocking syntax (much more programmer friendly):
class Car {
public:
	virtual ~Car() = default;
	
	virtual void OpenHood() = 0;
	virtual String ReadRegistrationNumbers() const = 0;
};

class MockCar final : public Car {
public:
	MOCK_METHOD(void, OpenHood, (), (override));
	MOCK_METHOD(String, ReadRegistrationNumbers, (), (const, override));
};

For more information please visit following documentation site). Moreover, it seems that GTest is now free of memory leak that required custom patch in previous version of the plugin.

I updated our internal examples, so you can compile it and test it. You can see their code directly in your browser (via GitHub):
- GoogleTestExample
- GoogleMockExample

Moreover, if you miss my previous posts. These packages offers macro integration. It means that you can execute tests directly to TheIDE terminal.

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Sat, 22 August 2020 00:32]

Report message to a moderator

Re: Google Test and Google Mocks updated to version 1.10.0 (October 2019) [message #59127 is a reply to message #54621] Mon, 07 November 2022 00:16 Go to previous message
Lance is currently offline  Lance
Messages: 526
Registered: March 2007
Contributor
I am starting to try googletest in my project. It's very helpful. Thank you, Klugier!
Previous Topic: UppHub nests.jason File not accessible for raw access on GitHub
Next Topic: Google Test and Google Mocks updated to version 1.12.1 (Jun 2022)
Goto Forum:
  


Current Time: Fri Mar 29 00:37:35 CET 2024

Total time taken to generate the page: 0.01489 seconds