aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorlbsa712009-05-27 12:36:58 +0000
committerlbsa712009-05-27 12:36:58 +0000
commit17f0a4be5323a50cac3ebdeada3d3b19d7c05e60 (patch)
tree89163b818cd7f887581d14fd27d8a6d19ea5b2fb
parent* Added OpenSim.Server.Handlers.Tests project (diff)
downloadopensim-SC_OLD-17f0a4be5323a50cac3ebdeada3d3b19d7c05e60.zip
opensim-SC_OLD-17f0a4be5323a50cac3ebdeada3d3b19d7c05e60.tar.gz
opensim-SC_OLD-17f0a4be5323a50cac3ebdeada3d3b19d7c05e60.tar.bz2
opensim-SC_OLD-17f0a4be5323a50cac3ebdeada3d3b19d7c05e60.tar.xz
* Added IntegrationTest Attribute and tagged the ODETestClass
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODETestClass.cs3
-rw-r--r--OpenSim/Tests/Common/IntegrationTestAttribute.cs17
-rw-r--r--prebuild.xml1
3 files changed, 20 insertions, 1 deletions
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;
33using OpenSim.Region.Physics.Manager; 33using OpenSim.Region.Physics.Manager;
34using log4net; 34using log4net;
35using System.Reflection; 35using System.Reflection;
36using OpenSim.Tests.Common;
36 37
37namespace OpenSim.Region.Physics.OdePlugin 38namespace OpenSim.Region.Physics.OdePlugin
38{ 39{
39 [TestFixture] 40 [IntegrationTest]
40 public class ODETestClass 41 public class ODETestClass
41 { 42 {
42 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 43 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 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace OpenSim.Tests.Common
6{
7 [AttributeUsage(AttributeTargets.All,
8 AllowMultiple = false,
9 Inherited = true)]
10 public class IntegrationTestAttribute : LongRunningAttribute
11 {
12 public IntegrationTestAttribute()
13 : base("Integration")
14 {
15 }
16 }
17}
diff --git a/prebuild.xml b/prebuild.xml
index 5272a89..ffe8bad 100644
--- a/prebuild.xml
+++ b/prebuild.xml
@@ -502,6 +502,7 @@
502 <Reference name="OpenSim.Region.Physics.Manager"/> 502 <Reference name="OpenSim.Region.Physics.Manager"/>
503 <Reference name="Ode.NET.dll" /> 503 <Reference name="Ode.NET.dll" />
504 <Reference name="nunit.framework.dll" /> 504 <Reference name="nunit.framework.dll" />
505 <Reference name="OpenSim.Tests.Common"/>
505 <Reference name="log4net.dll"/> 506 <Reference name="log4net.dll"/>
506 507
507 <Files> 508 <Files>