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?