aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Tests
diff options
context:
space:
mode:
authordiva2009-02-12 23:38:41 +0000
committerdiva2009-02-12 23:38:41 +0000
commitad1e2e0b8b0bca7eafaa6a0ae4281c44944b372e (patch)
tree0386dfa7cb3ea81a74336b8b99bba9f609294f07 /OpenSim/Region/Framework/Scenes/Tests
parentMakes region crossings asynchronous. Moved the bulk of the original code out ... (diff)
downloadopensim-SC_OLD-ad1e2e0b8b0bca7eafaa6a0ae4281c44944b372e.zip
opensim-SC_OLD-ad1e2e0b8b0bca7eafaa6a0ae4281c44944b372e.tar.gz
opensim-SC_OLD-ad1e2e0b8b0bca7eafaa6a0ae4281c44944b372e.tar.bz2
opensim-SC_OLD-ad1e2e0b8b0bca7eafaa6a0ae4281c44944b372e.tar.xz
Fixes a bug in the ScenePresence test itself.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests')
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs
index 2f2bc19..433b74a 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs
@@ -213,7 +213,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
213 presence2.AbsolutePosition = new Vector3(-1, 3, 100); 213 presence2.AbsolutePosition = new Vector3(-1, 3, 100);
214 presence2.Update(); 214 presence2.Update();
215 // Crossings are asynchronous 215 // Crossings are asynchronous
216 while (presence.IsInTransit) { }; 216 while (presence2.IsInTransit) { };
217 217
218 Assert.That(presence2.IsChildAgent, Is.True, "Did not return from region as expected."); 218 Assert.That(presence2.IsChildAgent, Is.True, "Did not return from region as expected.");
219 Assert.That(presence.IsChildAgent, Is.False, "Presence was not made root in old region again."); 219 Assert.That(presence.IsChildAgent, Is.False, "Presence was not made root in old region again.");