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

TKasparek

  • Senior Community Member
  • Posts: 246
  • Hero Points: 29
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

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
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: 246
  • Hero Points: 29
Re: usercpp.h file issues
« Reply #2 on: September 20, 2019, 05:55:04 PM »
Thanks!!