Closed GoogleCodeExporter closed 9 years ago
Vlad suggested:
> Why can't googlemock release all the pointers before exiting RUN_ALL_TESTS
when
> run under gtest?
Good point. Better yet, googlemock could report them as errors. This is
especially useful where a heap checker cannot be used.
> This can be done once gtest's test listener interface is
> published.
Yes. Or we can use a global test environment, which is already
supported. We just need to make sure that googlemock's environment is torn
down after all other test environments.
Original comment by zhanyong...@gmail.com
on 26 Feb 2009 at 7:11
Original comment by zhanyong...@gmail.com
on 26 Feb 2009 at 7:11
Original comment by zhanyong...@gmail.com
on 4 Mar 2009 at 7:15
A simple solution is to add a destructor to the global table which will
complain if
the table is not empty.
Original comment by zhanyong...@gmail.com
on 15 Apr 2009 at 11:31
Original comment by zhanyong...@gmail.com
on 1 May 2009 at 7:47
Original issue reported on code.google.com by
zhanyong...@gmail.com
on 6 Feb 2009 at 7:48