diff options
author | Teravus Ovares (Dan Olivares) | 2010-05-04 22:16:07 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2010-05-04 22:16:07 -0400 |
commit | a9db266d93c3ec0f593879daf601f2055dc6fa3e (patch) | |
tree | 21b364c7b3a07d0237f133c9cb1512c6eb4ca931 /OpenSim/Framework | |
parent | * This should fix the tests failing because of a MainConsole.Instance null re... (diff) | |
download | opensim-SC-a9db266d93c3ec0f593879daf601f2055dc6fa3e.zip opensim-SC-a9db266d93c3ec0f593879daf601f2055dc6fa3e.tar.gz opensim-SC-a9db266d93c3ec0f593879daf601f2055dc6fa3e.tar.bz2 opensim-SC-a9db266d93c3ec0f593879daf601f2055dc6fa3e.tar.xz |
* Added an important comment to warn people not to use MockConsole for anything but testing.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Console/MockConsole.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/MockConsole.cs b/OpenSim/Framework/Console/MockConsole.cs index 57c56f1..9eb1977 100644 --- a/OpenSim/Framework/Console/MockConsole.cs +++ b/OpenSim/Framework/Console/MockConsole.cs | |||
@@ -5,6 +5,11 @@ using System.Text; | |||
5 | 5 | ||
6 | namespace OpenSim.Framework.Console | 6 | namespace OpenSim.Framework.Console |
7 | { | 7 | { |
8 | /// <summary> | ||
9 | /// This is a Fake console that's used when setting up the Scene in Unit Tests | ||
10 | /// Don't use this except for Unit Testing or you're in for a world of hurt when the | ||
11 | /// sim gets to ReadLine | ||
12 | /// </summary> | ||
8 | public class MockConsole : CommandConsole | 13 | public class MockConsole : CommandConsole |
9 | { | 14 | { |
10 | public MockConsole(string defaultPrompt) : base(defaultPrompt) | 15 | public MockConsole(string defaultPrompt) : base(defaultPrompt) |