Revision: 6886
http://winmerge.svn.sourceforge.net/winmerge/?rev=6886&view=rev
Author: kimmov
Date: 2009-06-30 08:51:26 +0000 (Tue, 30 Jun 2009)
Log Message:
-----------
Tests: Create test main file for FileVersion tests.
Modified Paths:
--------------
trunk/Testing/GoogleTest/FileVersion/FileVersion.vcproj
trunk/Testing/GoogleTest/FileVersion/FileVersion_test.cpp
Added Paths:
-----------
trunk/Testing/GoogleTest/FileVersion/test_main.cpp
Modified: trunk/Testing/GoogleTest/FileVersion/FileVersion.vcproj
===================================================================
--- trunk/Testing/GoogleTest/FileVersion/FileVersion.vcproj 2009-06-30 08:45:58 UTC (rev 6885)
+++ trunk/Testing/GoogleTest/FileVersion/FileVersion.vcproj 2009-06-30 08:51:26 UTC (rev 6886)
@@ -125,6 +125,9 @@
RelativePath=".\FileVersion_test.cpp">
</File>
<File
+ RelativePath=".\test_main.cpp">
+ </File>
+ <File
RelativePath="..\..\..\Src\Common\UnicodeString.cpp">
</File>
</Filter>
Modified: trunk/Testing/GoogleTest/FileVersion/FileVersion_test.cpp
===================================================================
--- trunk/Testing/GoogleTest/FileVersion/FileVersion_test.cpp 2009-06-30 08:45:58 UTC (rev 6885)
+++ trunk/Testing/GoogleTest/FileVersion/FileVersion_test.cpp 2009-06-30 08:51:26 UTC (rev 6886)
@@ -102,9 +102,3 @@
}
} // namespace
-
-int main(int argc, char **argv)
-{
- testing::InitGoogleTest(&argc, argv);
- return RUN_ALL_TESTS();
-}
Added: trunk/Testing/GoogleTest/FileVersion/test_main.cpp
===================================================================
--- trunk/Testing/GoogleTest/FileVersion/test_main.cpp (rev 0)
+++ trunk/Testing/GoogleTest/FileVersion/test_main.cpp 2009-06-30 08:51:26 UTC (rev 6886)
@@ -0,0 +1,8 @@
+#include <gtest/gtest.h>
+#include <windows.h>
+
+int main(int argc, char **argv)
+{
+ testing::InitGoogleTest(&argc, argv);
+ return RUN_ALL_TESTS();
+}
Property changes on: trunk/Testing/GoogleTest/FileVersion/test_main.cpp
___________________________________________________________________
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|