diff options
author | Justin Clark-Casey (justincc) | 2009-08-05 19:06:07 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-08-05 19:06:07 +0100 |
commit | 9e5736eeeccee4c96a0a7b80a099f6705ceb09e3 (patch) | |
tree | d604b270bfeb9c1d4df02f8cfed1a37dc4d6a9f7 | |
parent | Remove waiting in TestReplicateArchivePathToUserInventory() since local inven... (diff) | |
download | opensim-SC-9e5736eeeccee4c96a0a7b80a099f6705ceb09e3.zip opensim-SC-9e5736eeeccee4c96a0a7b80a099f6705ceb09e3.tar.gz opensim-SC-9e5736eeeccee4c96a0a7b80a099f6705ceb09e3.tar.bz2 opensim-SC-9e5736eeeccee4c96a0a7b80a099f6705ceb09e3.tar.xz |
insert a little more debug info for TestReplicateArchivePathToUserInventory()
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs index 95308ea..cd14340 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | |||
@@ -376,6 +376,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
376 | } | 376 | } |
377 | Assert.That(userInfo.HasReceivedInventory, Is.True, "FetchInventory timed out (10 seconds)"); | 377 | Assert.That(userInfo.HasReceivedInventory, Is.True, "FetchInventory timed out (10 seconds)"); |
378 | */ | 378 | */ |
379 | |||
380 | Console.WriteLine("userInfo.RootFolder 1: {0}", userInfo.RootFolder); | ||
381 | |||
379 | Dictionary <string, InventoryFolderImpl> foldersCreated = new Dictionary<string, InventoryFolderImpl>(); | 382 | Dictionary <string, InventoryFolderImpl> foldersCreated = new Dictionary<string, InventoryFolderImpl>(); |
380 | List<InventoryNodeBase> nodesLoaded = new List<InventoryNodeBase>(); | 383 | List<InventoryNodeBase> nodesLoaded = new List<InventoryNodeBase>(); |
381 | 384 | ||
@@ -393,11 +396,13 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
393 | = string.Format( | 396 | = string.Format( |
394 | "{0}{1}/{2}/{3}", | 397 | "{0}{1}/{2}/{3}", |
395 | ArchiveConstants.INVENTORY_PATH, folder1ArchiveName, folder2ArchiveName, itemName); | 398 | ArchiveConstants.INVENTORY_PATH, folder1ArchiveName, folder2ArchiveName, itemName); |
399 | |||
400 | Console.WriteLine("userInfo.RootFolder 2: {0}", userInfo.RootFolder); | ||
396 | 401 | ||
397 | new InventoryArchiveReadRequest(userInfo, null, (Stream)null, null, null) | 402 | new InventoryArchiveReadRequest(userInfo, null, (Stream)null, null, null) |
398 | .ReplicateArchivePathToUserInventory(itemArchivePath, false, userInfo.RootFolder, foldersCreated, nodesLoaded); | 403 | .ReplicateArchivePathToUserInventory(itemArchivePath, false, userInfo.RootFolder, foldersCreated, nodesLoaded); |
399 | 404 | ||
400 | Console.WriteLine("userInfo.RootFolder: {0}", userInfo.RootFolder); | 405 | Console.WriteLine("userInfo.RootFolder 3: {0}", userInfo.RootFolder); |
401 | InventoryFolderImpl folder1 = userInfo.RootFolder.FindFolderByPath("a"); | 406 | InventoryFolderImpl folder1 = userInfo.RootFolder.FindFolderByPath("a"); |
402 | Assert.That(folder1, Is.Not.Null, "Could not find folder a"); | 407 | Assert.That(folder1, Is.Not.Null, "Could not find folder a"); |
403 | InventoryFolderImpl folder2 = folder1.FindFolderByPath("b"); | 408 | InventoryFolderImpl folder2 = folder1.FindFolderByPath("b"); |