diff options
author | Justin Clarke Casey | 2008-12-10 20:57:15 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-12-10 20:57:15 +0000 |
commit | c9ae8fce5efba118b3c79c6b352996467be7cda5 (patch) | |
tree | ebc1689f956b63e3919a073d2b98cbbd23c9e373 /OpenSim | |
parent | * Delete empty unused test directories (diff) | |
download | opensim-SC-c9ae8fce5efba118b3c79c6b352996467be7cda5.zip opensim-SC-c9ae8fce5efba118b3c79c6b352996467be7cda5.tar.gz opensim-SC-c9ae8fce5efba118b3c79c6b352996467be7cda5.tar.bz2 opensim-SC-c9ae8fce5efba118b3c79c6b352996467be7cda5.tar.xz |
* refactor: Move test infrastructure code to its own package so that it can be reused by more than Environment tests
* This shuffles the test packages in prebuild.xml below it so they can all potentially reference it
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Tests/ScenePresenceTests.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Tests/SceneTestUtils.cs | 1 | ||||
-rw-r--r-- | OpenSim/Tests/Infra/TestAssetDataPlugin.cs (renamed from OpenSim/Region/Environment/Scenes/Tests/TestAssetDataPlugin.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Tests/Infra/TestClient.cs (renamed from OpenSim/Region/Environment/Scenes/Tests/TestClient.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Tests/Infra/TestCommunicationsManager.cs (renamed from OpenSim/Region/Environment/Scenes/Tests/TestCommunicationsManager.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Tests/Infra/TestInventoryDataPlugin.cs (renamed from OpenSim/Region/Environment/Scenes/Tests/TestInventoryDataPlugin.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Tests/Infra/TestLandChannel.cs (renamed from OpenSim/Region/Environment/Scenes/Tests/TestLandChannel.cs) | 2 | ||||
-rw-r--r-- | OpenSim/Tests/Infra/TestScene.cs (renamed from OpenSim/Region/Environment/Scenes/Tests/TestScene.cs) | 3 | ||||
-rw-r--r-- | OpenSim/Tests/Infra/TestUserDataPlugin.cs (renamed from OpenSim/Region/Environment/Scenes/Tests/TestUserDataPlugin.cs) | 2 |
11 files changed, 13 insertions, 8 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs b/OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs index c8f86f3..d79d003 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs +++ b/OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs | |||
@@ -32,10 +32,11 @@ using System.Text; | |||
32 | using System.Collections.Generic; | 32 | using System.Collections.Generic; |
33 | using Nini.Config; | 33 | using Nini.Config; |
34 | using NUnit.Framework; | 34 | using NUnit.Framework; |
35 | using OpenMetaverse; | ||
35 | using OpenSim.Framework; | 36 | using OpenSim.Framework; |
36 | using OpenSim.Framework.Communications; | 37 | using OpenSim.Framework.Communications; |
37 | using OpenSim.Region.Environment.Scenes; | 38 | using OpenSim.Region.Environment.Scenes; |
38 | using OpenMetaverse; | 39 | using OpenSim.Tests.Infra; |
39 | 40 | ||
40 | namespace OpenSim.Region.Environment.Scenes.Tests | 41 | namespace OpenSim.Region.Environment.Scenes.Tests |
41 | { | 42 | { |
diff --git a/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs b/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs index 9e6e4a7..e8c3b96 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs +++ b/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs | |||
@@ -34,6 +34,7 @@ using OpenSim.Framework.Communications; | |||
34 | using OpenSim.Framework.Communications.Cache; | 34 | using OpenSim.Framework.Communications.Cache; |
35 | using OpenSim.Region.Communications.Local; | 35 | using OpenSim.Region.Communications.Local; |
36 | using OpenSim.Region.Environment.Scenes; | 36 | using OpenSim.Region.Environment.Scenes; |
37 | using OpenSim.Tests.Infra; | ||
37 | 38 | ||
38 | namespace OpenSim.Region.Environment.Scenes.Tests | 39 | namespace OpenSim.Region.Environment.Scenes.Tests |
39 | { | 40 | { |
diff --git a/OpenSim/Region/Environment/Scenes/Tests/ScenePresenceTests.cs b/OpenSim/Region/Environment/Scenes/Tests/ScenePresenceTests.cs index a19dbf7..c4c8d3e 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/ScenePresenceTests.cs +++ b/OpenSim/Region/Environment/Scenes/Tests/ScenePresenceTests.cs | |||
@@ -30,6 +30,7 @@ using NUnit.Framework.SyntaxHelpers; | |||
30 | using OpenMetaverse; | 30 | using OpenMetaverse; |
31 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
32 | using OpenSim.Region.Environment.Scenes; | 32 | using OpenSim.Region.Environment.Scenes; |
33 | using OpenSim.Tests.Infra; | ||
33 | 34 | ||
34 | namespace OpenSim.Region.Environment.Scenes.Tests | 35 | namespace OpenSim.Region.Environment.Scenes.Tests |
35 | { | 36 | { |
diff --git a/OpenSim/Region/Environment/Scenes/Tests/SceneTestUtils.cs b/OpenSim/Region/Environment/Scenes/Tests/SceneTestUtils.cs index 985c8a3..be06fe4 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/SceneTestUtils.cs +++ b/OpenSim/Region/Environment/Scenes/Tests/SceneTestUtils.cs | |||
@@ -33,6 +33,7 @@ using OpenSim.Framework.Communications.Cache; | |||
33 | using OpenSim.Framework.Servers; | 33 | using OpenSim.Framework.Servers; |
34 | using OpenSim.Region.Physics.Manager; | 34 | using OpenSim.Region.Physics.Manager; |
35 | using OpenSim.Region.Environment.Scenes; | 35 | using OpenSim.Region.Environment.Scenes; |
36 | using OpenSim.Tests.Infra; | ||
36 | 37 | ||
37 | namespace OpenSim.Region.Environment.Scenes.Tests | 38 | namespace OpenSim.Region.Environment.Scenes.Tests |
38 | { | 39 | { |
diff --git a/OpenSim/Region/Environment/Scenes/Tests/TestAssetDataPlugin.cs b/OpenSim/Tests/Infra/TestAssetDataPlugin.cs index 9aeb5fa..44276dc 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/TestAssetDataPlugin.cs +++ b/OpenSim/Tests/Infra/TestAssetDataPlugin.cs | |||
@@ -29,7 +29,7 @@ using OpenMetaverse; | |||
29 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
30 | using OpenSim.Framework.Communications; | 30 | using OpenSim.Framework.Communications; |
31 | 31 | ||
32 | namespace OpenSim.Region.Environment.Scenes.Tests | 32 | namespace OpenSim.Tests.Infra |
33 | { | 33 | { |
34 | /// <summary> | 34 | /// <summary> |
35 | /// In memory asset data plugin for test purposes. Could be another dll when properly filled out and when the | 35 | /// In memory asset data plugin for test purposes. Could be another dll when properly filled out and when the |
diff --git a/OpenSim/Region/Environment/Scenes/Tests/TestClient.cs b/OpenSim/Tests/Infra/TestClient.cs index cecb115..bc064ad 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/TestClient.cs +++ b/OpenSim/Tests/Infra/TestClient.cs | |||
@@ -33,7 +33,7 @@ using OpenMetaverse.Packets; | |||
33 | using OpenSim.Framework; | 33 | using OpenSim.Framework; |
34 | using OpenSim.Region.Environment.Scenes; | 34 | using OpenSim.Region.Environment.Scenes; |
35 | 35 | ||
36 | namespace OpenSim.Region.Environment.Scenes.Tests | 36 | namespace OpenSim.Tests.Infra |
37 | { | 37 | { |
38 | public class TestClient : IClientAPI | 38 | public class TestClient : IClientAPI |
39 | { | 39 | { |
diff --git a/OpenSim/Region/Environment/Scenes/Tests/TestCommunicationsManager.cs b/OpenSim/Tests/Infra/TestCommunicationsManager.cs index cf7ba19..0018427 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/TestCommunicationsManager.cs +++ b/OpenSim/Tests/Infra/TestCommunicationsManager.cs | |||
@@ -31,7 +31,7 @@ using OpenSim.Framework.Communications.Cache; | |||
31 | using OpenSim.Framework.Servers; | 31 | using OpenSim.Framework.Servers; |
32 | using OpenSim.Region.Communications.Local; | 32 | using OpenSim.Region.Communications.Local; |
33 | 33 | ||
34 | namespace OpenSim.Region.Environment.Scenes.Tests | 34 | namespace OpenSim.Tests.Infra |
35 | { | 35 | { |
36 | public class TestCommunicationsManager : CommunicationsManager | 36 | public class TestCommunicationsManager : CommunicationsManager |
37 | { | 37 | { |
diff --git a/OpenSim/Region/Environment/Scenes/Tests/TestInventoryDataPlugin.cs b/OpenSim/Tests/Infra/TestInventoryDataPlugin.cs index 45fc36e..d59c1de 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/TestInventoryDataPlugin.cs +++ b/OpenSim/Tests/Infra/TestInventoryDataPlugin.cs | |||
@@ -30,7 +30,7 @@ using System.Collections.Generic; | |||
30 | using OpenMetaverse; | 30 | using OpenMetaverse; |
31 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
32 | 32 | ||
33 | namespace OpenSim.Region.Environment.Scenes.Tests | 33 | namespace OpenSim.Tests.Infra |
34 | { | 34 | { |
35 | /// <summary> | 35 | /// <summary> |
36 | /// In memory inventory data plugin for test purposes. Could be another dll when properly filled out and when the | 36 | /// In memory inventory data plugin for test purposes. Could be another dll when properly filled out and when the |
diff --git a/OpenSim/Region/Environment/Scenes/Tests/TestLandChannel.cs b/OpenSim/Tests/Infra/TestLandChannel.cs index 2bc8974..93ab674 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/TestLandChannel.cs +++ b/OpenSim/Tests/Infra/TestLandChannel.cs | |||
@@ -30,7 +30,7 @@ using OpenMetaverse; | |||
30 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
31 | using OpenSim.Region.Environment.Interfaces; | 31 | using OpenSim.Region.Environment.Interfaces; |
32 | 32 | ||
33 | namespace OpenSim.Region.Environment.Scenes.Tests | 33 | namespace OpenSim.Tests.Infra |
34 | { | 34 | { |
35 | /// <summary> | 35 | /// <summary> |
36 | /// Land channel for test purposes | 36 | /// Land channel for test purposes |
diff --git a/OpenSim/Region/Environment/Scenes/Tests/TestScene.cs b/OpenSim/Tests/Infra/TestScene.cs index 744af7d..0d74c52 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/TestScene.cs +++ b/OpenSim/Tests/Infra/TestScene.cs | |||
@@ -30,9 +30,10 @@ using OpenSim.Framework; | |||
30 | using OpenSim.Framework.Communications; | 30 | using OpenSim.Framework.Communications; |
31 | using OpenSim.Framework.Communications.Cache; | 31 | using OpenSim.Framework.Communications.Cache; |
32 | using OpenSim.Framework.Servers; | 32 | using OpenSim.Framework.Servers; |
33 | using OpenSim.Region.Environment; | ||
33 | using OpenSim.Region.Environment.Scenes; | 34 | using OpenSim.Region.Environment.Scenes; |
34 | 35 | ||
35 | namespace OpenSim.Region.Environment.Scenes.Tests | 36 | namespace OpenSim.Tests.Infra |
36 | { | 37 | { |
37 | public class TestScene : Scene | 38 | public class TestScene : Scene |
38 | { | 39 | { |
diff --git a/OpenSim/Region/Environment/Scenes/Tests/TestUserDataPlugin.cs b/OpenSim/Tests/Infra/TestUserDataPlugin.cs index 224c7c3..23cb89d 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/TestUserDataPlugin.cs +++ b/OpenSim/Tests/Infra/TestUserDataPlugin.cs | |||
@@ -30,7 +30,7 @@ using System.Collections.Generic; | |||
30 | using OpenMetaverse; | 30 | using OpenMetaverse; |
31 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
32 | 32 | ||
33 | namespace OpenSim.Region.Environment.Scenes.Tests | 33 | namespace OpenSim.Tests.Infra |
34 | { | 34 | { |
35 | /// <summary> | 35 | /// <summary> |
36 | /// In memory user data provider. Might be quite useful as a proper user data plugin, though getting mono addins | 36 | /// In memory user data provider. Might be quite useful as a proper user data plugin, though getting mono addins |