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).
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user