mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
Formatting cleanup.
This commit is contained in:
@@ -39,7 +39,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||
/// tests are single threaded.
|
||||
/// </summary>
|
||||
public class TestAssetDataPlugin : BaseAssetRepository, IAssetDataPlugin
|
||||
{
|
||||
{
|
||||
public string Version { get { return "0"; } }
|
||||
public string Name { get { return "TestAssetDataPlugin"; } }
|
||||
|
||||
@@ -59,6 +59,6 @@ namespace OpenSim.Tests.Common.Mock
|
||||
assets.Add(asset);
|
||||
}
|
||||
|
||||
public List<AssetMetadata> FetchAssetMetadataSet(int start, int count) { return new List<AssetMetadata>(count); }
|
||||
public List<AssetMetadata> FetchAssetMetadataSet(int start, int count) { return new List<AssetMetadata>(count); }
|
||||
}
|
||||
}
|
||||
@@ -49,7 +49,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||
if (Assets.ContainsKey(id))
|
||||
asset = Assets[id];
|
||||
else
|
||||
asset = null;
|
||||
asset = null;
|
||||
|
||||
return asset;
|
||||
}
|
||||
@@ -65,7 +65,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||
}
|
||||
|
||||
public bool Get(string id, object sender, AssetRetrieved handler)
|
||||
{
|
||||
{
|
||||
handler(id, sender, Get(id));
|
||||
|
||||
return true;
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||
|
||||
public TestCommunicationsManager(NetworkServersInfo serversInfo)
|
||||
: base(serversInfo, null)
|
||||
{
|
||||
{
|
||||
|
||||
LocalUserServices lus = new LocalUserServices(991, 992, this);
|
||||
lus.AddPlugin(new TemporaryUserProfilePlugin());
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||
//// <value>
|
||||
/// Inventory items
|
||||
/// </value>
|
||||
private Dictionary<UUID, InventoryItemBase> m_items = new Dictionary<UUID, InventoryItemBase>();
|
||||
private Dictionary<UUID, InventoryItemBase> m_items = new Dictionary<UUID, InventoryItemBase>();
|
||||
|
||||
/// <value>
|
||||
/// User root folders
|
||||
@@ -120,7 +120,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||
}
|
||||
|
||||
return folders;
|
||||
}
|
||||
}
|
||||
|
||||
public InventoryFolderBase getInventoryFolder(UUID folderId)
|
||||
{
|
||||
@@ -191,7 +191,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||
public InventoryItemBase queryInventoryItem(UUID item)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public List<InventoryItemBase> fetchActiveGestures(UUID avatarID) { return null; }
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ using OpenSim.Framework;
|
||||
using OpenSim.Region.Framework.Interfaces;
|
||||
|
||||
namespace OpenSim.Tests.Common.Mock
|
||||
{
|
||||
{
|
||||
/// <summary>
|
||||
/// Land channel for test purposes
|
||||
/// </summary>
|
||||
@@ -40,7 +40,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||
public List<ILandObject> ParcelsNearPoint(Vector3 position) { return null; }
|
||||
public List<ILandObject> AllParcels() { return null; }
|
||||
public ILandObject GetLandObject(int x, int y) { return null; }
|
||||
public ILandObject GetLandObject(int localID) { return null; }
|
||||
public ILandObject GetLandObject(int localID) { return null; }
|
||||
public ILandObject GetLandObject(float x, float y) { return null; }
|
||||
public bool IsLandPrimCountTainted() { return false; }
|
||||
public bool IsForcefulBansAllowed() { return false; }
|
||||
|
||||
@@ -35,9 +35,9 @@ using OpenSim.Region.Framework;
|
||||
using OpenSim.Region.Framework.Scenes;
|
||||
|
||||
namespace OpenSim.Tests.Common.Mock
|
||||
{
|
||||
{
|
||||
public class TestScene : Scene
|
||||
{
|
||||
{
|
||||
public TestScene(
|
||||
RegionInfo regInfo, AgentCircuitManager authen,
|
||||
CommunicationsManager commsMan, SceneCommunicationService sceneGridService, StorageManager storeManager,
|
||||
@@ -60,7 +60,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||
{
|
||||
reason = String.Empty;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public AsyncSceneObjectGroupDeleter SceneObjectGroupDeleter
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user