U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » 2020.2 'upcoming'
Re: 2020.2 'upcoming' [message #54732 is a reply to message #54649] Fri, 04 September 2020 10:55 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1119
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Mirek,

I observed some issues with Assist++ in bazzar/GoogleMockExample. If I modify it like this the problem is fully reproducible:
TEST(CarRepairShopTest, ServiceChecksAllMainCarElements) {
	MockCar car;
	CarRepairShop repairShop;
	repairShop.// Asist++ from here - nothing happens!!!
	
	EXPECT_CALL(car, ReadRegistrationNumbers()).WillOnce(::testing::Return(String(CAR_REGISTRATION_NUMBER)));
	EXPECT_CALL(car, OpenHood()).Times(::testing::AtLeast(1));
	
	EXPECT_TRUE(repairShop.Service(car));
}


It seems that Assist++ doesn't understand TEST and TEST_F macros very well.

Klugier


U++ - one framework to rule them all.

[Updated on: Fri, 04 September 2020 10:56]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Turtle package is ported to VirtualGui
Next Topic: clang windows -FPIC not supported
Goto Forum:
  


Current Time: Mon Sep 28 04:37:06 GMT+2 2026

Total time taken to generate the page: 0.00769 seconds