aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/MockConsole.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add ICommands.HasCommand() method so that we can detect whether a command ↵Justin Clark-Casey (justincc)2014-07-181-0/+1
| | | | has already been registered without needing to also run it
* Eliminated many warningsOren Hurvitz2014-04-231-0/+2
|
* factor out common HandleShow code for "show uptime"Justin Clark-Casey (justincc)2012-11-221-1/+6
|
* Allow the use of the region debug console found in recent viewers. This consoleMelanie2012-08-141-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.
* Use a fully stubbed out MockConsole for unit tests rather than inheriting ↵Justin Clark-Casey (justincc)2012-03-011-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.
* Add copyright headers.Jeff Ames2010-09-121-1/+28
|
* * Added an important comment to warn people not to use MockConsole for ↵Teravus Ovares (Dan Olivares)2010-05-041-0/+5
| | | | anything but testing.
* * This should fix the tests failing because of a MainConsole.Instance null ↵Teravus Ovares (Dan Olivares)2010-05-041-0/+32
reference * Added a MockConsole that doesn't require a handle to System.Console