From 17f0a4be5323a50cac3ebdeada3d3b19d7c05e60 Mon Sep 17 00:00:00 2001
From: lbsa71
Date: Wed, 27 May 2009 12:36:58 +0000
Subject: * Added IntegrationTest Attribute and tagged the ODETestClass
---
OpenSim/Region/Physics/OdePlugin/ODETestClass.cs | 3 ++-
OpenSim/Tests/Common/IntegrationTestAttribute.cs | 17 +++++++++++++++++
prebuild.xml | 1 +
3 files changed, 20 insertions(+), 1 deletion(-)
create mode 100644 OpenSim/Tests/Common/IntegrationTestAttribute.cs
diff --git a/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs b/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs
index 6ee23db..a269d31 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs
@@ -33,10 +33,11 @@ using OpenSim.Framework;
using OpenSim.Region.Physics.Manager;
using log4net;
using System.Reflection;
+using OpenSim.Tests.Common;
namespace OpenSim.Region.Physics.OdePlugin
{
- [TestFixture]
+ [IntegrationTest]
public class ODETestClass
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
diff --git a/OpenSim/Tests/Common/IntegrationTestAttribute.cs b/OpenSim/Tests/Common/IntegrationTestAttribute.cs
new file mode 100644
index 0000000..c721710
--- /dev/null
+++ b/OpenSim/Tests/Common/IntegrationTestAttribute.cs
@@ -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")
+ {
+ }
+ }
+}
diff --git a/prebuild.xml b/prebuild.xml
index 5272a89..ffe8bad 100644
--- a/prebuild.xml
+++ b/prebuild.xml
@@ -502,6 +502,7 @@
+
--
cgit v1.1