diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-07-01 04:58:05 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-07-01 04:58:05 +0000 |
commit | b2db677c9905a34ca6454aa526f7a0cc5cfaeca1 (patch) | |
tree | 673f967d6404ea730ccb3d93f30cd3bff5fc8a0e /src/gtest.cc | |
parent | 1b61f16aef4ea5bb2a7b28e759996dab10e0ca72 (diff) | |
download | googletest-b2db677c9905a34ca6454aa526f7a0cc5cfaeca1.tar.gz googletest-b2db677c9905a34ca6454aa526f7a0cc5cfaeca1.tar.bz2 googletest-b2db677c9905a34ca6454aa526f7a0cc5cfaeca1.zip |
Reduces the flakiness of gtest-port_test on Mac; improves the Python tests; hides methods that we don't want to publish; makes win-dbg8 the default scons configuration (all by Vlad Losev).
Diffstat (limited to 'src/gtest.cc')
-rw-r--r-- | src/gtest.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gtest.cc b/src/gtest.cc index 6e4dbfc7..a1d8ac04 100644 --- a/src/gtest.cc +++ b/src/gtest.cc @@ -2290,17 +2290,6 @@ class TestNameIs { } // namespace -// Finds and returns a TestInfo with the given name. If one doesn't -// exist, returns NULL. -TestInfo * TestCase::GetTestInfo(const char* test_name) { - // Can we find a TestInfo with the given name? - internal::ListNode<TestInfo *> * const node = test_info_list_->FindIf( - TestNameIs(test_name)); - - // Returns the TestInfo found. - return node ? node->element() : NULL; -} - namespace internal { // This method expands all parameterized tests registered with macros TEST_P |