public void Product_name_is_mvcz_when_output_is_compressed() { resolver = new CdnWebAssetResolver(new WebAsset("foo.bar")); resolverContext.SupportsCompression = true; Assert.Equal("mvcz", resolver.GetProductName(resolverContext)); }
public void Product_name_is_mvc_when_output_is_not_compressed() { resolver = new CdnWebAssetResolver(new WebAsset("foo.bar")); Assert.Equal("mvc", resolver.GetProductName(resolverContext)); }
public void Product_name_is_mvc_when_output_is_not_compressed() { resolver = new CdnWebAssetResolver(new WebAsset("foo.bar")); Assert.Equal("mvc", resolver.GetProductName(resolverContext)); }
public void Product_name_is_mvcz_when_output_is_compressed() { resolver = new CdnWebAssetResolver(new WebAsset("foo.bar")); resolverContext.SupportsCompression = true; Assert.Equal("mvcz", resolver.GetProductName(resolverContext)); }