chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes

Hi.

I think ISOLATOR_CLEANUP() does not work normally.

Below is my test code.

class A : public::testing::Test

{
public:
void TearDown() override
{
ISOLATOR_CLEANUP();
}
}
void gFunc(void)
{
...
}
void TestFunc(void)
{
gFunc();
}
TEST_F(A, test1)
{
WEHN_CALLED(gFunc()).Ignore();
TestFunc(); // the internal operation of 'gFunc' is ignored.
}
TEST_F(A, test2)
{
TestFunc(); // I intented that the original internal operation of 'gFunc' was performed.
}
If run all tests,  'gFunc' is stil ignored at test2.
The used Isolator version is 4.1.3.0.1.
But when checked with old version 4.1.1.24, it works normally.
Is there any solution to solve the problem in version 4.1.3.0.1? 
 

closed with the note: it works normally, but another issue was found. So i'll  report it to new QnA
asked by brotherstone (1.1k points)
closed by brotherstone

1 Answer

0 votes

Hi,

Could you please provide us please some more information?

Also, it will be very helpful if you could send us a sample project so we could recreate the issue on our side.

I sent you an email, you can send me all the files there.

Best regards,

Daniel Markov,

Support specialist.

answered by Daniel Markov (5.8k points)
...