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
Klugier is currently offline  Klugier
Messages: 882
Registered: September 2012
Location: Poland, Kraków
Experienced 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


Ultimate++ - one framework to rule them all.

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

Report message to a moderator

Previous Topic: Building TheIDE with using CMake
Next Topic: New STEM4U package
Goto Forum:
  


Current Time: Tue Oct 26 14:55:48 CEST 2021

Total time taken to generate the page: 0.01117 seconds