Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VA Outline broken for google tests
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Peter H
New Member

2 Posts

Posted - Mar 17 2021 :  05:24:07 AM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Mar 17 2021 :  08:31:42 AM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000