From b2db677c9905a34ca6454aa526f7a0cc5cfaeca1 Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Wed, 1 Jul 2009 04:58:05 +0000 Subject: 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). --- src/gtest-internal-inl.h | 5 ----- src/gtest.cc | 11 ----------- 2 files changed, 16 deletions(-) (limited to 'src') diff --git a/src/gtest-internal-inl.h b/src/gtest-internal-inl.h index c68ce5a0..3c9a8d97 100644 --- a/src/gtest-internal-inl.h +++ b/src/gtest-internal-inl.h @@ -1116,11 +1116,6 @@ inline UnitTestImpl* GetUnitTestImpl() { return UnitTest::GetInstance()->impl(); } -// Clears all test part results of the current test. -inline void ClearCurrentTestPartResults() { - GetUnitTestImpl()->current_test_result()->ClearTestPartResults(); -} - // Internal helper functions for implementing the simple regular // expression matcher. bool IsInSet(char ch, const char* str); 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 * 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 -- cgit v1.2.3