public void TestSplitParams() { TestHelper.InMethod(); GetAssetStreamHandler handler = new GetAssetStreamHandler(null); BaseRequestHandlerTestHelper.BaseTestSplitParams(handler, ASSETS_PATH); }
public void TestHandleFetchMissingAsset() { IAssetDataPlugin assetDataPlugin = new TestAssetDataPlugin(); GetAssetStreamHandler handler = new GetAssetStreamHandler(assetDataPlugin); GetAssetStreamHandlerTestHelpers.BaseFetchMissingAsset(handler); }
public void TestHandleMalformedGuid() { TestHelper.InMethod(); GetAssetStreamHandler handler = new GetAssetStreamHandler(null); BaseRequestHandlerTestHelper.BaseTestHandleMalformedGuid(handler, ASSETS_PATH); }
public void TestHandleNoParams() { TestHelper.InMethod(); GetAssetStreamHandler handler = new GetAssetStreamHandler(null); BaseRequestHandlerTestHelper.BaseTestHandleNoParams(handler, ASSETS_PATH); }
private static AssetBase CreateTestEnvironment(out GetAssetStreamHandler handler, out OSHttpResponse response) { AssetBase asset = GetAssetStreamHandlerTestHelpers.CreateCommonTestResources(out response); IAssetDataPlugin assetDataPlugin = new TestAssetDataPlugin(); handler = new GetAssetStreamHandler(assetDataPlugin); assetDataPlugin.CreateAsset(asset); return(asset); }
private static AssetBase CreateTestEnvironment(out GetAssetStreamHandler handler, out OSHttpResponse response) { AssetBase asset = GetAssetStreamHandlerTestHelpers.CreateCommonTestResources(out response); IAssetDataPlugin assetDataPlugin = new TestAssetDataPlugin(); handler = new GetAssetStreamHandler(assetDataPlugin); assetDataPlugin.StoreAsset(asset); return asset; }
public void TestConstructor() { TestHelper.InMethod(); GetAssetStreamHandler handler = new GetAssetStreamHandler(null); }