From 5572a00295e36e3ee455a4eef9879c4685f3589d Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 9 Apr 2009 16:40:02 +0000 Subject: * Moved the DatabaseTestAttribute to Test.Common, and thus included ref to that in all db tests. *phew* --- OpenSim/Tests/Common/DatabaseTestAttribute.cs | 17 +++++++++++++++++ OpenSim/Tests/Common/LongRunningAttribute.cs | 22 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 OpenSim/Tests/Common/DatabaseTestAttribute.cs create mode 100644 OpenSim/Tests/Common/LongRunningAttribute.cs (limited to 'OpenSim/Tests/Common') 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 @@ +using System; +using System.Collections.Generic; +using System.Text; +using NUnit.Framework; + +namespace OpenSim.Tests.Common +{ + [AttributeUsage(AttributeTargets.All, + AllowMultiple=false, + Inherited=true)] + public class DatabaseTestAttribute : LongRunningAttribute + { + public DatabaseTestAttribute() : base("Database") + { + } + } +} \ 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 @@ +using System; +using System.Collections.Generic; +using System.Text; +using NUnit.Framework; + +namespace OpenSim.Tests.Common +{ + [AttributeUsage(AttributeTargets.All, + AllowMultiple = false, + Inherited = true)] + public class LongRunningAttribute : CategoryAttribute + { + protected LongRunningAttribute() : this("Long Running Test") + { + + } + + protected LongRunningAttribute(string category) : base(category) + { + } + } +} -- cgit v1.1