DescriptionIsolate tests by running AtExit callbacks between them.
For now, this is only for base_unittests. The plan is to enable
it for all unit tests. This should finally fix mysterious
problems cause by Singletons surviving after one test etc.
This change also adapts LazyInstance so that it can be reused
after being destroyed. It is used very frequently, for example
each time a MessageLoop is used. It is also worth noting that
we had some problems in the past related to the MessageLoop
being destroyed and re-instantiated in the same test executable.
This patch should also fix that.
TEST=none
BUG=12710
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32507
Patch Set 1 #
Total comments: 9
Patch Set 2 : update #
Total comments: 3
Patch Set 3 : update #Patch Set 4 : fix Linux hang #
Messages
Total messages: 21 (0 generated)
|