aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/TestHelper.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-02-08 18:18:56 +0000
committerJustin Clarke Casey2008-02-08 18:18:56 +0000
commit24ac86931a79b3968c5c6c00f93bb92bf967ea75 (patch)
treefbc90f13b13a3e7024ab92f3238746da85f3ae62 /OpenSim/Tests/Common/TestHelper.cs
parent* Made some terrain functions faster computationally. (diff)
downloadopensim-SC-24ac86931a79b3968c5c6c00f93bb92bf967ea75.zip
opensim-SC-24ac86931a79b3968c5c6c00f93bb92bf967ea75.tar.gz
opensim-SC-24ac86931a79b3968c5c6c00f93bb92bf967ea75.tar.bz2
opensim-SC-24ac86931a79b3968c5c6c00f93bb92bf967ea75.tar.xz
update eol-style
Diffstat (limited to 'OpenSim/Tests/Common/TestHelper.cs')
-rw-r--r--OpenSim/Tests/Common/TestHelper.cs50
1 files changed, 25 insertions, 25 deletions
diff --git a/OpenSim/Tests/Common/TestHelper.cs b/OpenSim/Tests/Common/TestHelper.cs
index f59c157..9dc6aa7 100644
--- a/OpenSim/Tests/Common/TestHelper.cs
+++ b/OpenSim/Tests/Common/TestHelper.cs
@@ -1,25 +1,25 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3using System.Text; 3using System.Text;
4 4
5namespace OpenSim.Tests.Common 5namespace OpenSim.Tests.Common
6{ 6{
7 public delegate void TestDelegate(); 7 public delegate void TestDelegate();
8 8
9 public class TestHelper 9 public class TestHelper
10 { 10 {
11 public static bool AssertThisDelegateCausesArgumentException(TestDelegate d) 11 public static bool AssertThisDelegateCausesArgumentException(TestDelegate d)
12 { 12 {
13 try 13 try
14 { 14 {
15 d(); 15 d();
16 } 16 }
17 catch(ArgumentException e) 17 catch(ArgumentException e)
18 { 18 {
19 return true; 19 return true;
20 } 20 }
21 21
22 return false; 22 return false;
23 } 23 }
24 } 24 }
25} 25}