diff options
author | Justin Clark-Casey (justincc) | 2012-03-01 03:23:10 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-01 03:23:10 +0000 |
commit | 0007711eb5947d292f10325dd4af640ece79ea2d (patch) | |
tree | 3047d9a2239688ae3ef5dd39c65f1f82e5246081 /OpenSim.FxCop | |
parent | Remove more now unused third party libraries. (diff) | |
download | opensim-SC-0007711eb5947d292f10325dd4af640ece79ea2d.zip opensim-SC-0007711eb5947d292f10325dd4af640ece79ea2d.tar.gz opensim-SC-0007711eb5947d292f10325dd4af640ece79ea2d.tar.bz2 opensim-SC-0007711eb5947d292f10325dd4af640ece79ea2d.tar.xz |
Use a fully stubbed out MockConsole for unit tests rather than inheriting from CommandConsole.
This is so that the static MainConsole.Instance doesn't retain references to methods registered by scene and other modules to service commands.
This prevents the scene from being garbage collected at the end of a test.
This is not the final thing preventing GC - next up is the timer started by SimStatsReporter that holds a reference to Scene that prevents end of test gc.
Diffstat (limited to 'OpenSim.FxCop')
0 files changed, 0 insertions, 0 deletions