diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs | 6 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs | 7 |
2 files changed, 8 insertions, 5 deletions
diff --git a/OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs b/OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs index cf19468..fed4707 100644 --- a/OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs +++ b/OpenSim/Framework/Servers/Tests/CachedGetAssetStreamHandlerTests.cs | |||
@@ -94,9 +94,11 @@ namespace OpenSim.Framework.Servers.Tests | |||
94 | public void TestHandleFetchMissingAsset() | 94 | public void TestHandleFetchMissingAsset() |
95 | { | 95 | { |
96 | IAssetCache assetCache = new TestAssetCache(); | 96 | IAssetCache assetCache = new TestAssetCache(); |
97 | CachedGetAssetStreamHandler handler = new CachedGetAssetStreamHandler(assetCache); | 97 | CachedGetAssetStreamHandler handler; |
98 | OSHttpResponse response; | ||
99 | AssetBase asset = CreateTestEnvironment(out handler, out response); | ||
98 | 100 | ||
99 | GetAssetStreamHandlerTestHelpers.BaseFetchMissingAsset(handler); | 101 | GetAssetStreamHandlerTestHelpers.BaseFetchMissingAsset(handler, response); |
100 | } | 102 | } |
101 | 103 | ||
102 | [Test] | 104 | [Test] |
diff --git a/OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs b/OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs index 7a05f93..6a4918d 100644 --- a/OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs +++ b/OpenSim/Framework/Servers/Tests/GetAssetStreamHandlerTests.cs | |||
@@ -94,10 +94,11 @@ namespace OpenSim.Framework.Servers.Tests | |||
94 | [Test] | 94 | [Test] |
95 | public void TestHandleFetchMissingAsset() | 95 | public void TestHandleFetchMissingAsset() |
96 | { | 96 | { |
97 | IAssetDataPlugin assetDataPlugin = new TestAssetDataPlugin(); | 97 | GetAssetStreamHandler handler; |
98 | GetAssetStreamHandler handler = new GetAssetStreamHandler(assetDataPlugin); | 98 | OSHttpResponse response; |
99 | AssetBase asset = CreateTestEnvironment(out handler, out response); | ||
99 | 100 | ||
100 | GetAssetStreamHandlerTestHelpers.BaseFetchMissingAsset(handler); | 101 | GetAssetStreamHandlerTestHelpers.BaseFetchMissingAsset(handler, response); |
101 | } | 102 | } |
102 | 103 | ||
103 | [Test] | 104 | [Test] |