diff options
author | Justin Clark-Casey (justincc) | 2011-02-19 00:11:08 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-02-19 00:11:08 +0000 |
commit | b3a1d8c7f787dd2ad24b925bfcdd08b676b3d8b3 (patch) | |
tree | fcf7585759e6fa7c34cd0ee7c6aa81f8f2577eb5 /OpenSim/Tests | |
parent | remove unused code to share services between scenes in SceneSetupHelpers - th... (diff) | |
download | opensim-SC-b3a1d8c7f787dd2ad24b925bfcdd08b676b3d8b3.zip opensim-SC-b3a1d8c7f787dd2ad24b925bfcdd08b676b3d8b3.tar.gz opensim-SC-b3a1d8c7f787dd2ad24b925bfcdd08b676b3d8b3.tar.bz2 opensim-SC-b3a1d8c7f787dd2ad24b925bfcdd08b676b3d8b3.tar.xz |
Remove unused SceneSetupHelpers.DeleteObjectAsync().
Calling async code in automated tests is never a good idea - things become very fragile very quickly
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r-- | OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs index 3980c18..5be70bc 100644 --- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs +++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | |||
@@ -505,24 +505,5 @@ namespace OpenSim.Tests.Common.Setup | |||
505 | 505 | ||
506 | return part; | 506 | return part; |
507 | } | 507 | } |
508 | |||
509 | /// <summary> | ||
510 | /// Delete a scene object asynchronously | ||
511 | /// </summary> | ||
512 | /// <param name="scene"></param> | ||
513 | /// <param name="part"></param> | ||
514 | /// <param name="action"></param> | ||
515 | /// <param name="destinationId"></param> | ||
516 | /// <param name="client"></param> | ||
517 | public static void DeleteSceneObjectAsync( | ||
518 | TestScene scene, SceneObjectPart part, DeRezAction action, UUID destinationId, IClientAPI client) | ||
519 | { | ||
520 | // Turn off the timer on the async sog deleter - we'll crank it by hand within a unit test | ||
521 | AsyncSceneObjectGroupDeleter sogd = scene.SceneObjectGroupDeleter; | ||
522 | sogd.Enabled = false; | ||
523 | |||
524 | scene.DeRezObjects(client, new List<uint>() { part.LocalId }, UUID.Zero, action, destinationId); | ||
525 | sogd.InventoryDeQueueAndDelete(); | ||
526 | } | ||
527 | } | 508 | } |
528 | } | 509 | } |