aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Tests/Common/DatabaseTestAttribute.cs (renamed from OpenSim/Data/Tests/DatabaseTestAttribute.cs)12
-rw-r--r--OpenSim/Tests/Common/LongRunningAttribute.cs22
2 files changed, 28 insertions, 6 deletions
diff --git a/OpenSim/Data/Tests/DatabaseTestAttribute.cs b/OpenSim/Tests/Common/DatabaseTestAttribute.cs
index b500f40..9d21831 100644
--- a/OpenSim/Data/Tests/DatabaseTestAttribute.cs
+++ b/OpenSim/Tests/Common/DatabaseTestAttribute.cs
@@ -3,15 +3,15 @@ using System.Collections.Generic;
3using System.Text; 3using System.Text;
4using NUnit.Framework; 4using NUnit.Framework;
5 5
6namespace OpenSim.Data.Tests 6namespace OpenSim.Tests.Common
7{ 7{
8 [AttributeUsage(AttributeTargets.All, 8 [AttributeUsage(AttributeTargets.All,
9 AllowMultiple=false, 9 AllowMultiple=false,
10 Inherited=true)] 10 Inherited=true)]
11 public class DatabaseTestAttribute : CategoryAttribute 11 public class DatabaseTestAttribute : LongRunningAttribute
12 { 12 {
13 public DatabaseTestAttribute() : base("Database") 13 public DatabaseTestAttribute() : base("Database")
14 { 14 {
15 } 15 }
16 } 16 }
17} 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}