mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
Consistenly make NUnit test cases inherit from OpenSimTestCase which automatically turns off any logging enabled between tests
This commit is contained in:
@@ -37,7 +37,7 @@ using OpenSim.Tests.Common;
|
||||
namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class BorderTests
|
||||
public class BorderTests : OpenSimTestCase
|
||||
{
|
||||
[Test]
|
||||
public void TestCross()
|
||||
|
||||
@@ -41,7 +41,7 @@ using OpenSim.Tests.Common;
|
||||
namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
{
|
||||
[TestFixture, LongRunning]
|
||||
public class EntityManagerTests
|
||||
public class EntityManagerTests : OpenSimTestCase
|
||||
{
|
||||
static public Random random;
|
||||
SceneObjectGroup found;
|
||||
|
||||
@@ -40,7 +40,7 @@ using OpenSim.Tests.Common.Mock;
|
||||
namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class SceneGraphTests
|
||||
public class SceneGraphTests : OpenSimTestCase
|
||||
{
|
||||
[Test]
|
||||
public void TestDuplicateObject()
|
||||
|
||||
@@ -41,7 +41,7 @@ using OpenSim.Tests.Common.Mock;
|
||||
namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class SceneManagerTests
|
||||
public class SceneManagerTests : OpenSimTestCase
|
||||
{
|
||||
[Test]
|
||||
public void TestClose()
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
/// TODO: These tests are very incomplete - they only test for a few conditions.
|
||||
/// </remarks>
|
||||
[TestFixture]
|
||||
public class SceneObjectDeRezTests
|
||||
public class SceneObjectDeRezTests : OpenSimTestCase
|
||||
{
|
||||
/// <summary>
|
||||
/// Test deleting an object from a scene.
|
||||
|
||||
@@ -40,7 +40,7 @@ using log4net;
|
||||
namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class SceneObjectLinkingTests
|
||||
public class SceneObjectLinkingTests : OpenSimTestCase
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
/// Basic scene object resize tests
|
||||
/// </summary>
|
||||
[TestFixture]
|
||||
public class SceneObjectResizeTests
|
||||
public class SceneObjectResizeTests : OpenSimTestCase
|
||||
{
|
||||
/// <summary>
|
||||
/// Test resizing an object
|
||||
|
||||
@@ -40,7 +40,7 @@ using OpenSim.Tests.Common.Mock;
|
||||
namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class SceneObjectScriptTests
|
||||
public class SceneObjectScriptTests : OpenSimTestCase
|
||||
{
|
||||
[Test]
|
||||
public void TestAddScript()
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
/// Spatial scene object tests (will eventually cover root and child part position, rotation properties, etc.)
|
||||
/// </summary>
|
||||
[TestFixture]
|
||||
public class SceneObjectSpatialTests
|
||||
public class SceneObjectSpatialTests : OpenSimTestCase
|
||||
{
|
||||
TestScene m_scene;
|
||||
UUID m_ownerId = TestHelpers.ParseTail(0x1);
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
/// Basic scene object status tests
|
||||
/// </summary>
|
||||
[TestFixture]
|
||||
public class SceneObjectStatusTests
|
||||
public class SceneObjectStatusTests : OpenSimTestCase
|
||||
{
|
||||
private TestScene m_scene;
|
||||
private UUID m_ownerId = TestHelpers.ParseTail(0x1);
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
/// Scene presence animation tests
|
||||
/// </summary>
|
||||
[TestFixture]
|
||||
public class ScenePresenceAnimationTests
|
||||
public class ScenePresenceAnimationTests : OpenSimTestCase
|
||||
{
|
||||
[Test]
|
||||
public void TestFlyingAnimation()
|
||||
|
||||
@@ -42,7 +42,7 @@ using OpenSim.Tests.Common.Mock;
|
||||
namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class ScenePresenceAutopilotTests
|
||||
public class ScenePresenceAutopilotTests : OpenSimTestCase
|
||||
{
|
||||
private TestScene m_scene;
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ using System.Threading;
|
||||
namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class ScenePresenceSitTests
|
||||
public class ScenePresenceSitTests : OpenSimTestCase
|
||||
{
|
||||
private TestScene m_scene;
|
||||
private ScenePresence m_sp;
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
/// Teleport tests in a standalone OpenSim
|
||||
/// </summary>
|
||||
[TestFixture]
|
||||
public class ScenePresenceTeleportTests
|
||||
public class ScenePresenceTeleportTests : OpenSimTestCase
|
||||
{
|
||||
[TestFixtureSetUp]
|
||||
public void FixtureInit()
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
/// Scene presence tests
|
||||
/// </summary>
|
||||
[TestFixture]
|
||||
public class SceneTests
|
||||
public class SceneTests : OpenSimTestCase
|
||||
{
|
||||
/// <summary>
|
||||
/// Very basic scene update test. Should become more elaborate with time.
|
||||
|
||||
@@ -50,7 +50,7 @@ using OpenSim.Tests.Common.Mock;
|
||||
namespace OpenSim.Region.Framework.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class TaskInventoryTests
|
||||
public class TaskInventoryTests : OpenSimTestCase
|
||||
{
|
||||
[Test]
|
||||
public void TestAddTaskInventoryItem()
|
||||
|
||||
@@ -38,7 +38,7 @@ using OpenSim.Tests.Common.Mock;
|
||||
namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class UuidGathererTests
|
||||
public class UuidGathererTests : OpenSimTestCase
|
||||
{
|
||||
protected IAssetService m_assetService;
|
||||
protected UuidGatherer m_uuidGatherer;
|
||||
|
||||
Reference in New Issue
Block a user