* Added IntegrationTest Attribute and tagged the ODETestClass

0.6.6-post-fixes
lbsa71 2009-05-27 12:36:58 +00:00
parent 892406248a
commit 17f0a4be53
3 changed files with 20 additions and 1 deletions

View File

@ -33,10 +33,11 @@ using OpenSim.Framework;
using OpenSim.Region.Physics.Manager; using OpenSim.Region.Physics.Manager;
using log4net; using log4net;
using System.Reflection; using System.Reflection;
using OpenSim.Tests.Common;
namespace OpenSim.Region.Physics.OdePlugin namespace OpenSim.Region.Physics.OdePlugin
{ {
[TestFixture] [IntegrationTest]
public class ODETestClass public class ODETestClass
{ {
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);

View File

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenSim.Tests.Common
{
[AttributeUsage(AttributeTargets.All,
AllowMultiple = false,
Inherited = true)]
public class IntegrationTestAttribute : LongRunningAttribute
{
public IntegrationTestAttribute()
: base("Integration")
{
}
}
}

View File

@ -502,6 +502,7 @@
<Reference name="OpenSim.Region.Physics.Manager"/> <Reference name="OpenSim.Region.Physics.Manager"/>
<Reference name="Ode.NET.dll" /> <Reference name="Ode.NET.dll" />
<Reference name="nunit.framework.dll" /> <Reference name="nunit.framework.dll" />
<Reference name="OpenSim.Tests.Common"/>
<Reference name="log4net.dll"/> <Reference name="log4net.dll"/>
<Files> <Files>