From ee205e7e812e170f670e690a4e0fa9caa652f226 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Thu, 1 Oct 2009 01:00:09 +0900 Subject: Formatting cleanup. --- OpenSim/Tests/Common/Setup/UserInventoryTestUtils.cs | 8 ++++---- OpenSim/Tests/Common/Setup/UserProfileTestUtils.cs | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'OpenSim/Tests/Common/Setup') diff --git a/OpenSim/Tests/Common/Setup/UserInventoryTestUtils.cs b/OpenSim/Tests/Common/Setup/UserInventoryTestUtils.cs index 3528072..7e0c567 100644 --- a/OpenSim/Tests/Common/Setup/UserInventoryTestUtils.cs +++ b/OpenSim/Tests/Common/Setup/UserInventoryTestUtils.cs @@ -31,10 +31,10 @@ using OpenSim.Framework; using OpenSim.Services.Interfaces; namespace OpenSim.Tests.Common -{ +{ /// /// Utility functions for carrying out user inventory related tests. - /// + /// public static class UserInventoryTestUtils { public static readonly string PATH_DELIMITER = "/"; @@ -78,7 +78,7 @@ namespace OpenSim.Tests.Common /// /// /// The folder created. If the path contains multiple folders then the last one created is returned. - /// + /// public static InventoryFolderBase CreateInventoryFolder( IInventoryService inventoryService, InventoryFolderBase parentFolder, string path) { @@ -91,7 +91,7 @@ namespace OpenSim.Tests.Common if (components.Length > 1) return CreateInventoryFolder(inventoryService, newFolder, components[1]); else - return newFolder; + return newFolder; } } } \ No newline at end of file diff --git a/OpenSim/Tests/Common/Setup/UserProfileTestUtils.cs b/OpenSim/Tests/Common/Setup/UserProfileTestUtils.cs index 4ad9926..3ca44a1 100644 --- a/OpenSim/Tests/Common/Setup/UserProfileTestUtils.cs +++ b/OpenSim/Tests/Common/Setup/UserProfileTestUtils.cs @@ -31,12 +31,12 @@ using OpenSim.Framework.Communications.Cache; using OpenSim.Region.Communications.Local; namespace OpenSim.Tests.Common.Setup -{ +{ /// /// Utility functions for carrying out user profile related tests. /// public static class UserProfileTestUtils - { + { /// /// Create a test user with a standard inventory /// @@ -51,7 +51,7 @@ namespace OpenSim.Tests.Common.Setup { UUID userId = UUID.Parse("00000000-0000-0000-0000-000000000099"); return CreateUserWithInventory(commsManager, userId, callback); - } + } /// /// Create a test user with a standard inventory @@ -65,7 +65,7 @@ namespace OpenSim.Tests.Common.Setup /// public static CachedUserInfo CreateUserWithInventory( CommunicationsManager commsManager, UUID userId, OnInventoryReceivedDelegate callback) - { + { return CreateUserWithInventory(commsManager, "Bill", "Bailey", userId, callback); } @@ -84,8 +84,8 @@ namespace OpenSim.Tests.Common.Setup public static CachedUserInfo CreateUserWithInventory( CommunicationsManager commsManager, string firstName, string lastName, UUID userId, OnInventoryReceivedDelegate callback) - { - LocalUserServices lus = (LocalUserServices)commsManager.UserService; + { + LocalUserServices lus = (LocalUserServices)commsManager.UserService; lus.AddUser(firstName, lastName, "troll", "bill@bailey.com", 1000, 1000, userId); CachedUserInfo userInfo = commsManager.UserProfileCacheService.GetUserDetails(userId); @@ -93,6 +93,6 @@ namespace OpenSim.Tests.Common.Setup userInfo.FetchInventory(); return userInfo; - } + } } } -- cgit v1.1