diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/TestSuite/BotManager.cs | 10 | ||||
-rw-r--r-- | OpenSim/TestSuite/Main.cs | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/TestSuite/BotManager.cs b/OpenSim/TestSuite/BotManager.cs index a431a43..29864ab 100644 --- a/OpenSim/TestSuite/BotManager.cs +++ b/OpenSim/TestSuite/BotManager.cs | |||
@@ -51,7 +51,7 @@ namespace OpenSim.TestSuite | |||
51 | protected Random somthing = new Random(Environment.TickCount); | 51 | protected Random somthing = new Random(Environment.TickCount); |
52 | protected int numbots = 0; | 52 | protected int numbots = 0; |
53 | protected IConfig Previous_config; | 53 | protected IConfig Previous_config; |
54 | 54 | ||
55 | /// <summary> | 55 | /// <summary> |
56 | /// Constructor Creates MainConsole.Instance to take commands and provide the place to write data | 56 | /// Constructor Creates MainConsole.Instance to take commands and provide the place to write data |
57 | /// </summary> | 57 | /// </summary> |
@@ -97,7 +97,7 @@ namespace OpenSim.TestSuite | |||
97 | startupBot(i, Previous_config); | 97 | startupBot(i, Previous_config); |
98 | } | 98 | } |
99 | } | 99 | } |
100 | 100 | ||
101 | /// <summary> | 101 | /// <summary> |
102 | /// This starts up the bot and stores the thread for the bot in the thread array | 102 | /// This starts up the bot and stores the thread for the bot in the thread array |
103 | /// </summary> | 103 | /// </summary> |
@@ -128,7 +128,7 @@ namespace OpenSim.TestSuite | |||
128 | { | 128 | { |
129 | string returnstring = ""; | 129 | string returnstring = ""; |
130 | string chars = "abcdefghijklmnopqrstuvwxyz0123456789"; | 130 | string chars = "abcdefghijklmnopqrstuvwxyz0123456789"; |
131 | 131 | ||
132 | for (int i = 0; i < 7; i++) | 132 | for (int i = 0; i < 7; i++) |
133 | { | 133 | { |
134 | returnstring += chars.Substring(somthing.Next(chars.Length),1); | 134 | returnstring += chars.Substring(somthing.Next(chars.Length),1); |
@@ -178,7 +178,7 @@ namespace OpenSim.TestSuite | |||
178 | { | 178 | { |
179 | return new ConsoleBase("Region", this); | 179 | return new ConsoleBase("Region", this); |
180 | } | 180 | } |
181 | 181 | ||
182 | /// <summary> | 182 | /// <summary> |
183 | /// Command runnint tool.. Currently use it to add bots, shutdown and (dangerous)Forcequit | 183 | /// Command runnint tool.. Currently use it to add bots, shutdown and (dangerous)Forcequit |
184 | /// </summary> | 184 | /// </summary> |
@@ -199,7 +199,7 @@ namespace OpenSim.TestSuite | |||
199 | case "addbots": | 199 | case "addbots": |
200 | int newbots; | 200 | int newbots; |
201 | Helpers.TryParse(cmdparams[0], out newbots); | 201 | Helpers.TryParse(cmdparams[0], out newbots); |
202 | 202 | ||
203 | if (newbots > 0) | 203 | if (newbots > 0) |
204 | addbots(newbots); | 204 | addbots(newbots); |
205 | break; | 205 | break; |
diff --git a/OpenSim/TestSuite/Main.cs b/OpenSim/TestSuite/Main.cs index b944304..8b2de81 100644 --- a/OpenSim/TestSuite/Main.cs +++ b/OpenSim/TestSuite/Main.cs | |||
@@ -58,9 +58,9 @@ namespace OpenSim.TestSuite | |||
58 | else | 58 | else |
59 | { | 59 | { |
60 | // TODO: unused: int botcount = config.GetInt("botcount", 1); | 60 | // TODO: unused: int botcount = config.GetInt("botcount", 1); |
61 | 61 | ||
62 | // BotManager bm = new BotManager(); | 62 | // BotManager bm = new BotManager(); |
63 | 63 | ||
64 | Utils.TestPass("Completed Startup"); | 64 | Utils.TestPass("Completed Startup"); |
65 | } | 65 | } |
66 | } | 66 | } |
@@ -69,18 +69,18 @@ namespace OpenSim.TestSuite | |||
69 | { | 69 | { |
70 | //Set up our nifty config.. thanks to nini | 70 | //Set up our nifty config.. thanks to nini |
71 | ArgvConfigSource cs = new ArgvConfigSource(args); | 71 | ArgvConfigSource cs = new ArgvConfigSource(args); |
72 | 72 | ||
73 | // TODO: unused: cs.AddSwitch("Startup", "botcount","n"); | 73 | // TODO: unused: cs.AddSwitch("Startup", "botcount","n"); |
74 | cs.AddSwitch("Startup", "loginuri","l"); | 74 | cs.AddSwitch("Startup", "loginuri","l"); |
75 | cs.AddSwitch("Startup", "firstname"); | 75 | cs.AddSwitch("Startup", "firstname"); |
76 | cs.AddSwitch("Startup", "lastname"); | 76 | cs.AddSwitch("Startup", "lastname"); |
77 | cs.AddSwitch("Startup", "password"); | 77 | cs.AddSwitch("Startup", "password"); |
78 | cs.AddSwitch("Startup", "help","h"); | 78 | cs.AddSwitch("Startup", "help","h"); |
79 | 79 | ||
80 | IConfig ol = cs.Configs["Startup"]; | 80 | IConfig ol = cs.Configs["Startup"]; |
81 | return ol; | 81 | return ol; |
82 | } | 82 | } |
83 | 83 | ||
84 | private static void Help() | 84 | private static void Help() |
85 | { | 85 | { |
86 | Console.WriteLine( | 86 | Console.WriteLine( |