aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
authorlbsa712009-04-09 16:40:02 +0000
committerlbsa712009-04-09 16:40:02 +0000
commit5572a00295e36e3ee455a4eef9879c4685f3589d (patch)
treef0c2d7b2f417a100fcb2e5c9cccec051d1684e09 /OpenSim/Tests
parent* Allows MRMs to import libraries in the OpenSim bin directory. (diff)
downloadopensim-SC_OLD-5572a00295e36e3ee455a4eef9879c4685f3589d.zip
opensim-SC_OLD-5572a00295e36e3ee455a4eef9879c4685f3589d.tar.gz
opensim-SC_OLD-5572a00295e36e3ee455a4eef9879c4685f3589d.tar.bz2
opensim-SC_OLD-5572a00295e36e3ee455a4eef9879c4685f3589d.tar.xz
* Moved the DatabaseTestAttribute to Test.Common, and thus included ref to that in all db tests. *phew*
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r--OpenSim/Tests/Common/DatabaseTestAttribute.cs17
-rw-r--r--OpenSim/Tests/Common/LongRunningAttribute.cs22
2 files changed, 39 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/DatabaseTestAttribute.cs b/OpenSim/Tests/Common/DatabaseTestAttribute.cs
new file mode 100644
index 0000000..9d21831
--- /dev/null
+++ b/OpenSim/Tests/Common/DatabaseTestAttribute.cs
@@ -0,0 +1,17 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using NUnit.Framework;
5
6namespace OpenSim.Tests.Common
7{
8 [AttributeUsage(AttributeTargets.All,
9 AllowMultiple=false,
10 Inherited=true)]
11 public class DatabaseTestAttribute : LongRunningAttribute
12 {
13 public DatabaseTestAttribute() : base("Database")
14 {
15 }
16 }
17} \ No newline at end of file
diff --git a/OpenSim/Tests/Common/LongRunningAttribute.cs b/OpenSim/Tests/Common/LongRunningAttribute.cs
new file mode 100644
index 0000000..722217d
--- /dev/null
+++ b/OpenSim/Tests/Common/LongRunningAttribute.cs
@@ -0,0 +1,22 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using NUnit.Framework;
5
6namespace OpenSim.Tests.Common
7{
8 [AttributeUsage(AttributeTargets.All,
9 AllowMultiple = false,
10 Inherited = true)]
11 public class LongRunningAttribute : CategoryAttribute
12 {
13 protected LongRunningAttribute() : this("Long Running Test")
14 {
15
16 }
17
18 protected LongRunningAttribute(string category) : base(category)
19 {
20 }
21 }
22}