aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/MockConsole.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-14Allow the use of the region debug console found in recent viewers. This consoleMelanie1-1/+3
will be available to estate owners and managers. If the user using the console had god privs, they can use "set console on" and "set console off" to switch on the actual region console. This allows console access from within the viewer. The region debug console can coexist with any other main console.
2012-03-01Use a fully stubbed out MockConsole for unit tests rather than inheriting ↵Justin Clark-Casey (justincc)1-22/+37
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.
2010-09-12Add copyright headers.Jeff Ames1-1/+28
2010-05-04* Added an important comment to warn people not to use MockConsole for ↵Teravus Ovares (Dan Olivares)1-0/+5
anything but testing.
2010-05-04* This should fix the tests failing because of a MainConsole.Instance null ↵Teravus Ovares (Dan Olivares)1-0/+32
reference * Added a MockConsole that doesn't require a handle to System.Console