From 65c5efe43b68700bad94076d4cd421160203c5de Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Fri, 16 May 2008 01:22:11 +0000 Subject: Formatting cleanup. --- OpenSim/TestSuite/PhysicsBot.cs | 6 +++--- OpenSim/TestSuite/Util.cs | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'OpenSim/TestSuite') diff --git a/OpenSim/TestSuite/PhysicsBot.cs b/OpenSim/TestSuite/PhysicsBot.cs index 3d6b54c..a7bbe80 100644 --- a/OpenSim/TestSuite/PhysicsBot.cs +++ b/OpenSim/TestSuite/PhysicsBot.cs @@ -54,13 +54,13 @@ namespace OpenSim.TestSuite protected Random somthing = new Random(Environment.TickCount);// We do stuff randomly here - + //New instance of a SecondLife client public SecondLife client = new SecondLife(); protected string[] talkarray; /// - /// + /// /// /// nini config for the bot public PhysicsBot(IConfig bsconfig) @@ -70,7 +70,7 @@ namespace OpenSim.TestSuite talkarray = readexcuses(); } - //We do our actions here. This is where one would + //We do our actions here. This is where one would //add additional steps and/or things the bot should do void m_action_Elapsed(object sender, ElapsedEventArgs e) diff --git a/OpenSim/TestSuite/Util.cs b/OpenSim/TestSuite/Util.cs index c82391b..5823af4 100644 --- a/OpenSim/TestSuite/Util.cs +++ b/OpenSim/TestSuite/Util.cs @@ -36,13 +36,13 @@ namespace OpenSim.TestSuite Pass = 1, Skip = 3 } - + private static String ResultToString(Result r) { if (r == Result.Pass) { return "PASS"; - } + } else if (r == Result.Fail) { return "FAIL"; @@ -51,30 +51,30 @@ namespace OpenSim.TestSuite { return "SKIP"; } - else + else { return "UNKNOWN"; } } - + private static void TestResult(Result r, String msg) { Console.WriteLine("[{0}]: {1}", ResultToString(r), msg); } - + public static void TestFail(String msg) { TestResult(Result.Fail, msg); } - + public static void TestPass(String msg) { TestResult(Result.Pass, msg); } - + public static void TestSkip(String msg) { - TestResult(Result.Skip, msg); + TestResult(Result.Skip, msg); } } } -- cgit v1.1