diff options
Diffstat (limited to 'OpenSim')
-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"); |