diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs b/OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs index c5bb9aa..ba03bfc 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs +++ b/OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs | |||
@@ -107,12 +107,18 @@ namespace OpenSim.Region.Environment.Scenes.Tests | |||
107 | Assert.That(retrievedPart.UUID, Is.EqualTo(part.UUID)); | 107 | Assert.That(retrievedPart.UUID, Is.EqualTo(part.UUID)); |
108 | } | 108 | } |
109 | 109 | ||
110 | /* | 110 | /// <summary> |
111 | /// Test removing an object from a scene. | ||
112 | /// </summary> | ||
111 | public void TestRemoveSceneObject() | 113 | public void TestRemoveSceneObject() |
112 | { | 114 | { |
113 | Scene scene = SetupScene(); | 115 | TestScene scene = SetupScene();; |
114 | SceneObjectPart part = AddSceneObject(scene); | 116 | SceneObjectPart part = AddSceneObject(scene); |
117 | scene.DeleteSceneObject(part.ParentGroup, false); | ||
118 | |||
119 | SceneObjectPart retrievedPart = scene.GetSceneObjectPart(part.LocalId); | ||
120 | |||
121 | Assert.That(retrievedPart, Is.Null); | ||
115 | } | 122 | } |
116 | */ | ||
117 | } | 123 | } |
118 | } \ No newline at end of file | 124 | } \ No newline at end of file |