From a75d5cc16ff108b9d374717e51caf89223f3c634 Mon Sep 17 00:00:00 2001 From: Brian Popow Date: Thu, 23 Jan 2020 14:39:46 +0100 Subject: [PATCH] Revert comment as it was before, add exception for SA1115 --- .../Codecs/Jpeg/DecodeJpeg_ImageSpecific.cs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tests/ImageSharp.Benchmarks/Codecs/Jpeg/DecodeJpeg_ImageSpecific.cs b/tests/ImageSharp.Benchmarks/Codecs/Jpeg/DecodeJpeg_ImageSpecific.cs index cf87cb1a24..fb445f6a22 100644 --- a/tests/ImageSharp.Benchmarks/Codecs/Jpeg/DecodeJpeg_ImageSpecific.cs +++ b/tests/ImageSharp.Benchmarks/Codecs/Jpeg/DecodeJpeg_ImageSpecific.cs @@ -47,12 +47,15 @@ namespace SixLabors.ImageSharp.Benchmarks.Codecs.Jpeg [Params( TestImages.Jpeg.BenchmarkSuite.Lake_Small444YCbCr, TestImages.Jpeg.BenchmarkSuite.BadRstProgressive518_Large444YCbCr, - /* The scaled result for the large image "ExifGetString750Transform_Huge420YCbCr" - is almost the same as the result for Jpeg420Exif, - which proves that the execution time for the most common YCbCr 420 path scales linearly. - TestImages.Jpeg.BenchmarkSuite.ExifGetString750Transform_Huge420YCbCr, - */ + +#pragma warning disable SA1115 // Parameter should follow comma + + // The scaled result for the large image "ExifGetString750Transform_Huge420YCbCr" + // is almost the same as the result for Jpeg420Exif, + // which proves that the execution time for the most common YCbCr 420 path scales linearly. + // TestImages.Jpeg.BenchmarkSuite.ExifGetString750Transform_Huge420YCbCr, TestImages.Jpeg.BenchmarkSuite.Jpeg420Exif_MidSizeYCbCr)] +#pragma warning restore SA1115 // Parameter should follow comma public string TestImage { get; set; }