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
 Very poor behaviour with boost test framework
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Filousov
Junior Member

Czech Republic
10 Posts

Posted - Jul 27 2012 :  05:15:50 AM  Show Profile  Reply with Quote
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()

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Jul 27 2012 :  2:06:16 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

Filousov
Junior Member

Czech Republic
10 Posts

Posted - Jul 30 2012 :  07:46:09 AM  Show Profile  Reply with Quote
Thanks, that's helping. Why is it not turned on by default?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Jul 30 2012 :  11:18:12 AM  Show Profile  Reply with Quote
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.

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