aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicRegionTest.cs
diff options
context:
space:
mode:
authorSean Dague2009-04-13 21:04:50 +0000
committerSean Dague2009-04-13 21:04:50 +0000
commit5ef67941658ad1481fe4e801193d4ed43f0452e6 (patch)
tree0fb8b5c51fae496e778025f4a2735d78dcd12742 /OpenSim/Data/Tests/BasicRegionTest.cs
parent* Changed all privates to m_ scheme (diff)
downloadopensim-SC-5ef67941658ad1481fe4e801193d4ed43f0452e6.zip
opensim-SC-5ef67941658ad1481fe4e801193d4ed43f0452e6.tar.gz
opensim-SC-5ef67941658ad1481fe4e801193d4ed43f0452e6.tar.bz2
opensim-SC-5ef67941658ad1481fe4e801193d4ed43f0452e6.tar.xz
make the asserts spit out messages about their test names
Diffstat (limited to 'OpenSim/Data/Tests/BasicRegionTest.cs')
-rw-r--r--OpenSim/Data/Tests/BasicRegionTest.cs332
1 files changed, 166 insertions, 166 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs
index 0e87c8c..36ab42b 100644
--- a/OpenSim/Data/Tests/BasicRegionTest.cs
+++ b/OpenSim/Data/Tests/BasicRegionTest.cs
@@ -120,9 +120,9 @@ namespace OpenSim.Data.Tests
120 List<SceneObjectGroup> objs3 = db.LoadObjects(region3); 120 List<SceneObjectGroup> objs3 = db.LoadObjects(region3);
121 List<LandData> land = db.LoadLandObjects(region1); 121 List<LandData> land = db.LoadLandObjects(region1);
122 122
123 Assert.That(objs.Count, Is.EqualTo(0)); 123 Assert.That(objs.Count, Is.EqualTo(0), "Assert.That(objs.Count, Is.EqualTo(0))");
124 Assert.That(objs3.Count, Is.EqualTo(0)); 124 Assert.That(objs3.Count, Is.EqualTo(0), "Assert.That(objs3.Count, Is.EqualTo(0))");
125 Assert.That(land.Count, Is.EqualTo(0)); 125 Assert.That(land.Count, Is.EqualTo(0), "Assert.That(land.Count, Is.EqualTo(0))");
126 } 126 }
127 127
128 // SOG round trips 128 // SOG round trips
@@ -159,7 +159,7 @@ namespace OpenSim.Data.Tests
159 // This tests the ADO.NET driver 159 // This tests the ADO.NET driver
160 List<SceneObjectGroup> objs = db.LoadObjects(region1); 160 List<SceneObjectGroup> objs = db.LoadObjects(region1);
161 161
162 Assert.That(objs.Count, Is.EqualTo(2)); 162 Assert.That(objs.Count, Is.EqualTo(2), "Assert.That(objs.Count, Is.EqualTo(2))");
163 } 163 }
164 164
165 [Test] 165 [Test]
@@ -169,8 +169,8 @@ namespace OpenSim.Data.Tests
169 foreach (SceneObjectGroup sog in objs) 169 foreach (SceneObjectGroup sog in objs)
170 { 170 {
171 SceneObjectPart p = sog.RootPart; 171 SceneObjectPart p = sog.RootPart;
172 Assert.That("", Is.Not.EqualTo(p.Name)); 172 Assert.That("", Is.Not.EqualTo(p.Name), "Assert.That(\"\", Is.Not.EqualTo(p.Name))");
173 Assert.That(p.Name, Is.EqualTo(p.Description)); 173 Assert.That(p.Name, Is.EqualTo(p.Description), "Assert.That(p.Name, Is.EqualTo(p.Description))");
174 } 174 }
175 } 175 }
176 176
@@ -191,20 +191,20 @@ namespace OpenSim.Data.Tests
191 sog.AddPart(p3); 191 sog.AddPart(p3);
192 192
193 SceneObjectPart[] parts = sog.GetParts(); 193 SceneObjectPart[] parts = sog.GetParts();
194 Assert.That(parts.Length,Is.EqualTo(4)); 194 Assert.That(parts.Length,Is.EqualTo(4), "Assert.That(parts.Length,Is.EqualTo(4))");
195 195
196 db.StoreObject(sog, newregion); 196 db.StoreObject(sog, newregion);
197 List<SceneObjectGroup> sogs = db.LoadObjects(newregion); 197 List<SceneObjectGroup> sogs = db.LoadObjects(newregion);
198 Assert.That(sogs.Count,Is.EqualTo(1)); 198 Assert.That(sogs.Count,Is.EqualTo(1), "Assert.That(sogs.Count,Is.EqualTo(1))");
199 SceneObjectGroup newsog = sogs[0]; 199 SceneObjectGroup newsog = sogs[0];
200 200
201 SceneObjectPart[] newparts = newsog.GetParts(); 201 SceneObjectPart[] newparts = newsog.GetParts();
202 Assert.That(newparts.Length,Is.EqualTo(4)); 202 Assert.That(newparts.Length,Is.EqualTo(4), "Assert.That(newparts.Length,Is.EqualTo(4))");
203 203
204 Assert.That(newsog.HasChildPrim(tmp0)); 204 Assert.That(newsog.HasChildPrim(tmp0), "Assert.That(newsog.HasChildPrim(tmp0))");
205 Assert.That(newsog.HasChildPrim(tmp1)); 205 Assert.That(newsog.HasChildPrim(tmp1), "Assert.That(newsog.HasChildPrim(tmp1))");
206 Assert.That(newsog.HasChildPrim(tmp2)); 206 Assert.That(newsog.HasChildPrim(tmp2), "Assert.That(newsog.HasChildPrim(tmp2))");
207 Assert.That(newsog.HasChildPrim(tmp3)); 207 Assert.That(newsog.HasChildPrim(tmp3), "Assert.That(newsog.HasChildPrim(tmp3))");
208 } 208 }
209 209
210 [Test] 210 [Test]
@@ -294,37 +294,37 @@ namespace OpenSim.Data.Tests
294 sop.UpdateFlag = updatef; 294 sop.UpdateFlag = updatef;
295 295
296 //Tests if local part accepted the parameters: 296 //Tests if local part accepted the parameters:
297 Assert.That(regionh,Is.EqualTo(sop.RegionHandle)); 297 Assert.That(regionh,Is.EqualTo(sop.RegionHandle), "Assert.That(regionh,Is.EqualTo(sop.RegionHandle))");
298 Assert.That(localid,Is.EqualTo(sop.LocalId)); 298 Assert.That(localid,Is.EqualTo(sop.LocalId), "Assert.That(localid,Is.EqualTo(sop.LocalId))");
299 Assert.That(groupos,Is.EqualTo(sop.GroupPosition)); 299 Assert.That(groupos,Is.EqualTo(sop.GroupPosition), "Assert.That(groupos,Is.EqualTo(sop.GroupPosition))");
300 Assert.That(name,Is.EqualTo(sop.Name)); 300 Assert.That(name,Is.EqualTo(sop.Name), "Assert.That(name,Is.EqualTo(sop.Name))");
301 Assert.That(rotoff,Is.EqualTo(sop.RotationOffset)); 301 Assert.That(rotoff,Is.EqualTo(sop.RotationOffset), "Assert.That(rotoff,Is.EqualTo(sop.RotationOffset))");
302 Assert.That(uuid,Is.EqualTo(sop.UUID)); 302 Assert.That(uuid,Is.EqualTo(sop.UUID), "Assert.That(uuid,Is.EqualTo(sop.UUID))");
303 Assert.That(creator,Is.EqualTo(sop.CreatorID)); 303 Assert.That(creator,Is.EqualTo(sop.CreatorID), "Assert.That(creator,Is.EqualTo(sop.CreatorID))");
304 // Modified in-class 304 // Modified in-class
305 // Assert.That(iserial,Is.EqualTo(sop.InventorySerial)); 305 // Assert.That(iserial,Is.EqualTo(sop.InventorySerial), "Assert.That(iserial,Is.EqualTo(sop.InventorySerial))");
306 Assert.That(dic,Is.EqualTo(sop.TaskInventory)); 306 Assert.That(dic,Is.EqualTo(sop.TaskInventory), "Assert.That(dic,Is.EqualTo(sop.TaskInventory))");
307 Assert.That(objf,Is.EqualTo(sop.ObjectFlags)); 307 Assert.That(objf,Is.EqualTo(sop.ObjectFlags), "Assert.That(objf,Is.EqualTo(sop.ObjectFlags))");
308 Assert.That(name,Is.EqualTo(sop.Name)); 308 Assert.That(name,Is.EqualTo(sop.Name), "Assert.That(name,Is.EqualTo(sop.Name))");
309 Assert.That(material,Is.EqualTo(sop.Material)); 309 Assert.That(material,Is.EqualTo(sop.Material), "Assert.That(material,Is.EqualTo(sop.Material))");
310 Assert.That(pin,Is.EqualTo(sop.ScriptAccessPin)); 310 Assert.That(pin,Is.EqualTo(sop.ScriptAccessPin), "Assert.That(pin,Is.EqualTo(sop.ScriptAccessPin))");
311 Assert.That(textani,Is.EqualTo(sop.TextureAnimation)); 311 Assert.That(textani,Is.EqualTo(sop.TextureAnimation), "Assert.That(textani,Is.EqualTo(sop.TextureAnimation))");
312 Assert.That(partsys,Is.EqualTo(sop.ParticleSystem)); 312 Assert.That(partsys,Is.EqualTo(sop.ParticleSystem), "Assert.That(partsys,Is.EqualTo(sop.ParticleSystem))");
313 Assert.That(expires,Is.EqualTo(sop.Expires)); 313 Assert.That(expires,Is.EqualTo(sop.Expires), "Assert.That(expires,Is.EqualTo(sop.Expires))");
314 Assert.That(rezzed,Is.EqualTo(sop.Rezzed)); 314 Assert.That(rezzed,Is.EqualTo(sop.Rezzed), "Assert.That(rezzed,Is.EqualTo(sop.Rezzed))");
315 Assert.That(offset,Is.EqualTo(sop.OffsetPosition)); 315 Assert.That(offset,Is.EqualTo(sop.OffsetPosition), "Assert.That(offset,Is.EqualTo(sop.OffsetPosition))");
316 Assert.That(velocity,Is.EqualTo(sop.Velocity)); 316 Assert.That(velocity,Is.EqualTo(sop.Velocity), "Assert.That(velocity,Is.EqualTo(sop.Velocity))");
317 Assert.That(angvelo,Is.EqualTo(sop.AngularVelocity)); 317 Assert.That(angvelo,Is.EqualTo(sop.AngularVelocity), "Assert.That(angvelo,Is.EqualTo(sop.AngularVelocity))");
318 Assert.That(accel,Is.EqualTo(sop.Acceleration)); 318 Assert.That(accel,Is.EqualTo(sop.Acceleration), "Assert.That(accel,Is.EqualTo(sop.Acceleration))");
319 Assert.That(description,Is.EqualTo(sop.Description)); 319 Assert.That(description,Is.EqualTo(sop.Description), "Assert.That(description,Is.EqualTo(sop.Description))");
320 Assert.That(color,Is.EqualTo(sop.Color)); 320 Assert.That(color,Is.EqualTo(sop.Color), "Assert.That(color,Is.EqualTo(sop.Color))");
321 Assert.That(text,Is.EqualTo(sop.Text)); 321 Assert.That(text,Is.EqualTo(sop.Text), "Assert.That(text,Is.EqualTo(sop.Text))");
322 Assert.That(sitname,Is.EqualTo(sop.SitName)); 322 Assert.That(sitname,Is.EqualTo(sop.SitName), "Assert.That(sitname,Is.EqualTo(sop.SitName))");
323 Assert.That(touchname,Is.EqualTo(sop.TouchName)); 323 Assert.That(touchname,Is.EqualTo(sop.TouchName), "Assert.That(touchname,Is.EqualTo(sop.TouchName))");
324 Assert.That(linknum,Is.EqualTo(sop.LinkNum)); 324 Assert.That(linknum,Is.EqualTo(sop.LinkNum), "Assert.That(linknum,Is.EqualTo(sop.LinkNum))");
325 Assert.That(clickaction,Is.EqualTo(sop.ClickAction)); 325 Assert.That(clickaction,Is.EqualTo(sop.ClickAction), "Assert.That(clickaction,Is.EqualTo(sop.ClickAction))");
326 Assert.That(scale,Is.EqualTo(sop.Scale)); 326 Assert.That(scale,Is.EqualTo(sop.Scale), "Assert.That(scale,Is.EqualTo(sop.Scale))");
327 Assert.That(updatef,Is.EqualTo(sop.UpdateFlag)); 327 Assert.That(updatef,Is.EqualTo(sop.UpdateFlag), "Assert.That(updatef,Is.EqualTo(sop.UpdateFlag))");
328 328
329 // This is necessary or object will not be inserted in DB 329 // This is necessary or object will not be inserted in DB
330 sop.ObjectFlags = 0; 330 sop.ObjectFlags = 0;
@@ -336,52 +336,52 @@ namespace OpenSim.Data.Tests
336 // Inserts group in DB 336 // Inserts group in DB
337 db.StoreObject(sog,region3); 337 db.StoreObject(sog,region3);
338 List<SceneObjectGroup> sogs = db.LoadObjects(region3); 338 List<SceneObjectGroup> sogs = db.LoadObjects(region3);
339 Assert.That(sogs.Count, Is.EqualTo(1)); 339 Assert.That(sogs.Count, Is.EqualTo(1), "Assert.That(sogs.Count, Is.EqualTo(1))");
340 // Makes sure there are no double insertions: 340 // Makes sure there are no double insertions:
341 db.StoreObject(sog,region3); 341 db.StoreObject(sog,region3);
342 sogs = db.LoadObjects(region3); 342 sogs = db.LoadObjects(region3);
343 Assert.That(sogs.Count, Is.EqualTo(1)); 343 Assert.That(sogs.Count, Is.EqualTo(1), "Assert.That(sogs.Count, Is.EqualTo(1))");
344 344
345 345
346 // Tests if the parameters were inserted correctly 346 // Tests if the parameters were inserted correctly
347 SceneObjectPart p = sogs[0].RootPart; 347 SceneObjectPart p = sogs[0].RootPart;
348 Assert.That(regionh,Is.EqualTo(p.RegionHandle)); 348 Assert.That(regionh,Is.EqualTo(p.RegionHandle), "Assert.That(regionh,Is.EqualTo(p.RegionHandle))");
349 //Assert.That(localid,Is.EqualTo(p.LocalId)); 349 //Assert.That(localid,Is.EqualTo(p.LocalId), "Assert.That(localid,Is.EqualTo(p.LocalId))");
350 Assert.That(groupos,Is.EqualTo(p.GroupPosition)); 350 Assert.That(groupos,Is.EqualTo(p.GroupPosition), "Assert.That(groupos,Is.EqualTo(p.GroupPosition))");
351 Assert.That(name,Is.EqualTo(p.Name)); 351 Assert.That(name,Is.EqualTo(p.Name), "Assert.That(name,Is.EqualTo(p.Name))");
352 Assert.That(rotoff,Is.EqualTo(p.RotationOffset)); 352 Assert.That(rotoff,Is.EqualTo(p.RotationOffset), "Assert.That(rotoff,Is.EqualTo(p.RotationOffset))");
353 Assert.That(uuid,Is.EqualTo(p.UUID)); 353 Assert.That(uuid,Is.EqualTo(p.UUID), "Assert.That(uuid,Is.EqualTo(p.UUID))");
354 Assert.That(creator,Is.EqualTo(p.CreatorID)); 354 Assert.That(creator,Is.EqualTo(p.CreatorID), "Assert.That(creator,Is.EqualTo(p.CreatorID))");
355 //Assert.That(iserial,Is.EqualTo(p.InventorySerial)); 355 //Assert.That(iserial,Is.EqualTo(p.InventorySerial), "Assert.That(iserial,Is.EqualTo(p.InventorySerial))");
356 Assert.That(dic,Is.EqualTo(p.TaskInventory)); 356 Assert.That(dic,Is.EqualTo(p.TaskInventory), "Assert.That(dic,Is.EqualTo(p.TaskInventory))");
357 //Assert.That(objf,Is.EqualTo(p.ObjectFlags)); 357 //Assert.That(objf,Is.EqualTo(p.ObjectFlags), "Assert.That(objf,Is.EqualTo(p.ObjectFlags))");
358 Assert.That(name,Is.EqualTo(p.Name)); 358 Assert.That(name,Is.EqualTo(p.Name), "Assert.That(name,Is.EqualTo(p.Name))");
359 Assert.That(material,Is.EqualTo(p.Material)); 359 Assert.That(material,Is.EqualTo(p.Material), "Assert.That(material,Is.EqualTo(p.Material))");
360 Assert.That(pin,Is.EqualTo(p.ScriptAccessPin)); 360 Assert.That(pin,Is.EqualTo(p.ScriptAccessPin), "Assert.That(pin,Is.EqualTo(p.ScriptAccessPin))");
361 Assert.That(textani,Is.EqualTo(p.TextureAnimation)); 361 Assert.That(textani,Is.EqualTo(p.TextureAnimation), "Assert.That(textani,Is.EqualTo(p.TextureAnimation))");
362 Assert.That(partsys,Is.EqualTo(p.ParticleSystem)); 362 Assert.That(partsys,Is.EqualTo(p.ParticleSystem), "Assert.That(partsys,Is.EqualTo(p.ParticleSystem))");
363 //Assert.That(expires,Is.EqualTo(p.Expires)); 363 //Assert.That(expires,Is.EqualTo(p.Expires), "Assert.That(expires,Is.EqualTo(p.Expires))");
364 //Assert.That(rezzed,Is.EqualTo(p.Rezzed)); 364 //Assert.That(rezzed,Is.EqualTo(p.Rezzed), "Assert.That(rezzed,Is.EqualTo(p.Rezzed))");
365 Assert.That(offset,Is.EqualTo(p.OffsetPosition)); 365 Assert.That(offset,Is.EqualTo(p.OffsetPosition), "Assert.That(offset,Is.EqualTo(p.OffsetPosition))");
366 Assert.That(velocity,Is.EqualTo(p.Velocity)); 366 Assert.That(velocity,Is.EqualTo(p.Velocity), "Assert.That(velocity,Is.EqualTo(p.Velocity))");
367 Assert.That(angvelo,Is.EqualTo(p.AngularVelocity)); 367 Assert.That(angvelo,Is.EqualTo(p.AngularVelocity), "Assert.That(angvelo,Is.EqualTo(p.AngularVelocity))");
368 Assert.That(accel,Is.EqualTo(p.Acceleration)); 368 Assert.That(accel,Is.EqualTo(p.Acceleration), "Assert.That(accel,Is.EqualTo(p.Acceleration))");
369 Assert.That(description,Is.EqualTo(p.Description)); 369 Assert.That(description,Is.EqualTo(p.Description), "Assert.That(description,Is.EqualTo(p.Description))");
370 Assert.That(color,Is.EqualTo(p.Color)); 370 Assert.That(color,Is.EqualTo(p.Color), "Assert.That(color,Is.EqualTo(p.Color))");
371 Assert.That(text,Is.EqualTo(p.Text)); 371 Assert.That(text,Is.EqualTo(p.Text), "Assert.That(text,Is.EqualTo(p.Text))");
372 Assert.That(sitname,Is.EqualTo(p.SitName)); 372 Assert.That(sitname,Is.EqualTo(p.SitName), "Assert.That(sitname,Is.EqualTo(p.SitName))");
373 Assert.That(touchname,Is.EqualTo(p.TouchName)); 373 Assert.That(touchname,Is.EqualTo(p.TouchName), "Assert.That(touchname,Is.EqualTo(p.TouchName))");
374 //Assert.That(linknum,Is.EqualTo(p.LinkNum)); 374 //Assert.That(linknum,Is.EqualTo(p.LinkNum), "Assert.That(linknum,Is.EqualTo(p.LinkNum))");
375 Assert.That(clickaction,Is.EqualTo(p.ClickAction)); 375 Assert.That(clickaction,Is.EqualTo(p.ClickAction), "Assert.That(clickaction,Is.EqualTo(p.ClickAction))");
376 Assert.That(scale,Is.EqualTo(p.Scale)); 376 Assert.That(scale,Is.EqualTo(p.Scale), "Assert.That(scale,Is.EqualTo(p.Scale))");
377 377
378 //Assert.That(updatef,Is.EqualTo(p.UpdateFlag)); 378 //Assert.That(updatef,Is.EqualTo(p.UpdateFlag), "Assert.That(updatef,Is.EqualTo(p.UpdateFlag))");
379 379
380 Assert.That(pbshap.PathBegin, Is.EqualTo(p.Shape.PathBegin)); 380 Assert.That(pbshap.PathBegin, Is.EqualTo(p.Shape.PathBegin), "Assert.That(pbshap.PathBegin, Is.EqualTo(p.Shape.PathBegin))");
381 Assert.That(pbshap.PathEnd, Is.EqualTo(p.Shape.PathEnd)); 381 Assert.That(pbshap.PathEnd, Is.EqualTo(p.Shape.PathEnd), "Assert.That(pbshap.PathEnd, Is.EqualTo(p.Shape.PathEnd))");
382 Assert.That(pbshap.ProfileBegin, Is.EqualTo(p.Shape.ProfileBegin)); 382 Assert.That(pbshap.ProfileBegin, Is.EqualTo(p.Shape.ProfileBegin), "Assert.That(pbshap.ProfileBegin, Is.EqualTo(p.Shape.ProfileBegin))");
383 Assert.That(pbshap.ProfileEnd, Is.EqualTo(p.Shape.ProfileEnd)); 383 Assert.That(pbshap.ProfileEnd, Is.EqualTo(p.Shape.ProfileEnd), "Assert.That(pbshap.ProfileEnd, Is.EqualTo(p.Shape.ProfileEnd))");
384 Assert.That(pbshap.ProfileHollow, Is.EqualTo(p.Shape.ProfileHollow)); 384 Assert.That(pbshap.ProfileHollow, Is.EqualTo(p.Shape.ProfileHollow), "Assert.That(pbshap.ProfileHollow, Is.EqualTo(p.Shape.ProfileHollow))");
385 } 385 }
386 386
387 [Test] 387 [Test]
@@ -393,7 +393,7 @@ namespace OpenSim.Data.Tests
393 db.StoreObject(sog, region1); 393 db.StoreObject(sog, region1);
394 394
395 sog = FindSOG("object1", region1); 395 sog = FindSOG("object1", region1);
396 Assert.That(text1, Is.EqualTo(sog.RootPart.Text)); 396 Assert.That(text1, Is.EqualTo(sog.RootPart.Text), "Assert.That(text1, Is.EqualTo(sog.RootPart.Text))");
397 397
398 // Creates random values 398 // Creates random values
399 UUID creator = new UUID(); 399 UUID creator = new UUID();
@@ -460,33 +460,33 @@ namespace OpenSim.Data.Tests
460 460
461 db.StoreObject(sog2, region3); 461 db.StoreObject(sog2, region3);
462 List<SceneObjectGroup> sogs = db.LoadObjects(region3); 462 List<SceneObjectGroup> sogs = db.LoadObjects(region3);
463 Assert.That(sogs.Count, Is.EqualTo(1)); 463 Assert.That(sogs.Count, Is.EqualTo(1), "Assert.That(sogs.Count, Is.EqualTo(1))");
464 464
465 SceneObjectGroup retsog = FindSOG("West Adam", region3); 465 SceneObjectGroup retsog = FindSOG("West Adam", region3);
466 Assert.That(retsog,Is.Not.Null); 466 Assert.That(retsog,Is.Not.Null);
467 SceneObjectPart p = retsog.RootPart; 467 SceneObjectPart p = retsog.RootPart;
468 Assert.That(regionh,Is.EqualTo(p.RegionHandle)); 468 Assert.That(regionh,Is.EqualTo(p.RegionHandle), "Assert.That(regionh,Is.EqualTo(p.RegionHandle))");
469 Assert.That(groupos,Is.EqualTo(p.GroupPosition)); 469 Assert.That(groupos,Is.EqualTo(p.GroupPosition), "Assert.That(groupos,Is.EqualTo(p.GroupPosition))");
470 Assert.That(name,Is.EqualTo(p.Name)); 470 Assert.That(name,Is.EqualTo(p.Name), "Assert.That(name,Is.EqualTo(p.Name))");
471 Assert.That(rotoff,Is.EqualTo(p.RotationOffset)); 471 Assert.That(rotoff,Is.EqualTo(p.RotationOffset), "Assert.That(rotoff,Is.EqualTo(p.RotationOffset))");
472 Assert.That(creator,Is.EqualTo(p.CreatorID)); 472 Assert.That(creator,Is.EqualTo(p.CreatorID), "Assert.That(creator,Is.EqualTo(p.CreatorID))");
473 Assert.That(dic,Is.EqualTo(p.TaskInventory)); 473 Assert.That(dic,Is.EqualTo(p.TaskInventory), "Assert.That(dic,Is.EqualTo(p.TaskInventory))");
474 Assert.That(name,Is.EqualTo(p.Name)); 474 Assert.That(name,Is.EqualTo(p.Name), "Assert.That(name,Is.EqualTo(p.Name))");
475 Assert.That(material,Is.EqualTo(p.Material)); 475 Assert.That(material,Is.EqualTo(p.Material), "Assert.That(material,Is.EqualTo(p.Material))");
476 Assert.That(pin,Is.EqualTo(p.ScriptAccessPin)); 476 Assert.That(pin,Is.EqualTo(p.ScriptAccessPin), "Assert.That(pin,Is.EqualTo(p.ScriptAccessPin))");
477 Assert.That(textani,Is.EqualTo(p.TextureAnimation)); 477 Assert.That(textani,Is.EqualTo(p.TextureAnimation), "Assert.That(textani,Is.EqualTo(p.TextureAnimation))");
478 Assert.That(partsys,Is.EqualTo(p.ParticleSystem)); 478 Assert.That(partsys,Is.EqualTo(p.ParticleSystem), "Assert.That(partsys,Is.EqualTo(p.ParticleSystem))");
479 Assert.That(offset,Is.EqualTo(p.OffsetPosition)); 479 Assert.That(offset,Is.EqualTo(p.OffsetPosition), "Assert.That(offset,Is.EqualTo(p.OffsetPosition))");
480 Assert.That(velocity,Is.EqualTo(p.Velocity)); 480 Assert.That(velocity,Is.EqualTo(p.Velocity), "Assert.That(velocity,Is.EqualTo(p.Velocity))");
481 Assert.That(angvelo,Is.EqualTo(p.AngularVelocity)); 481 Assert.That(angvelo,Is.EqualTo(p.AngularVelocity), "Assert.That(angvelo,Is.EqualTo(p.AngularVelocity))");
482 Assert.That(accel,Is.EqualTo(p.Acceleration)); 482 Assert.That(accel,Is.EqualTo(p.Acceleration), "Assert.That(accel,Is.EqualTo(p.Acceleration))");
483 Assert.That(description,Is.EqualTo(p.Description)); 483 Assert.That(description,Is.EqualTo(p.Description), "Assert.That(description,Is.EqualTo(p.Description))");
484 Assert.That(color,Is.EqualTo(p.Color)); 484 Assert.That(color,Is.EqualTo(p.Color), "Assert.That(color,Is.EqualTo(p.Color))");
485 Assert.That(text,Is.EqualTo(p.Text)); 485 Assert.That(text,Is.EqualTo(p.Text), "Assert.That(text,Is.EqualTo(p.Text))");
486 Assert.That(sitname,Is.EqualTo(p.SitName)); 486 Assert.That(sitname,Is.EqualTo(p.SitName), "Assert.That(sitname,Is.EqualTo(p.SitName))");
487 Assert.That(touchname,Is.EqualTo(p.TouchName)); 487 Assert.That(touchname,Is.EqualTo(p.TouchName), "Assert.That(touchname,Is.EqualTo(p.TouchName))");
488 Assert.That(clickaction,Is.EqualTo(p.ClickAction)); 488 Assert.That(clickaction,Is.EqualTo(p.ClickAction), "Assert.That(clickaction,Is.EqualTo(p.ClickAction))");
489 Assert.That(scale,Is.EqualTo(p.Scale)); 489 Assert.That(scale,Is.EqualTo(p.Scale), "Assert.That(scale,Is.EqualTo(p.Scale))");
490 } 490 }
491 491
492 [Test] 492 [Test]
@@ -524,12 +524,12 @@ namespace OpenSim.Data.Tests
524 for (int i=0;i<30;i++) 524 for (int i=0;i<30;i++)
525 { 525 {
526 SceneObjectPart cursop = mydic[parts[i].UUID]; 526 SceneObjectPart cursop = mydic[parts[i].UUID];
527 Assert.That(cursop.GroupPosition,Is.EqualTo(parts[i].GroupPosition)); 527 Assert.That(cursop.GroupPosition,Is.EqualTo(parts[i].GroupPosition), "Assert.That(cursop.GroupPosition,Is.EqualTo(parts[i].GroupPosition))");
528 Assert.That(cursop.RotationOffset,Is.EqualTo(parts[i].RotationOffset)); 528 Assert.That(cursop.RotationOffset,Is.EqualTo(parts[i].RotationOffset), "Assert.That(cursop.RotationOffset,Is.EqualTo(parts[i].RotationOffset))");
529 Assert.That(cursop.OffsetPosition,Is.EqualTo(parts[i].OffsetPosition)); 529 Assert.That(cursop.OffsetPosition,Is.EqualTo(parts[i].OffsetPosition), "Assert.That(cursop.OffsetPosition,Is.EqualTo(parts[i].OffsetPosition))");
530 Assert.That(cursop.Velocity,Is.EqualTo(parts[i].Velocity)); 530 Assert.That(cursop.Velocity,Is.EqualTo(parts[i].Velocity), "Assert.That(cursop.Velocity,Is.EqualTo(parts[i].Velocity))");
531 Assert.That(cursop.AngularVelocity,Is.EqualTo(parts[i].AngularVelocity)); 531 Assert.That(cursop.AngularVelocity,Is.EqualTo(parts[i].AngularVelocity), "Assert.That(cursop.AngularVelocity,Is.EqualTo(parts[i].AngularVelocity))");
532 Assert.That(cursop.Acceleration,Is.EqualTo(parts[i].Acceleration)); 532 Assert.That(cursop.Acceleration,Is.EqualTo(parts[i].Acceleration), "Assert.That(cursop.Acceleration,Is.EqualTo(parts[i].Acceleration))");
533 } 533 }
534 } 534 }
535 535
@@ -549,7 +549,7 @@ namespace OpenSim.Data.Tests
549 549
550 Assert.That(sog.AddInventoryItem(null, sog.RootPart.LocalId, i, zero), Is.True); 550 Assert.That(sog.AddInventoryItem(null, sog.RootPart.LocalId, i, zero), Is.True);
551 TaskInventoryItem t = sog.GetInventoryItem(sog.RootPart.LocalId, item1); 551 TaskInventoryItem t = sog.GetInventoryItem(sog.RootPart.LocalId, item1);
552 Assert.That(t.Name, Is.EqualTo(itemname1)); 552 Assert.That(t.Name, Is.EqualTo(itemname1), "Assert.That(t.Name, Is.EqualTo(itemname1))");
553 553
554 // TODO: seriously??? this is the way we need to loop to get this? 554 // TODO: seriously??? this is the way we need to loop to get this?
555 555
@@ -568,7 +568,7 @@ namespace OpenSim.Data.Tests
568 SceneObjectGroup sog = FindSOG("object1", region1); 568 SceneObjectGroup sog = FindSOG("object1", region1);
569 TaskInventoryItem t = sog.GetInventoryItem(sog.RootPart.LocalId, item1); 569 TaskInventoryItem t = sog.GetInventoryItem(sog.RootPart.LocalId, item1);
570 570
571 Assert.That(t.Name, Is.EqualTo(itemname1)); 571 Assert.That(t.Name, Is.EqualTo(itemname1), "Assert.That(t.Name, Is.EqualTo(itemname1))");
572 } 572 }
573 573
574 [Test] 574 [Test]
@@ -580,7 +580,7 @@ namespace OpenSim.Data.Tests
580 t.Name = "My New Name"; 580 t.Name = "My New Name";
581 sog.UpdateInventoryItem(t); 581 sog.UpdateInventoryItem(t);
582 582
583 Assert.That(t.Name, Is.EqualTo("My New Name")); 583 Assert.That(t.Name, Is.EqualTo("My New Name"), "Assert.That(t.Name, Is.EqualTo(\"My New Name\"))");
584 584
585 } 585 }
586 586
@@ -641,28 +641,28 @@ namespace OpenSim.Data.Tests
641 Assert.That(sog.AddInventoryItem(null, sog.RootPart.LocalId, i, zero), Is.True); 641 Assert.That(sog.AddInventoryItem(null, sog.RootPart.LocalId, i, zero), Is.True);
642 TaskInventoryItem t = sog.GetInventoryItem(sog.RootPart.LocalId, id); 642 TaskInventoryItem t = sog.GetInventoryItem(sog.RootPart.LocalId, id);
643 643
644 Assert.That(t.Name, Is.EqualTo(name)); 644 Assert.That(t.Name, Is.EqualTo(name), "Assert.That(t.Name, Is.EqualTo(name))");
645 Assert.That(t.AssetID,Is.EqualTo(assetid)); 645 Assert.That(t.AssetID,Is.EqualTo(assetid), "Assert.That(t.AssetID,Is.EqualTo(assetid))");
646 Assert.That(t.BasePermissions,Is.EqualTo(baseperm)); 646 Assert.That(t.BasePermissions,Is.EqualTo(baseperm), "Assert.That(t.BasePermissions,Is.EqualTo(baseperm))");
647 Assert.That(t.CreationDate,Is.EqualTo(creationd)); 647 Assert.That(t.CreationDate,Is.EqualTo(creationd), "Assert.That(t.CreationDate,Is.EqualTo(creationd))");
648 Assert.That(t.CreatorID,Is.EqualTo(creator)); 648 Assert.That(t.CreatorID,Is.EqualTo(creator), "Assert.That(t.CreatorID,Is.EqualTo(creator))");
649 Assert.That(t.Description,Is.EqualTo(name)); 649 Assert.That(t.Description,Is.EqualTo(name), "Assert.That(t.Description,Is.EqualTo(name))");
650 Assert.That(t.EveryonePermissions,Is.EqualTo(eoperm)); 650 Assert.That(t.EveryonePermissions,Is.EqualTo(eoperm), "Assert.That(t.EveryonePermissions,Is.EqualTo(eoperm))");
651 Assert.That(t.Flags,Is.EqualTo(flags)); 651 Assert.That(t.Flags,Is.EqualTo(flags), "Assert.That(t.Flags,Is.EqualTo(flags))");
652 Assert.That(t.GroupID,Is.EqualTo(sog.RootPart.GroupID)); 652 Assert.That(t.GroupID,Is.EqualTo(sog.RootPart.GroupID), "Assert.That(t.GroupID,Is.EqualTo(sog.RootPart.GroupID))");
653 // Where is this group permissions?? 653 // Where is this group permissions??
654 // Assert.That(t.GroupPermissions,Is.EqualTo()); 654 // Assert.That(t.GroupPermissions,Is.EqualTo(), "Assert.That(t.GroupPermissions,Is.EqualTo())");
655 Assert.That(t.Type,Is.EqualTo(assettype)); 655 Assert.That(t.Type,Is.EqualTo(assettype), "Assert.That(t.Type,Is.EqualTo(assettype))");
656 Assert.That(t.InvType, Is.EqualTo(invtype)); 656 Assert.That(t.InvType, Is.EqualTo(invtype), "Assert.That(t.InvType, Is.EqualTo(invtype))");
657 Assert.That(t.ItemID, Is.EqualTo(id)); 657 Assert.That(t.ItemID, Is.EqualTo(id), "Assert.That(t.ItemID, Is.EqualTo(id))");
658 Assert.That(t.LastOwnerID, Is.EqualTo(sog.RootPart.LastOwnerID)); 658 Assert.That(t.LastOwnerID, Is.EqualTo(sog.RootPart.LastOwnerID), "Assert.That(t.LastOwnerID, Is.EqualTo(sog.RootPart.LastOwnerID))");
659 Assert.That(t.NextPermissions, Is.EqualTo(nextperm)); 659 Assert.That(t.NextPermissions, Is.EqualTo(nextperm), "Assert.That(t.NextPermissions, Is.EqualTo(nextperm))");
660 // Ownership changes when you drop an object into an object 660 // Ownership changes when you drop an object into an object
661 // owned by someone else 661 // owned by someone else
662 Assert.That(t.OwnerID,Is.EqualTo(sog.RootPart.OwnerID)); 662 Assert.That(t.OwnerID,Is.EqualTo(sog.RootPart.OwnerID), "Assert.That(t.OwnerID,Is.EqualTo(sog.RootPart.OwnerID))");
663 Assert.That(t.CurrentPermissions, Is.EqualTo(curperm | 8)); 663 Assert.That(t.CurrentPermissions, Is.EqualTo(curperm | 8), "Assert.That(t.CurrentPermissions, Is.EqualTo(curperm | 8))");
664 Assert.That(t.ParentID,Is.EqualTo(sog.RootPart.FolderID)); 664 Assert.That(t.ParentID,Is.EqualTo(sog.RootPart.FolderID), "Assert.That(t.ParentID,Is.EqualTo(sog.RootPart.FolderID))");
665 Assert.That(t.ParentPartID,Is.EqualTo(sog.RootPart.UUID)); 665 Assert.That(t.ParentPartID,Is.EqualTo(sog.RootPart.UUID), "Assert.That(t.ParentPartID,Is.EqualTo(sog.RootPart.UUID))");
666 } 666 }
667 667
668 [Test] 668 [Test]
@@ -687,11 +687,11 @@ namespace OpenSim.Data.Tests
687 Assert.That(sog.AddInventoryItem(null, sog.RootPart.LocalId, ib4, zero), Is.True); 687 Assert.That(sog.AddInventoryItem(null, sog.RootPart.LocalId, ib4, zero), Is.True);
688 688
689 TaskInventoryItem t1 = sog.GetInventoryItem(sog.RootPart.LocalId, i1); 689 TaskInventoryItem t1 = sog.GetInventoryItem(sog.RootPart.LocalId, i1);
690 Assert.That(t1.Name, Is.EqualTo(ib1.Name)); 690 Assert.That(t1.Name, Is.EqualTo(ib1.Name), "Assert.That(t1.Name, Is.EqualTo(ib1.Name))");
691 TaskInventoryItem t2 = sog.GetInventoryItem(sog.RootPart.LocalId, i2); 691 TaskInventoryItem t2 = sog.GetInventoryItem(sog.RootPart.LocalId, i2);
692 Assert.That(t2.Name, Is.EqualTo(ib2.Name)); 692 Assert.That(t2.Name, Is.EqualTo(ib2.Name), "Assert.That(t2.Name, Is.EqualTo(ib2.Name))");
693 TaskInventoryItem t3 = sog.GetInventoryItem(sog.RootPart.LocalId, i3); 693 TaskInventoryItem t3 = sog.GetInventoryItem(sog.RootPart.LocalId, i3);
694 Assert.That(t3.Name, Is.EqualTo(ib3.Name)); 694 Assert.That(t3.Name, Is.EqualTo(ib3.Name), "Assert.That(t3.Name, Is.EqualTo(ib3.Name))");
695 TaskInventoryItem t4 = sog.GetInventoryItem(sog.RootPart.LocalId, i4); 695 TaskInventoryItem t4 = sog.GetInventoryItem(sog.RootPart.LocalId, i4);
696 Assert.That(t4, Is.Null); 696 Assert.That(t4, Is.Null);
697 } 697 }
@@ -709,10 +709,10 @@ namespace OpenSim.Data.Tests
709 public void T100_DefaultRegionInfo() 709 public void T100_DefaultRegionInfo()
710 { 710 {
711 RegionSettings r1 = db.LoadRegionSettings(region1); 711 RegionSettings r1 = db.LoadRegionSettings(region1);
712 Assert.That(r1.RegionUUID, Is.EqualTo(region1)); 712 Assert.That(r1.RegionUUID, Is.EqualTo(region1), "Assert.That(r1.RegionUUID, Is.EqualTo(region1))");
713 713
714 RegionSettings r2 = db.LoadRegionSettings(region2); 714 RegionSettings r2 = db.LoadRegionSettings(region2);
715 Assert.That(r2.RegionUUID, Is.EqualTo(region2)); 715 Assert.That(r2.RegionUUID, Is.EqualTo(region2), "Assert.That(r2.RegionUUID, Is.EqualTo(region2))");
716 } 716 }
717 717
718 [Test] 718 [Test]
@@ -781,7 +781,7 @@ namespace OpenSim.Data.Tests
781 db.StoreRegionSettings(r1); 781 db.StoreRegionSettings(r1);
782 782
783 RegionSettings r1a = db.LoadRegionSettings(region1); 783 RegionSettings r1a = db.LoadRegionSettings(region1);
784 Assert.That(r1a.RegionUUID, Is.EqualTo(region1)); 784 Assert.That(r1a.RegionUUID, Is.EqualTo(region1), "Assert.That(r1a.RegionUUID, Is.EqualTo(region1))");
785 Assert.That(r1a.BlockTerraform,Is.True); 785 Assert.That(r1a.BlockTerraform,Is.True);
786 Assert.That(r1a.BlockFly,Is.True); 786 Assert.That(r1a.BlockFly,Is.True);
787 Assert.That(r1a.AllowDamage,Is.True); 787 Assert.That(r1a.AllowDamage,Is.True);
@@ -789,34 +789,34 @@ namespace OpenSim.Data.Tests
789 Assert.That(r1a.AllowLandResell,Is.False); 789 Assert.That(r1a.AllowLandResell,Is.False);
790 Assert.That(r1a.AllowLandJoinDivide,Is.False); 790 Assert.That(r1a.AllowLandJoinDivide,Is.False);
791 Assert.That(r1a.BlockShowInSearch,Is.True); 791 Assert.That(r1a.BlockShowInSearch,Is.True);
792 Assert.That(r1a.AgentLimit,Is.EqualTo(agentlimit)); 792 Assert.That(r1a.AgentLimit,Is.EqualTo(agentlimit), "Assert.That(r1a.AgentLimit,Is.EqualTo(agentlimit))");
793 Assert.That(r1a.ObjectBonus,Is.EqualTo(objectbonus)); 793 Assert.That(r1a.ObjectBonus,Is.EqualTo(objectbonus), "Assert.That(r1a.ObjectBonus,Is.EqualTo(objectbonus))");
794 Assert.That(r1a.Maturity,Is.EqualTo(maturity)); 794 Assert.That(r1a.Maturity,Is.EqualTo(maturity), "Assert.That(r1a.Maturity,Is.EqualTo(maturity))");
795 Assert.That(r1a.DisableScripts,Is.True); 795 Assert.That(r1a.DisableScripts,Is.True);
796 Assert.That(r1a.DisableCollisions,Is.True); 796 Assert.That(r1a.DisableCollisions,Is.True);
797 Assert.That(r1a.DisablePhysics,Is.True); 797 Assert.That(r1a.DisablePhysics,Is.True);
798 Assert.That(r1a.TerrainTexture1,Is.EqualTo(tertex1)); 798 Assert.That(r1a.TerrainTexture1,Is.EqualTo(tertex1), "Assert.That(r1a.TerrainTexture1,Is.EqualTo(tertex1))");
799 Assert.That(r1a.TerrainTexture2,Is.EqualTo(tertex2)); 799 Assert.That(r1a.TerrainTexture2,Is.EqualTo(tertex2), "Assert.That(r1a.TerrainTexture2,Is.EqualTo(tertex2))");
800 Assert.That(r1a.TerrainTexture3,Is.EqualTo(tertex3)); 800 Assert.That(r1a.TerrainTexture3,Is.EqualTo(tertex3), "Assert.That(r1a.TerrainTexture3,Is.EqualTo(tertex3))");
801 Assert.That(r1a.TerrainTexture4,Is.EqualTo(tertex4)); 801 Assert.That(r1a.TerrainTexture4,Is.EqualTo(tertex4), "Assert.That(r1a.TerrainTexture4,Is.EqualTo(tertex4))");
802 Assert.That(r1a.Elevation1NW,Is.EqualTo(elev1nw)); 802 Assert.That(r1a.Elevation1NW,Is.EqualTo(elev1nw), "Assert.That(r1a.Elevation1NW,Is.EqualTo(elev1nw))");
803 Assert.That(r1a.Elevation2NW,Is.EqualTo(elev2nw)); 803 Assert.That(r1a.Elevation2NW,Is.EqualTo(elev2nw), "Assert.That(r1a.Elevation2NW,Is.EqualTo(elev2nw))");
804 Assert.That(r1a.Elevation1NE,Is.EqualTo(elev1ne)); 804 Assert.That(r1a.Elevation1NE,Is.EqualTo(elev1ne), "Assert.That(r1a.Elevation1NE,Is.EqualTo(elev1ne))");
805 Assert.That(r1a.Elevation2NE,Is.EqualTo(elev2ne)); 805 Assert.That(r1a.Elevation2NE,Is.EqualTo(elev2ne), "Assert.That(r1a.Elevation2NE,Is.EqualTo(elev2ne))");
806 Assert.That(r1a.Elevation1SE,Is.EqualTo(elev1se)); 806 Assert.That(r1a.Elevation1SE,Is.EqualTo(elev1se), "Assert.That(r1a.Elevation1SE,Is.EqualTo(elev1se))");
807 Assert.That(r1a.Elevation2SE,Is.EqualTo(elev2se)); 807 Assert.That(r1a.Elevation2SE,Is.EqualTo(elev2se), "Assert.That(r1a.Elevation2SE,Is.EqualTo(elev2se))");
808 Assert.That(r1a.Elevation1SW,Is.EqualTo(elev1sw)); 808 Assert.That(r1a.Elevation1SW,Is.EqualTo(elev1sw), "Assert.That(r1a.Elevation1SW,Is.EqualTo(elev1sw))");
809 Assert.That(r1a.Elevation2SW,Is.EqualTo(elev2sw)); 809 Assert.That(r1a.Elevation2SW,Is.EqualTo(elev2sw), "Assert.That(r1a.Elevation2SW,Is.EqualTo(elev2sw))");
810 Assert.That(r1a.WaterHeight,Is.EqualTo(waterh)); 810 Assert.That(r1a.WaterHeight,Is.EqualTo(waterh), "Assert.That(r1a.WaterHeight,Is.EqualTo(waterh))");
811 Assert.That(r1a.TerrainRaiseLimit,Is.EqualTo(terrainraise)); 811 Assert.That(r1a.TerrainRaiseLimit,Is.EqualTo(terrainraise), "Assert.That(r1a.TerrainRaiseLimit,Is.EqualTo(terrainraise))");
812 Assert.That(r1a.TerrainLowerLimit,Is.EqualTo(terrainlower)); 812 Assert.That(r1a.TerrainLowerLimit,Is.EqualTo(terrainlower), "Assert.That(r1a.TerrainLowerLimit,Is.EqualTo(terrainlower))");
813 Assert.That(r1a.UseEstateSun,Is.False); 813 Assert.That(r1a.UseEstateSun,Is.False);
814 Assert.That(r1a.Sandbox,Is.True); 814 Assert.That(r1a.Sandbox,Is.True);
815 Assert.That(r1a.SunVector,Is.EqualTo(sunvector)); 815 Assert.That(r1a.SunVector,Is.EqualTo(sunvector), "Assert.That(r1a.SunVector,Is.EqualTo(sunvector))");
816 //Assert.That(r1a.TerrainImageID,Is.EqualTo(terimgid)); 816 //Assert.That(r1a.TerrainImageID,Is.EqualTo(terimgid), "Assert.That(r1a.TerrainImageID,Is.EqualTo(terimgid))");
817 Assert.That(r1a.FixedSun,Is.True); 817 Assert.That(r1a.FixedSun,Is.True);
818 Assert.That(r1a.SunPosition, Is.EqualTo(sunpos)); 818 Assert.That(r1a.SunPosition, Is.EqualTo(sunpos), "Assert.That(r1a.SunPosition, Is.EqualTo(sunpos))");
819 Assert.That(r1a.Covenant, Is.EqualTo(cov)); 819 Assert.That(r1a.Covenant, Is.EqualTo(cov), "Assert.That(r1a.Covenant, Is.EqualTo(cov))");
820 820
821 } 821 }
822 822
@@ -866,10 +866,10 @@ namespace OpenSim.Data.Tests
866 [Test] 866 [Test]
867 public void T400_EmptyLand() 867 public void T400_EmptyLand()
868 { 868 {
869 Assert.That(db.LoadLandObjects(zero).Count, Is.EqualTo(0)); 869 Assert.That(db.LoadLandObjects(zero).Count, Is.EqualTo(0), "Assert.That(db.LoadLandObjects(zero).Count, Is.EqualTo(0))");
870 Assert.That(db.LoadLandObjects(region1).Count, Is.EqualTo(0)); 870 Assert.That(db.LoadLandObjects(region1).Count, Is.EqualTo(0), "Assert.That(db.LoadLandObjects(region1).Count, Is.EqualTo(0))");
871 Assert.That(db.LoadLandObjects(region2).Count, Is.EqualTo(0)); 871 Assert.That(db.LoadLandObjects(region2).Count, Is.EqualTo(0), "Assert.That(db.LoadLandObjects(region2).Count, Is.EqualTo(0))");
872 Assert.That(db.LoadLandObjects(UUID.Random()).Count, Is.EqualTo(0)); 872 Assert.That(db.LoadLandObjects(UUID.Random()).Count, Is.EqualTo(0), "Assert.That(db.LoadLandObjects(UUID.Random()).Count, Is.EqualTo(0))");
873 } 873 }
874 874
875 // TODO: we should have real land tests, but Land is so 875 // TODO: we should have real land tests, but Land is so