Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Very poor behaviour with boost test framework

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
Filousov Posted - Jul 27 2012 : 05:15:50 AM
The visual assist is exhibiting very poor intellisense behaviour when typing things inside boost testing macros. Can this be improved? Is it recognized as bug?

This is especially bad with template classes.

E.g. in:

#define BOOST_TEST_NO_LIB
#include <boost/test/unit_test.hpp>

BOOST_AUTO_TEST_SUITE(cppUtilsArrayTest)

BOOST_AUTO_TEST_CASE(basicArrayFunctionalityTest) {
// Here the Visual Assist will have problems - especially talking about template classes

}

BOOST_AUTO_TEST_SUITE_END()
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 30 2012 : 11:18:12 AM
I am glad this is helping, thank you for the update. This is not turned on by default partly due to the fact it can slow VA down, since our parser has to do more work. Also it has been known to cause more problems than it fixes, e.g. with the wxWidgets library.
Filousov Posted - Jul 30 2012 : 07:46:09 AM
Thanks, that's helping. Why is it not turned on by default?
feline Posted - Jul 27 2012 : 2:06:16 PM
Sorry for this. Can you please try turning on deep macro parsing in VA, as explained by this FAQ entry:

http://docs.wholetomato.com?W363

Some other users have reported problems with boost testing macros, and that deep macro parsing helps, so hopefully this will help you as well.

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