nagyistoce / googlemock

Automatically exported from code.google.com/p/googlemock
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

when a mock object is leaked, we should print which test it is from #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, when we detect a leaked mock object, we print the source file
location where it was first set expectations on.  Sometimes the user do
that in a subroutine shared by several tests, and it's unclear which test
leaked the mock.

We should also print which test method the leaked mock object is from.

Original issue reported on code.google.com by zhanyong...@gmail.com on 4 May 2009 at 5:56

GoogleCodeExporter commented 9 years ago

Original comment by zhanyong...@gmail.com on 7 May 2009 at 6:09