29 using System.Collections.Generic;
30 using System.Reflection;
31 using NUnit.Framework;
33 using OpenSim.Framework;
34 using OpenSim.Region.Framework.Scenes;
35 using OpenSim.Tests.Common;
37 namespace OpenSim.
Region.Framework.Scenes.Tests
53 Assert.That(m_scene.SceneGraph.GetActiveObjectsCount(), Is.EqualTo(0));
55 UUID ownerId = TestHelpers.ParseTail(0x1);
56 SceneObjectGroup so1 = SceneHelpers.CreateSceneObject(3, ownerId,
"so1", 0x10);
57 so1.ScriptSetPhysicsStatus(
true);
58 m_scene.AddSceneObject(so1);
60 Assert.That(m_scene.SceneGraph.GetTotalObjectsCount(), Is.EqualTo(3));
61 Assert.That(m_scene.SceneGraph.GetActiveObjectsCount(), Is.EqualTo(3));
63 m_scene.DeleteSceneObject(so1,
false);
65 Assert.That(m_scene.SceneGraph.GetTotalObjectsCount(), Is.EqualTo(0));
66 Assert.That(m_scene.SceneGraph.GetActiveObjectsCount(), Is.EqualTo(0));
void TestAddRemovePhysicalLinkset()
A scene object group is conceptually an object in the scene. The object is constituted of SceneObject...
Helpers for setting up scenes.