diff options
author | lbsa71 | 2009-04-09 16:40:02 +0000 |
---|---|---|
committer | lbsa71 | 2009-04-09 16:40:02 +0000 |
commit | 5572a00295e36e3ee455a4eef9879c4685f3589d (patch) | |
tree | f0c2d7b2f417a100fcb2e5c9cccec051d1684e09 /OpenSim/Tests/Common | |
parent | * Allows MRMs to import libraries in the OpenSim bin directory. (diff) | |
download | opensim-SC-5572a00295e36e3ee455a4eef9879c4685f3589d.zip opensim-SC-5572a00295e36e3ee455a4eef9879c4685f3589d.tar.gz opensim-SC-5572a00295e36e3ee455a4eef9879c4685f3589d.tar.bz2 opensim-SC-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/Common')
-rw-r--r-- | OpenSim/Tests/Common/DatabaseTestAttribute.cs | 17 | ||||
-rw-r--r-- | OpenSim/Tests/Common/LongRunningAttribute.cs | 22 |
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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using NUnit.Framework; | ||
5 | |||
6 | namespace 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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using NUnit.Framework; | ||
5 | |||
6 | namespace 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 | } | ||