* Added some GetAssetStreamHandlerTests

* Minor tweaks to attain testability
This commit is contained in:
lbsa71
2009-05-06 17:02:51 +00:00
parent c84abfa9b1
commit 1afdf2ee1f
5 changed files with 57 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ namespace OpenSim.Framework.Servers
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
// private OpenAsset_Main m_assetManager;
private IAssetCache m_assetProvider;
private readonly IAssetCache m_assetProvider;
/// <summary>
/// Constructor.
@@ -58,7 +58,7 @@ namespace OpenSim.Framework.Servers
public CachedGetAssetStreamHandler(IAssetCache assetProvider)
: base("GET", "/assets")
{
m_log.Info("[REST]: In Get Request");
// m_log.Info("[REST]: In Get Request");
// m_assetManager = assetManager;
m_assetProvider = assetProvider;
}