Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA Outline broken for google tests

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Peter H Posted - Mar 17 2021 : 05:24:07 AM
The Visual Assist Outline does not work with google test definitions in C++. Instead of a list of the test functions (defined with the TEST macro), I only get a list of empty items marked with "T". For example, the following code leads to the VA Outline in the attached screenshot. The expected behavior would be a list of the test functions "myTestCase1", etc., in any readable format.


#include <gmock/gmock.h>
#include <gtest/gtest.h>

int main(int argc, char *argv[])
{
	::testing::InitGoogleMock(&argc, argv);
	return RUN_ALL_TESTS();
}

TEST(MyTest, myTestCase1)
{}

TEST(MyTest, myTestCase2)
{}

TEST(MyTest, myTestCase3)
{}






I am currently using VisualAssistX 10.9 Build 2399 with Visual Studio 16.9.2.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Mar 17 2021 : 08:31:42 AM
Ouch. I am seeing the same effect here. Thank you for the clear description.

case=144537

The good news is that the Alt-M list shows the function names correctly, so this is something.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000