diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-08-15 08:37:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-15 08:37:15 -0700 |
commit | 7e7e3a6f45db62d470c9d15b062582e9e95d3bcd (patch) | |
tree | 29039379de3d6fb3ef4c049d9b69faba9b4e5ccf /googlemock/src/gmock-spec-builders.cc | |
parent | b50b2f775ed0268af9c83a96b285e296778d0743 (diff) | |
parent | 997d343dd680e541ef96ce71ee54a91daf2577a0 (diff) | |
download | googletest-7e7e3a6f45db62d470c9d15b062582e9e95d3bcd.tar.gz googletest-7e7e3a6f45db62d470c9d15b062582e9e95d3bcd.tar.bz2 googletest-7e7e3a6f45db62d470c9d15b062582e9e95d3bcd.zip |
Merge branch 'master' into patch-1
Diffstat (limited to 'googlemock/src/gmock-spec-builders.cc')
-rw-r--r-- | googlemock/src/gmock-spec-builders.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/googlemock/src/gmock-spec-builders.cc b/googlemock/src/gmock-spec-builders.cc index 22d002fe..b93f4e0e 100644 --- a/googlemock/src/gmock-spec-builders.cc +++ b/googlemock/src/gmock-spec-builders.cc @@ -26,8 +26,7 @@ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// -// Author: wan@google.com (Zhanyong Wan) + // Google Mock - a framework for writing C++ mock classes. // @@ -607,7 +606,7 @@ class MockObjectRegistry { if (it->second.leakable) // The user said it's fine to leak this object. continue; - // TODO(wan@google.com): Print the type of the leaked object. + // FIXME: Print the type of the leaked object. // This can help the user identify the leaked object. std::cout << "\n"; const MockObjectState& state = it->second; @@ -783,7 +782,7 @@ void Mock::RegisterUseByOnCallOrExpectCall(const void* mock_obj, const TestInfo* const test_info = UnitTest::GetInstance()->current_test_info(); if (test_info != NULL) { - // TODO(wan@google.com): record the test case name when the + // FIXME: record the test case name when the // ON_CALL or EXPECT_CALL is invoked from SetUpTestCase() or // TearDownTestCase(). state.first_used_test_case = test_info->test_case_name(); |