SlickEdit Community

Archived Beta Discussions => SlickEdit 201x Beta Discussions => SlickEdit 2019 v24 Beta Discussion => Topic started by: TKasparek on September 19, 2019, 04:16:13 PM

Title: usercpp.h file issues
Post by: TKasparek on September 19, 2019, 04:16:13 PM
I'm having issues with editing my usercpp.h file. I have a need to modify one of the default preprocessor defines to get unittest to tag up correctly. I delete the TEST(test_case_name, test_name) macro and replace with

#define TEST(testGroup, testName)
int testName;
void testGroup##Class::##testName##_Test()

The following always ends back up in the file, causing my tags to be screwed up again:
#define TEST(test_case_name, test_name) GTEST_TEST(test_case_name, test_name)

(Also, I've mentioned this before...) https://community.slickedit.com/index.php/topic,16470.msg64194.html#msg64194
Title: Re: usercpp.h file issues
Post by: Dennis on September 20, 2019, 02:52:36 PM
Reproduced.  This (and a couple other problems I stumbled over) will be fixed in the next v24 build.
Title: Re: usercpp.h file issues
Post by: TKasparek on September 20, 2019, 05:55:04 PM
Thanks!!