diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-09-30 20:23:50 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-09-30 20:23:50 +0000 |
commit | f6d087b78d230d875bf5d8281112662795044680 (patch) | |
tree | 37e8c4680f5f6763c18aaa2739446c8ba08501f4 /samples/sample9_unittest.cc | |
parent | fff033497b70e96a5dcadb6ba9570c12b5921d74 (diff) | |
download | gtest-f6d087b78d230d875bf5d8281112662795044680.tar.gz gtest-f6d087b78d230d875bf5d8281112662795044680.tar.bz2 gtest-f6d087b78d230d875bf5d8281112662795044680.tar.xz |
Makes gtest compile cleanly with MSVC's /W4 (by Zhanyong Wan).
Renames EventListenrs to TestEventListeners (by Zhanyong Wan).
Fixes invalid characters in XML report (by Vlad Losev).
Refacotrs SConscript (by Vlad Losev).
git-svn-id: http://googletest.googlecode.com/svn/trunk@321 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'samples/sample9_unittest.cc')
-rw-r--r-- | samples/sample9_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/sample9_unittest.cc b/samples/sample9_unittest.cc index 9bf865e..8944c47 100644 --- a/samples/sample9_unittest.cc +++ b/samples/sample9_unittest.cc @@ -37,10 +37,10 @@ #include <gtest/gtest.h> using ::testing::EmptyTestEventListener; -using ::testing::EventListeners; using ::testing::InitGoogleTest; using ::testing::Test; using ::testing::TestCase; +using ::testing::TestEventListeners; using ::testing::TestInfo; using ::testing::TestPartResult; using ::testing::UnitTest; @@ -120,7 +120,7 @@ int main(int argc, char **argv) { // If we are given the --terse_output command line flag, suppresses the // standard output and attaches own result printer. if (terse_output) { - EventListeners& listeners = unit_test.listeners(); + TestEventListeners& listeners = unit_test.listeners(); // Removes the default console output listener from the list so it will // not receive events from Google Test and won't print any output. Since |