Author Topic: usercpp.h file issues  (Read 1206 times)

TKasparek

  • Senior Community Member
  • Posts: 233
  • Hero Points: 27
usercpp.h file issues
« 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

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3076
  • Hero Points: 449
Re: usercpp.h file issues
« Reply #1 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.
« Last Edit: September 20, 2019, 04:49:35 pm by Dennis »

TKasparek

  • Senior Community Member
  • Posts: 233
  • Hero Points: 27
Re: usercpp.h file issues
« Reply #2 on: September 20, 2019, 05:55:04 pm »
Thanks!!