From 1f52a45ef72744aafb12f2c225fdc0b33b5fbf73 Mon Sep 17 00:00:00 2001 From: ExMix Date: Fri, 15 Nov 2013 16:53:45 +0300 Subject: [PATCH] Validate gmock expectation and clear it after each test --- drape/drape_tests/testingmain.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/drape/drape_tests/testingmain.cpp b/drape/drape_tests/testingmain.cpp index 3453e5cd0d..dc4de44c30 100644 --- a/drape/drape_tests/testingmain.cpp +++ b/drape/drape_tests/testingmain.cpp @@ -78,6 +78,7 @@ int main(int argc, char * argv[]) { // Run the test. pTest->m_Fn(); + emul::GLMockFunctions::ValidateAndClear(); if (g_bLastTestOK) {