From 6ef9d4da901a346c232458317cca6268da888e2e Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Mon, 18 Aug 2008 00:39:10 +0000 Subject: Formatting cleanup. --- OpenSim/TestSuite/BotManager.cs | 10 +++++----- OpenSim/TestSuite/Main.cs | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'OpenSim/TestSuite') 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 protected Random somthing = new Random(Environment.TickCount); protected int numbots = 0; protected IConfig Previous_config; - + /// <summary> /// Constructor Creates MainConsole.Instance to take commands and provide the place to write data /// </summary> @@ -97,7 +97,7 @@ namespace OpenSim.TestSuite startupBot(i, Previous_config); } } - + /// <summary> /// This starts up the bot and stores the thread for the bot in the thread array /// </summary> @@ -128,7 +128,7 @@ namespace OpenSim.TestSuite { string returnstring = ""; string chars = "abcdefghijklmnopqrstuvwxyz0123456789"; - + for (int i = 0; i < 7; i++) { returnstring += chars.Substring(somthing.Next(chars.Length),1); @@ -178,7 +178,7 @@ namespace OpenSim.TestSuite { return new ConsoleBase("Region", this); } - + /// <summary> /// Command runnint tool.. Currently use it to add bots, shutdown and (dangerous)Forcequit /// </summary> @@ -199,7 +199,7 @@ namespace OpenSim.TestSuite case "addbots": int newbots; Helpers.TryParse(cmdparams[0], out newbots); - + if (newbots > 0) addbots(newbots); 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 else { // TODO: unused: int botcount = config.GetInt("botcount", 1); - + // BotManager bm = new BotManager(); - + Utils.TestPass("Completed Startup"); } } @@ -69,18 +69,18 @@ namespace OpenSim.TestSuite { //Set up our nifty config.. thanks to nini ArgvConfigSource cs = new ArgvConfigSource(args); - + // TODO: unused: cs.AddSwitch("Startup", "botcount","n"); cs.AddSwitch("Startup", "loginuri","l"); cs.AddSwitch("Startup", "firstname"); cs.AddSwitch("Startup", "lastname"); cs.AddSwitch("Startup", "password"); cs.AddSwitch("Startup", "help","h"); - + IConfig ol = cs.Configs["Startup"]; return ol; } - + private static void Help() { Console.WriteLine( -- cgit v1.1