diff options
author | lbsa71 | 2009-05-27 12:36:58 +0000 |
---|---|---|
committer | lbsa71 | 2009-05-27 12:36:58 +0000 |
commit | 17f0a4be5323a50cac3ebdeada3d3b19d7c05e60 (patch) | |
tree | 89163b818cd7f887581d14fd27d8a6d19ea5b2fb | |
parent | * Added OpenSim.Server.Handlers.Tests project (diff) | |
download | opensim-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.cs | 3 | ||||
-rw-r--r-- | OpenSim/Tests/Common/IntegrationTestAttribute.cs | 17 | ||||
-rw-r--r-- | prebuild.xml | 1 |
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; | |||
33 | using OpenSim.Region.Physics.Manager; | 33 | using OpenSim.Region.Physics.Manager; |
34 | using log4net; | 34 | using log4net; |
35 | using System.Reflection; | 35 | using System.Reflection; |
36 | using OpenSim.Tests.Common; | ||
36 | 37 | ||
37 | namespace OpenSim.Region.Physics.OdePlugin | 38 | namespace 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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace 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> |