Changeset [c5f9588cc91f3024314fcad6730ef1d86607213a] by Jocelyn Legault
Revision c5f9588cc91f3024314fcad6730ef1d86607213a,
committed by Jocelyn Legault
· February 19th, 2010 @ 07:43 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/c5f9588cc91...
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