use gmock intead of gtest
[platform/core/uifw/libtbm.git] / haltests / tc_main.cpp
index a936217..7545995 100644 (file)
@@ -28,7 +28,7 @@
  *
 **************************************************************************/
 
-#include "gtest/gtest.h"
+#include "gmock/gmock.h"
 
 #ifdef TIZEN_TEST_GCOV
 extern "C" void __gcov_flush(void);
@@ -43,7 +43,7 @@ int main(int argc, char **argv)
 #endif
 
        try {
-               ::testing::InitGoogleTest(&argc, argv);
+               ::testing::InitGoogleMock(&argc, argv);
                ::testing::FLAGS_gtest_death_test_style = "fast";
        } catch ( ... ) {
                std::cout << "error while trying to init google tests.\n";