diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneObjectLinkingTests.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectLinkingTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectLinkingTests.cs index 9378e20..fa8277c 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectLinkingTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectLinkingTests.cs | |||
@@ -143,7 +143,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
143 | 143 | ||
144 | Assert.That(grp1.Parts.Length, Is.EqualTo(1), "Group 1 still contained part2 after delink."); | 144 | Assert.That(grp1.Parts.Length, Is.EqualTo(1), "Group 1 still contained part2 after delink."); |
145 | Assert.That(part2.AbsolutePosition == Vector3.Zero, "The absolute position should be zero"); | 145 | Assert.That(part2.AbsolutePosition == Vector3.Zero, "The absolute position should be zero"); |
146 | Assert.That(grp3.HasGroupChangedDueToDelink, Is.True); | 146 | Assert.That(grp3.GroupContainsForeignPrims, Is.True); |
147 | } | 147 | } |
148 | 148 | ||
149 | [Test] | 149 | [Test] |
@@ -349,10 +349,10 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
349 | 349 | ||
350 | // These changes should occur immediately without waiting for a backup pass | 350 | // These changes should occur immediately without waiting for a backup pass |
351 | SceneObjectGroup groupToDelete = sog.DelinkFromGroup(linkPart, false); | 351 | SceneObjectGroup groupToDelete = sog.DelinkFromGroup(linkPart, false); |
352 | 352 | ||
353 | Assert.That(groupToDelete.HasGroupChangedDueToDelink, Is.True); | 353 | Assert.That(groupToDelete.GroupContainsForeignPrims, Is.True); |
354 | scene.DeleteSceneObject(groupToDelete, false); | 354 | scene.DeleteSceneObject(groupToDelete, false); |
355 | Assert.That(groupToDelete.HasGroupChangedDueToDelink, Is.False); | 355 | Assert.That(groupToDelete.GroupContainsForeignPrims, Is.False); |
356 | 356 | ||
357 | List<SceneObjectGroup> storedObjects = scene.SimulationDataService.LoadObjects(scene.RegionInfo.RegionID); | 357 | List<SceneObjectGroup> storedObjects = scene.SimulationDataService.LoadObjects(scene.RegionInfo.RegionID); |
358 | 358 | ||