Changeset [7677a4c3b42048d88a01ed180e3114348a676b38] by Jocelyn Legault
Revision 7677a4c3b42048d88a01ed180e3114348a676b38,
committed by Jocelyn Legault
· February 18th, 2010 @ 09:53 PM
Micro test runner: creation.
Created this micro test runner that takes as parameters a
path to a DLL and GTest arguments. Provided that the DLL
exports a test runner function such as:
#ifndef SHIPPING
extern "C" __declspec(dllexport)
int __stdcall RunTests(int argc, TCHAR* argv[])
{
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
#endif
The runner will trigger the execution of the tests
contained in the DLL.
[#35]
Signed-off-by: Jocelyn Legault jocelynlegault@gmail.com
http://github.com/npp-community/nppcr_googletest/commit/7677a4c3b42...
5 changed files
-
A
runner/gtest_runner.8.vcproj -
A
runner/gtest_runner.9.vcproj -
A
runner/runner.8.sln -
A
runner/runner.9.sln -
A
runner/runner.cpp