aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/RegionTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/Tests/RegionTests.cs')
-rw-r--r--OpenSim/Data/Tests/RegionTests.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Data/Tests/RegionTests.cs b/OpenSim/Data/Tests/RegionTests.cs
index 2dc177a..edc9d84 100644
--- a/OpenSim/Data/Tests/RegionTests.cs
+++ b/OpenSim/Data/Tests/RegionTests.cs
@@ -533,7 +533,10 @@ namespace OpenSim.Data.Tests
533 Assert.That(clickaction,Is.EqualTo(p.ClickAction), "Assert.That(clickaction,Is.EqualTo(p.ClickAction))"); 533 Assert.That(clickaction,Is.EqualTo(p.ClickAction), "Assert.That(clickaction,Is.EqualTo(p.ClickAction))");
534 Assert.That(scale,Is.EqualTo(p.Scale), "Assert.That(scale,Is.EqualTo(p.Scale))"); 534 Assert.That(scale,Is.EqualTo(p.Scale), "Assert.That(scale,Is.EqualTo(p.Scale))");
535 } 535 }
536 536
537 /// <summary>
538 /// Test storage and retrieval of a scene object with a large number of parts.
539 /// </summary>
537 [Test] 540 [Test]
538 public void T015_LargeSceneObjects() 541 public void T015_LargeSceneObjects()
539 { 542 {
@@ -543,7 +546,7 @@ namespace OpenSim.Data.Tests
543 Dictionary<UUID, SceneObjectPart> mydic = new Dictionary<UUID, SceneObjectPart>(); 546 Dictionary<UUID, SceneObjectPart> mydic = new Dictionary<UUID, SceneObjectPart>();
544 SceneObjectGroup sog = NewSOG("Test SOG", id, region4); 547 SceneObjectGroup sog = NewSOG("Test SOG", id, region4);
545 mydic.Add(sog.RootPart.UUID,sog.RootPart); 548 mydic.Add(sog.RootPart.UUID,sog.RootPart);
546 for (int i=0;i<30;i++) 549 for (int i = 0; i < 30; i++)
547 { 550 {
548 UUID tmp = UUID.Random(); 551 UUID tmp = UUID.Random();
549 SceneObjectPart sop = NewSOP(("Test SOP " + i.ToString()),tmp); 552 SceneObjectPart sop = NewSOP(("Test SOP " + i.ToString()),tmp);
@@ -568,7 +571,7 @@ namespace OpenSim.Data.Tests
568 571
569 SceneObjectGroup retsog = FindSOG("Test SOG", region4); 572 SceneObjectGroup retsog = FindSOG("Test SOG", region4);
570 SceneObjectPart[] parts = retsog.Parts; 573 SceneObjectPart[] parts = retsog.Parts;
571 for (int i=0;i<30;i++) 574 for (int i = 0; i < 30; i++)
572 { 575 {
573 SceneObjectPart cursop = mydic[parts[i].UUID]; 576 SceneObjectPart cursop = mydic[parts[i].UUID];
574 Assert.That(cursop.GroupPosition,Is.EqualTo(parts[i].GroupPosition), "Assert.That(cursop.GroupPosition,Is.EqualTo(parts[i].GroupPosition))"); 577 Assert.That(cursop.GroupPosition,Is.EqualTo(parts[i].GroupPosition), "Assert.That(cursop.GroupPosition,Is.EqualTo(parts[i].GroupPosition))");