Validate gmock expectation and clear it after each test

This commit is contained in:
ExMix 2013-11-15 16:53:45 +03:00 committed by Alex Zolotarev
parent c31e155e3b
commit 1f52a45ef7

View file

@ -78,6 +78,7 @@ int main(int argc, char * argv[])
{
// Run the test.
pTest->m_Fn();
emul::GLMockFunctions::ValidateAndClear();
if (g_bLastTestOK)
{