diff options
author | Melanie Thielker | 2015-10-31 17:22:27 +0100 |
---|---|---|
committer | Melanie Thielker | 2015-10-31 17:22:27 +0100 |
commit | e8e0ba6d8fbaa1ae7ecb7f1fe224fed6e0caa99a (patch) | |
tree | e232ad78e8dbd5bf762b54e66f4497d90338550d /OpenSim | |
parent | Put back the option of having asymmetrical protocol versions in (diff) | |
download | opensim-SC-e8e0ba6d8fbaa1ae7ecb7f1fe224fed6e0caa99a.zip opensim-SC-e8e0ba6d8fbaa1ae7ecb7f1fe224fed6e0caa99a.tar.gz opensim-SC-e8e0ba6d8fbaa1ae7ecb7f1fe224fed6e0caa99a.tar.bz2 opensim-SC-e8e0ba6d8fbaa1ae7ecb7f1fe224fed6e0caa99a.tar.xz |
Remove testing cruft that is blocking the new protocols. Unit tests no
longer test TP v1 now.
TP v1 will be removed within 6 months anyway.
Diffstat (limited to 'OpenSim')
3 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs index 6faad0d..0ac3add 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs | |||
@@ -802,6 +802,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments.Tests | |||
802 | Assert.That(m_numberOfAttachEventsFired, Is.EqualTo(0)); | 802 | Assert.That(m_numberOfAttachEventsFired, Is.EqualTo(0)); |
803 | } | 803 | } |
804 | 804 | ||
805 | /* | ||
805 | [Test] | 806 | [Test] |
806 | public void TestSameSimulatorNeighbouringRegionsTeleportV1() | 807 | public void TestSameSimulatorNeighbouringRegionsTeleportV1() |
807 | { | 808 | { |
@@ -909,6 +910,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments.Tests | |||
909 | // Check events | 910 | // Check events |
910 | Assert.That(m_numberOfAttachEventsFired, Is.EqualTo(0)); | 911 | Assert.That(m_numberOfAttachEventsFired, Is.EqualTo(0)); |
911 | } | 912 | } |
913 | */ | ||
912 | 914 | ||
913 | [Test] | 915 | [Test] |
914 | public void TestSameSimulatorNeighbouringRegionsTeleportV2() | 916 | public void TestSameSimulatorNeighbouringRegionsTeleportV2() |
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs index 8e212d1..356f778 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs | |||
@@ -46,11 +46,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation | |||
46 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 46 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
47 | 47 | ||
48 | /// <summary> | 48 | /// <summary> |
49 | /// Version of this service. | ||
50 | /// </summary> | ||
51 | public float ServiceVersion { get; set; } | ||
52 | |||
53 | /// <summary> | ||
54 | /// Map region ID to scene. | 49 | /// Map region ID to scene. |
55 | /// </summary> | 50 | /// </summary> |
56 | private Dictionary<UUID, Scene> m_scenes = new Dictionary<UUID, Scene>(); | 51 | private Dictionary<UUID, Scene> m_scenes = new Dictionary<UUID, Scene>(); |
@@ -81,7 +76,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation | |||
81 | 76 | ||
82 | public void InitialiseService(IConfigSource configSource) | 77 | public void InitialiseService(IConfigSource configSource) |
83 | { | 78 | { |
84 | ServiceVersion = VersionInfo.SimulationServiceVersionAcceptedMax; | ||
85 | } | 79 | } |
86 | 80 | ||
87 | public void PostInitialise() | 81 | public void PostInitialise() |
@@ -253,7 +247,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation | |||
253 | public bool QueryAccess(GridRegion destination, UUID agentID, string agentHomeURI, bool viaTeleport, Vector3 position, List<UUID> features, out float version, out string reason) | 247 | public bool QueryAccess(GridRegion destination, UUID agentID, string agentHomeURI, bool viaTeleport, Vector3 position, List<UUID> features, out float version, out string reason) |
254 | { | 248 | { |
255 | reason = "Communications failure"; | 249 | reason = "Communications failure"; |
256 | version = ServiceVersion; // If it's within the process, use max. If it's not, the connector will overwrite this | 250 | version = VersionInfo.SimulationServiceVersionAcceptedMax; // If it's within the process, use max. If it's not, the connector will overwrite this |
257 | if (destination == null) | 251 | if (destination == null) |
258 | return false; | 252 | return false; |
259 | 253 | ||
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs index 1550c0d..443ec51 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTeleportTests.cs | |||
@@ -105,6 +105,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
105 | // Assert.That(sp.Lookat, Is.EqualTo(teleportLookAt)); | 105 | // Assert.That(sp.Lookat, Is.EqualTo(teleportLookAt)); |
106 | } | 106 | } |
107 | 107 | ||
108 | /* | ||
108 | [Test] | 109 | [Test] |
109 | public void TestSameSimulatorIsolatedRegionsV1() | 110 | public void TestSameSimulatorIsolatedRegionsV1() |
110 | { | 111 | { |
@@ -178,6 +179,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
178 | // position instead). | 179 | // position instead). |
179 | // Assert.That(sp.Lookat, Is.EqualTo(teleportLookAt)); | 180 | // Assert.That(sp.Lookat, Is.EqualTo(teleportLookAt)); |
180 | } | 181 | } |
182 | */ | ||
181 | 183 | ||
182 | [Test] | 184 | [Test] |
183 | public void TestSameSimulatorIsolatedRegionsV2() | 185 | public void TestSameSimulatorIsolatedRegionsV2() |
@@ -488,6 +490,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
488 | // TestHelpers.DisableLogging(); | 490 | // TestHelpers.DisableLogging(); |
489 | } | 491 | } |
490 | 492 | ||
493 | /* | ||
491 | [Test] | 494 | [Test] |
492 | public void TestSameSimulatorNeighbouringRegionsV1() | 495 | public void TestSameSimulatorNeighbouringRegionsV1() |
493 | { | 496 | { |
@@ -573,6 +576,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
573 | 576 | ||
574 | // TestHelpers.DisableLogging(); | 577 | // TestHelpers.DisableLogging(); |
575 | } | 578 | } |
579 | */ | ||
576 | 580 | ||
577 | [Test] | 581 | [Test] |
578 | public void TestSameSimulatorNeighbouringRegionsV2() | 582 | public void TestSameSimulatorNeighbouringRegionsV2() |
@@ -658,4 +662,4 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
658 | // TestHelpers.DisableLogging(); | 662 | // TestHelpers.DisableLogging(); |
659 | } | 663 | } |
660 | } | 664 | } |
661 | } \ No newline at end of file | 665 | } |