mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* Moved the DatabaseTestAttribute to Test.Common, and thus included ref to that in all db tests. *phew*
This commit is contained in:
17
OpenSim/Tests/Common/DatabaseTestAttribute.cs
Normal file
17
OpenSim/Tests/Common/DatabaseTestAttribute.cs
Normal 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")
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
22
OpenSim/Tests/Common/LongRunningAttribute.cs
Normal file
22
OpenSim/Tests/Common/LongRunningAttribute.cs
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user