gtestãDLLå ã§ä½¿ç¨ããæ¹æ³ã«ã¤ãã¦ã ã»ã¾ãexeåä½ã®ããã°ã©ã ããgtestã使ç¨ãã¦ã¿ã ã¯ããã«ãdllã使ç¨ããªãå ´åã®è¶ ç°¡åãªgtestã®ãµã³ãã«ãä½ããåä½ãã¹ããã¦ã¿ã¾ãã ã»sample #include "stdafx.h" #include <gtest/gtest.h> #pragma comment(lib,"gtestd.lib") TEST(Test1, Test1) { // ã¨ã©ã¼ãçºçããã EXPECT_TRUE( false ); } int _tmain(int argc, _TCHAR* argv[]) { testing::InitGoogleTest(&argc, argv); RUN_ALL_TESTS(); getchar(); return 0; } ãããå®è¡ããã¨ããã®ãããªã³ã³ã½ã¼ã«ã表示ããã¾ãã æ£ããã¨ã©ã¼ãæ¤åºãã
{{#tags}}- {{label}}
{{/tags}}