diff options
Diffstat (limited to 'OpenSim/TestSuite/Util.cs')
-rw-r--r-- | OpenSim/TestSuite/Util.cs | 16 |
1 files changed, 8 insertions, 8 deletions
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 | } |