diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs index a7d62d0..e68ec2e 100644 --- a/OpenSim/Data/Tests/BasicRegionTest.cs +++ b/OpenSim/Data/Tests/BasicRegionTest.cs | |||
@@ -255,8 +255,8 @@ namespace OpenSim.Data.Tests | |||
255 | sop.GroupPosition = groupos; | 255 | sop.GroupPosition = groupos; |
256 | sop.RotationOffset = rotoff; | 256 | sop.RotationOffset = rotoff; |
257 | sop.CreatorID = creator; | 257 | sop.CreatorID = creator; |
258 | sop.InventorySerial = iserial; | 258 | sop.Inventory.Serial = iserial; |
259 | sop.TaskInventory = dic; | 259 | sop.Inventory.Items = dic; |
260 | sop.ObjectFlags = objf; | 260 | sop.ObjectFlags = objf; |
261 | sop.Name = name; | 261 | sop.Name = name; |
262 | sop.Material = material; | 262 | sop.Material = material; |
@@ -287,8 +287,8 @@ namespace OpenSim.Data.Tests | |||
287 | Assert.That(rotoff,Is.EqualTo(sop.RotationOffset)); | 287 | Assert.That(rotoff,Is.EqualTo(sop.RotationOffset)); |
288 | Assert.That(uuid,Is.EqualTo(sop.UUID)); | 288 | Assert.That(uuid,Is.EqualTo(sop.UUID)); |
289 | Assert.That(creator,Is.EqualTo(sop.CreatorID)); | 289 | Assert.That(creator,Is.EqualTo(sop.CreatorID)); |
290 | Assert.That(iserial,Is.EqualTo(sop.InventorySerial)); | 290 | Assert.That(iserial,Is.EqualTo(sop.Inventory.Serial)); |
291 | Assert.That(dic,Is.EqualTo(sop.TaskInventory)); | 291 | Assert.That(dic,Is.EqualTo(sop.Inventory.Items)); |
292 | Assert.That(objf,Is.EqualTo(sop.ObjectFlags)); | 292 | Assert.That(objf,Is.EqualTo(sop.ObjectFlags)); |
293 | Assert.That(name,Is.EqualTo(sop.Name)); | 293 | Assert.That(name,Is.EqualTo(sop.Name)); |
294 | Assert.That(material,Is.EqualTo(sop.Material)); | 294 | Assert.That(material,Is.EqualTo(sop.Material)); |
@@ -337,7 +337,7 @@ namespace OpenSim.Data.Tests | |||
337 | Assert.That(uuid,Is.EqualTo(p.UUID)); | 337 | Assert.That(uuid,Is.EqualTo(p.UUID)); |
338 | Assert.That(creator,Is.EqualTo(p.CreatorID)); | 338 | Assert.That(creator,Is.EqualTo(p.CreatorID)); |
339 | //Assert.That(iserial,Is.EqualTo(p.InventorySerial)); | 339 | //Assert.That(iserial,Is.EqualTo(p.InventorySerial)); |
340 | Assert.That(dic,Is.EqualTo(p.TaskInventory)); | 340 | Assert.That(dic,Is.EqualTo(p.Inventory.Items)); |
341 | //Assert.That(objf,Is.EqualTo(p.ObjectFlags)); | 341 | //Assert.That(objf,Is.EqualTo(p.ObjectFlags)); |
342 | Assert.That(name,Is.EqualTo(p.Name)); | 342 | Assert.That(name,Is.EqualTo(p.Name)); |
343 | Assert.That(material,Is.EqualTo(p.Material)); | 343 | Assert.That(material,Is.EqualTo(p.Material)); |
@@ -415,7 +415,7 @@ namespace OpenSim.Data.Tests | |||
415 | sog2.RootPart.GroupPosition = groupos; | 415 | sog2.RootPart.GroupPosition = groupos; |
416 | sog2.RootPart.RotationOffset = rotoff; | 416 | sog2.RootPart.RotationOffset = rotoff; |
417 | sog2.RootPart.CreatorID = creator; | 417 | sog2.RootPart.CreatorID = creator; |
418 | sog2.RootPart.TaskInventory = dic; | 418 | sog2.RootPart.Inventory.Items = dic; |
419 | sog2.RootPart.Name = name; | 419 | sog2.RootPart.Name = name; |
420 | sog2.RootPart.Material = material; | 420 | sog2.RootPart.Material = material; |
421 | sog2.RootPart.ScriptAccessPin = pin; | 421 | sog2.RootPart.ScriptAccessPin = pin; |
@@ -449,7 +449,7 @@ namespace OpenSim.Data.Tests | |||
449 | Assert.That(name,Is.EqualTo(p.Name)); | 449 | Assert.That(name,Is.EqualTo(p.Name)); |
450 | Assert.That(rotoff,Is.EqualTo(p.RotationOffset)); | 450 | Assert.That(rotoff,Is.EqualTo(p.RotationOffset)); |
451 | Assert.That(creator,Is.EqualTo(p.CreatorID)); | 451 | Assert.That(creator,Is.EqualTo(p.CreatorID)); |
452 | Assert.That(dic,Is.EqualTo(p.TaskInventory)); | 452 | Assert.That(dic,Is.EqualTo(p.Inventory.Items)); |
453 | Assert.That(name,Is.EqualTo(p.Name)); | 453 | Assert.That(name,Is.EqualTo(p.Name)); |
454 | Assert.That(material,Is.EqualTo(p.Material)); | 454 | Assert.That(material,Is.EqualTo(p.Material)); |
455 | Assert.That(pin,Is.EqualTo(p.ScriptAccessPin)); | 455 | Assert.That(pin,Is.EqualTo(p.ScriptAccessPin)); |
@@ -534,7 +534,7 @@ namespace OpenSim.Data.Tests | |||
534 | // TODO: seriously??? this is the way we need to loop to get this? | 534 | // TODO: seriously??? this is the way we need to loop to get this? |
535 | 535 | ||
536 | List<TaskInventoryItem> list = new List<TaskInventoryItem>(); | 536 | List<TaskInventoryItem> list = new List<TaskInventoryItem>(); |
537 | foreach (UUID uuid in sog.RootPart.GetInventoryList()) | 537 | foreach (UUID uuid in sog.RootPart.Inventory.GetInventoryList()) |
538 | { | 538 | { |
539 | list.Add(sog.GetInventoryItem(sog.RootPart.LocalId, uuid)); | 539 | list.Add(sog.GetInventoryItem(sog.RootPart.LocalId, uuid)); |
540 | } | 540 | } |