diff options
author | Jeff Ames | 2008-05-16 01:22:11 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-16 01:22:11 +0000 |
commit | 65c5efe43b68700bad94076d4cd421160203c5de (patch) | |
tree | 589b56649ed02f4942671fd6e51c6dc43f682e0d /OpenSim/TestSuite | |
parent | Thank you very much, mjm for : (diff) | |
download | opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.zip opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.tar.gz opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.tar.bz2 opensim-SC-65c5efe43b68700bad94076d4cd421160203c5de.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/TestSuite')
-rw-r--r-- | OpenSim/TestSuite/PhysicsBot.cs | 6 | ||||
-rw-r--r-- | OpenSim/TestSuite/Util.cs | 16 |
2 files changed, 11 insertions, 11 deletions
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 | |||
54 | 54 | ||
55 | protected Random somthing = new Random(Environment.TickCount);// We do stuff randomly here | 55 | protected Random somthing = new Random(Environment.TickCount);// We do stuff randomly here |
56 | 56 | ||
57 | 57 | ||
58 | //New instance of a SecondLife client | 58 | //New instance of a SecondLife client |
59 | public SecondLife client = new SecondLife(); | 59 | public SecondLife client = new SecondLife(); |
60 | 60 | ||
61 | protected string[] talkarray; | 61 | protected string[] talkarray; |
62 | /// <summary> | 62 | /// <summary> |
63 | /// | 63 | /// |
64 | /// </summary> | 64 | /// </summary> |
65 | /// <param name="bsconfig">nini config for the bot</param> | 65 | /// <param name="bsconfig">nini config for the bot</param> |
66 | public PhysicsBot(IConfig bsconfig) | 66 | public PhysicsBot(IConfig bsconfig) |
@@ -70,7 +70,7 @@ namespace OpenSim.TestSuite | |||
70 | talkarray = readexcuses(); | 70 | talkarray = readexcuses(); |
71 | } | 71 | } |
72 | 72 | ||
73 | //We do our actions here. This is where one would | 73 | //We do our actions here. This is where one would |
74 | //add additional steps and/or things the bot should do | 74 | //add additional steps and/or things the bot should do |
75 | 75 | ||
76 | void m_action_Elapsed(object sender, ElapsedEventArgs e) | 76 | 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 | |||
36 | Pass = 1, | 36 | Pass = 1, |
37 | Skip = 3 | 37 | Skip = 3 |
38 | } | 38 | } |
39 | 39 | ||
40 | private static String ResultToString(Result r) | 40 | private static String ResultToString(Result r) |
41 | { | 41 | { |
42 | if (r == Result.Pass) | 42 | if (r == Result.Pass) |
43 | { | 43 | { |
44 | return "PASS"; | 44 | return "PASS"; |
45 | } | 45 | } |
46 | else if (r == Result.Fail) | 46 | else if (r == Result.Fail) |
47 | { | 47 | { |
48 | return "FAIL"; | 48 | return "FAIL"; |
@@ -51,30 +51,30 @@ namespace OpenSim.TestSuite | |||
51 | { | 51 | { |
52 | return "SKIP"; | 52 | return "SKIP"; |
53 | } | 53 | } |
54 | else | 54 | else |
55 | { | 55 | { |
56 | return "UNKNOWN"; | 56 | return "UNKNOWN"; |
57 | } | 57 | } |
58 | } | 58 | } |
59 | 59 | ||
60 | private static void TestResult(Result r, String msg) | 60 | private static void TestResult(Result r, String msg) |
61 | { | 61 | { |
62 | Console.WriteLine("[{0}]: {1}", ResultToString(r), msg); | 62 | Console.WriteLine("[{0}]: {1}", ResultToString(r), msg); |
63 | } | 63 | } |
64 | 64 | ||
65 | public static void TestFail(String msg) | 65 | public static void TestFail(String msg) |
66 | { | 66 | { |
67 | TestResult(Result.Fail, msg); | 67 | TestResult(Result.Fail, msg); |
68 | } | 68 | } |
69 | 69 | ||
70 | public static void TestPass(String msg) | 70 | public static void TestPass(String msg) |
71 | { | 71 | { |
72 | TestResult(Result.Pass, msg); | 72 | TestResult(Result.Pass, msg); |
73 | } | 73 | } |
74 | 74 | ||
75 | public static void TestSkip(String msg) | 75 | public static void TestSkip(String msg) |
76 | { | 76 | { |
77 | TestResult(Result.Skip, msg); | 77 | TestResult(Result.Skip, msg); |
78 | } | 78 | } |
79 | } | 79 | } |
80 | } | 80 | } |