Skip to content

Commit

Permalink
Isolator debug description
Browse files Browse the repository at this point in the history
  • Loading branch information
humer.g committed Dec 13, 2022
1 parent 67e2df0 commit c943d80
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion GoogleTestNugetConsole/GoogleIsolatorTest.cpp
Expand Up @@ -15,7 +15,6 @@ namespace IsolatorTest
ISOLATOR_CLEANUP();
}


TEST(Isolator, googletest)
{
FAKE_GLOBAL(::MyGlobalTrue);
Expand All @@ -24,6 +23,10 @@ namespace IsolatorTest
// function does not take 0 arguements
//WHEN_CALLED(::MyGlobalTrue(ANY_VAL(const char*))).Return(false);

// cannot convert argument 1 from int to const char *
//WHEN_CALLED(::MyGlobalTrue(_)).Return(false);


EXPECT_FALSE(::MyGlobalTrue("fake"));

ISOLATOR_CLEANUP();
Expand Down

0 comments on commit c943d80

Please sign in to comment.