* Moved the DatabaseTestAttribute to Test.Common, and thus included ref to that in all db tests. *phew*

This commit is contained in:
lbsa71
2009-04-09 16:40:02 +00:00
parent f44694c28e
commit 5572a00295
38 changed files with 67 additions and 6 deletions

View File

@@ -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")
{
}
}
}

View File

@@ -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)
{
}
}
}