From 3bef459eac9aa84c579f34249aebc9ff56832054 Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Wed, 24 Feb 2010 17:19:25 +0000 Subject: Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler Carruth); adds wide InitGoogleTest to gtest.def (by Vlad Losev); updates the version number (by Zhanyong Wan); updates the release notes for 1.5.0 (by Vlad Losev); removes scons scripts from the distribution (by Zhanyong Wan); adds the cmake build script to the distribution (by Zhanyong Wan); adds fused source files to the distribution (by Vlad Losev and Chandler Carruth). --- test/gtest_dll_test_.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/gtest_dll_test_.cc') diff --git a/test/gtest_dll_test_.cc b/test/gtest_dll_test_.cc index c99358aa..3fb61812 100644 --- a/test/gtest_dll_test_.cc +++ b/test/gtest_dll_test_.cc @@ -484,6 +484,11 @@ class MyOtherListener : public EmptyTestEventListener {}; int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv); + void (*wide_init_google_test)(int*, wchar_t**) = &testing::InitGoogleTest; + + // Ensures the linker doesn't throw away reference to wide InitGoogleTest. + GTEST_CHECK_(wide_init_google_test != NULL); + TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); TestEventListener* listener = new MyListener; -- cgit v1.2.3