Introduce google dll test runner app
-
Thell Fowler
History entry:
Changeset [7677a4c3b42048d88a01ed180e3114348a676b38] 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...Committed by Jocelyn Legault
-
Thell Fowler
History entry:
Changeset [72e71812225762aa9a81abc4122593bc6d587782] by Jocelyn Legault
February 18th, 2010 @ 11:53 PM
Test runner: run in non-unicode.
* Running the UNICODE runner caused problems with input characters. * The code was not returning the value of the unit tests run.[#35]
Signed-off-by: Jocelyn Legault jocelynlegault@gmail.com
http://github.com/npp-community/nppcr_googletest/commit/72e71812225...Committed by Jocelyn Legault
-
Thell Fowler
Pushed the latest rendition of Joce's
jl/LH-35/micro-test-runnerbranch back to the gtest repository with the appropriate topic title ofjl/LH-4/introduce-dll-test-runner-appand removed the old topic from the repo. -
Thell Fowler
(from [98a9e97b852603806be13d0f20699a1c0bd7c428]) gtest_runner: setup project to match established settings
-
Make runner.exe an integrated part of the N++CR google test solution.
-
Remove runner solutions and add project to existing solutions.
- Rename and move runner.cpp to src\gtest_runner.cc and rename output from runner.exe to gtest_runner.exe to match naming conventions.
- Utilize N++CR vsprops to match existing output path locations.
-
Fix vc8 project character set to match vc9 to fix remove conversion error.
-
This commit matches the npp-community ticket npp-community ticket#35
[#4 Introduce google dll test runner app]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/nppcr_googletest/commit/98a9e97b852... -
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.