From 1e4108824998553bf2e118489c48b42dbbd24288 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Tue, 30 May 2017 15:56:55 +1000 Subject: [PATCH] Use default files. --- .../Processing/Binarization/BinaryThresholdTest.cs | 4 ++-- .../Processing/Binarization/DitherTest.cs | 8 ++++---- .../Processing/ColorMatrix/BlackWhiteTest.cs | 4 ++-- .../Processing/ColorMatrix/ColorBlindnessTest.cs | 4 ++-- .../Processing/ColorMatrix/KodachromeTest.cs | 4 ++-- .../Processing/ColorMatrix/LomographTest.cs | 4 ++-- .../Processing/ColorMatrix/PolaroidTest.cs | 4 ++-- .../Processing/ColorMatrix/SaturationTest.cs | 4 ++-- .../ImageSharp.Tests/Processing/ColorMatrix/SepiaTest.cs | 4 ++-- .../Processing/Convolution/BoxBlurTest.cs | 4 ++-- .../Processing/Convolution/DetectEdgesTest.cs | 4 ++-- .../Processing/Convolution/GaussianBlurTest.cs | 4 ++-- .../Processing/Convolution/GaussianSharpenTest.cs | 4 ++-- 13 files changed, 28 insertions(+), 28 deletions(-) diff --git a/tests/ImageSharp.Tests/Processing/Binarization/BinaryThresholdTest.cs b/tests/ImageSharp.Tests/Processing/Binarization/BinaryThresholdTest.cs index a4da02adec..967844004d 100644 --- a/tests/ImageSharp.Tests/Processing/Binarization/BinaryThresholdTest.cs +++ b/tests/ImageSharp.Tests/Processing/Binarization/BinaryThresholdTest.cs @@ -19,7 +19,7 @@ namespace ImageSharp.Tests.Processing.Binarization }; [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(BinaryThresholdValues), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(BinaryThresholdValues), StandardPixelType)] public void ImageShouldApplyBinaryThresholdFilter(TestImageProvider provider, float value) where TPixel : struct, IPixel { @@ -31,7 +31,7 @@ namespace ImageSharp.Tests.Processing.Binarization } [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(BinaryThresholdValues), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(BinaryThresholdValues), StandardPixelType)] public void ImageShouldApplyBinaryThresholdInBox(TestImageProvider provider, float value) where TPixel : struct, IPixel { diff --git a/tests/ImageSharp.Tests/Processing/Binarization/DitherTest.cs b/tests/ImageSharp.Tests/Processing/Binarization/DitherTest.cs index a6585e0264..92f685dfa5 100644 --- a/tests/ImageSharp.Tests/Processing/Binarization/DitherTest.cs +++ b/tests/ImageSharp.Tests/Processing/Binarization/DitherTest.cs @@ -32,7 +32,7 @@ namespace ImageSharp.Tests }; [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(Ditherers), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(Ditherers), StandardPixelType)] public void ImageShouldApplyDitherFilter(TestImageProvider provider, string name, IOrderedDither ditherer) where TPixel : struct, IPixel { @@ -44,7 +44,7 @@ namespace ImageSharp.Tests } [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(Ditherers), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(Ditherers), StandardPixelType)] public void ImageShouldApplyDitherFilterInBox(TestImageProvider provider, string name, IOrderedDither ditherer) where TPixel : struct, IPixel { @@ -64,7 +64,7 @@ namespace ImageSharp.Tests } [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(ErrorDiffusers), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(ErrorDiffusers), StandardPixelType)] public void ImageShouldApplyDiffusionFilter(TestImageProvider provider, string name, IErrorDiffuser diffuser) where TPixel : struct, IPixel { @@ -76,7 +76,7 @@ namespace ImageSharp.Tests } [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(ErrorDiffusers), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(ErrorDiffusers), StandardPixelType)] public void ImageShouldApplyDiffusionFilterInBox(TestImageProvider provider, string name, IErrorDiffuser diffuser) where TPixel : struct, IPixel { diff --git a/tests/ImageSharp.Tests/Processing/ColorMatrix/BlackWhiteTest.cs b/tests/ImageSharp.Tests/Processing/ColorMatrix/BlackWhiteTest.cs index 97582b27f6..066b392d7d 100644 --- a/tests/ImageSharp.Tests/Processing/ColorMatrix/BlackWhiteTest.cs +++ b/tests/ImageSharp.Tests/Processing/ColorMatrix/BlackWhiteTest.cs @@ -12,7 +12,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix public class BlackWhiteTest : FileTestBase { [Theory] - [WithFileCollection(nameof(AllBmpFiles), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), StandardPixelType)] public void ImageShouldApplyBlackWhiteFilter(TestImageProvider provider) where TPixel : struct, IPixel { @@ -24,7 +24,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix } [Theory] - [WithFileCollection(nameof(AllBmpFiles), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), StandardPixelType)] public void ImageShouldApplyBlackWhiteFilterInBox(TestImageProvider provider) where TPixel : struct, IPixel { diff --git a/tests/ImageSharp.Tests/Processing/ColorMatrix/ColorBlindnessTest.cs b/tests/ImageSharp.Tests/Processing/ColorMatrix/ColorBlindnessTest.cs index 7c6e58da32..314b405c27 100644 --- a/tests/ImageSharp.Tests/Processing/ColorMatrix/ColorBlindnessTest.cs +++ b/tests/ImageSharp.Tests/Processing/ColorMatrix/ColorBlindnessTest.cs @@ -26,7 +26,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix }; [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(ColorBlindnessFilters), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(ColorBlindnessFilters), StandardPixelType)] public void ImageShouldApplyColorBlindnessFilter(TestImageProvider provider, ColorBlindness colorBlindness) where TPixel : struct, IPixel { @@ -38,7 +38,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix } [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(ColorBlindnessFilters), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(ColorBlindnessFilters), StandardPixelType)] public void ImageShouldApplyColorBlindnessFilterInBox(TestImageProvider provider, ColorBlindness colorBlindness) where TPixel : struct, IPixel { diff --git a/tests/ImageSharp.Tests/Processing/ColorMatrix/KodachromeTest.cs b/tests/ImageSharp.Tests/Processing/ColorMatrix/KodachromeTest.cs index 23fd634e2f..2824d8fd20 100644 --- a/tests/ImageSharp.Tests/Processing/ColorMatrix/KodachromeTest.cs +++ b/tests/ImageSharp.Tests/Processing/ColorMatrix/KodachromeTest.cs @@ -12,7 +12,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix public class KodachromeTest : FileTestBase { [Theory] - [WithFileCollection(nameof(AllBmpFiles), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), StandardPixelType)] public void ImageShouldApplyKodachromeFilter(TestImageProvider provider) where TPixel : struct, IPixel { @@ -24,7 +24,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix } [Theory] - [WithFileCollection(nameof(AllBmpFiles), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), StandardPixelType)] public void ImageShouldApplyKodachromeFilterInBox(TestImageProvider provider) where TPixel : struct, IPixel { diff --git a/tests/ImageSharp.Tests/Processing/ColorMatrix/LomographTest.cs b/tests/ImageSharp.Tests/Processing/ColorMatrix/LomographTest.cs index b0af0e6c35..146af16523 100644 --- a/tests/ImageSharp.Tests/Processing/ColorMatrix/LomographTest.cs +++ b/tests/ImageSharp.Tests/Processing/ColorMatrix/LomographTest.cs @@ -14,7 +14,7 @@ namespace ImageSharp.Tests public class LomographTest : FileTestBase { [Theory] - [WithFileCollection(nameof(AllBmpFiles), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), StandardPixelType)] public void ImageShouldApplyLomographFilter(TestImageProvider provider) where TPixel : struct, IPixel { @@ -26,7 +26,7 @@ namespace ImageSharp.Tests } [Theory] - [WithFileCollection(nameof(AllBmpFiles), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), StandardPixelType)] public void ImageShouldApplyLomographFilterInBox(TestImageProvider provider) where TPixel : struct, IPixel { diff --git a/tests/ImageSharp.Tests/Processing/ColorMatrix/PolaroidTest.cs b/tests/ImageSharp.Tests/Processing/ColorMatrix/PolaroidTest.cs index ff66407530..4304f3b457 100644 --- a/tests/ImageSharp.Tests/Processing/ColorMatrix/PolaroidTest.cs +++ b/tests/ImageSharp.Tests/Processing/ColorMatrix/PolaroidTest.cs @@ -12,7 +12,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix public class PolaroidTest : FileTestBase { [Theory] - [WithFileCollection(nameof(AllBmpFiles), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), StandardPixelType)] public void ImageShouldApplyPolaroidFilter(TestImageProvider provider) where TPixel : struct, IPixel { @@ -24,7 +24,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix } [Theory] - [WithFileCollection(nameof(AllBmpFiles), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), StandardPixelType)] public void ImageShouldApplyPolaroidFilterInBox(TestImageProvider provider) where TPixel : struct, IPixel { diff --git a/tests/ImageSharp.Tests/Processing/ColorMatrix/SaturationTest.cs b/tests/ImageSharp.Tests/Processing/ColorMatrix/SaturationTest.cs index 924b9d5d4c..fcc9656f3e 100644 --- a/tests/ImageSharp.Tests/Processing/ColorMatrix/SaturationTest.cs +++ b/tests/ImageSharp.Tests/Processing/ColorMatrix/SaturationTest.cs @@ -19,7 +19,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix }; [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(SaturationValues), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(SaturationValues), StandardPixelType)] public void ImageShouldApplySaturationFilter(TestImageProvider provider, int value) where TPixel : struct, IPixel { @@ -31,7 +31,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix } [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(SaturationValues), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(SaturationValues), StandardPixelType)] public void ImageShouldApplySaturationFilterInBox(TestImageProvider provider, int value) where TPixel : struct, IPixel { diff --git a/tests/ImageSharp.Tests/Processing/ColorMatrix/SepiaTest.cs b/tests/ImageSharp.Tests/Processing/ColorMatrix/SepiaTest.cs index cd5baa1cea..47eaa874e1 100644 --- a/tests/ImageSharp.Tests/Processing/ColorMatrix/SepiaTest.cs +++ b/tests/ImageSharp.Tests/Processing/ColorMatrix/SepiaTest.cs @@ -12,7 +12,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix public class SepiaTest : FileTestBase { [Theory] - [WithFileCollection(nameof(AllBmpFiles), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), StandardPixelType)] public void ImageShouldApplySepiaFilter(TestImageProvider provider) where TPixel : struct, IPixel { @@ -24,7 +24,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix } [Theory] - [WithFileCollection(nameof(AllBmpFiles), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), StandardPixelType)] public void ImageShouldApplySepiaFilterInBox(TestImageProvider provider) where TPixel : struct, IPixel { diff --git a/tests/ImageSharp.Tests/Processing/Convolution/BoxBlurTest.cs b/tests/ImageSharp.Tests/Processing/Convolution/BoxBlurTest.cs index 9e276fcb3d..e171dca994 100644 --- a/tests/ImageSharp.Tests/Processing/Convolution/BoxBlurTest.cs +++ b/tests/ImageSharp.Tests/Processing/Convolution/BoxBlurTest.cs @@ -19,7 +19,7 @@ namespace ImageSharp.Tests.Processing.Convolution }; [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(BoxBlurValues), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(BoxBlurValues), StandardPixelType)] public void ImageShouldApplyBoxBlurFilter(TestImageProvider provider, int value) where TPixel : struct, IPixel { @@ -31,7 +31,7 @@ namespace ImageSharp.Tests.Processing.Convolution } [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(BoxBlurValues), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(BoxBlurValues), StandardPixelType)] public void ImageShouldApplyBoxBlurFilterInBox(TestImageProvider provider, int value) where TPixel : struct, IPixel { diff --git a/tests/ImageSharp.Tests/Processing/Convolution/DetectEdgesTest.cs b/tests/ImageSharp.Tests/Processing/Convolution/DetectEdgesTest.cs index 3155a99564..b03afdb22e 100644 --- a/tests/ImageSharp.Tests/Processing/Convolution/DetectEdgesTest.cs +++ b/tests/ImageSharp.Tests/Processing/Convolution/DetectEdgesTest.cs @@ -28,7 +28,7 @@ namespace ImageSharp.Tests.Processing.Convolution }; [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(DetectEdgesFilters), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(DetectEdgesFilters), StandardPixelType)] public void ImageShouldApplyDetectEdgesFilter(TestImageProvider provider, EdgeDetection detector) where TPixel : struct, IPixel { @@ -40,7 +40,7 @@ namespace ImageSharp.Tests.Processing.Convolution } [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(DetectEdgesFilters), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(DetectEdgesFilters), StandardPixelType)] public void ImageShouldApplyDetectEdgesFilterInBox(TestImageProvider provider, EdgeDetection detector) where TPixel : struct, IPixel { diff --git a/tests/ImageSharp.Tests/Processing/Convolution/GaussianBlurTest.cs b/tests/ImageSharp.Tests/Processing/Convolution/GaussianBlurTest.cs index 8bdc588be3..d91e4089ed 100644 --- a/tests/ImageSharp.Tests/Processing/Convolution/GaussianBlurTest.cs +++ b/tests/ImageSharp.Tests/Processing/Convolution/GaussianBlurTest.cs @@ -19,7 +19,7 @@ namespace ImageSharp.Tests.Processing.Convolution }; [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(GaussianBlurValues), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(GaussianBlurValues), StandardPixelType)] public void ImageShouldApplyGaussianBlurFilter(TestImageProvider provider, int value) where TPixel : struct, IPixel { @@ -31,7 +31,7 @@ namespace ImageSharp.Tests.Processing.Convolution } [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(GaussianBlurValues), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(GaussianBlurValues), StandardPixelType)] public void ImageShouldApplyGaussianBlurFilterInBox(TestImageProvider provider, int value) where TPixel : struct, IPixel { diff --git a/tests/ImageSharp.Tests/Processing/Convolution/GaussianSharpenTest.cs b/tests/ImageSharp.Tests/Processing/Convolution/GaussianSharpenTest.cs index 0497459d70..30bb44a679 100644 --- a/tests/ImageSharp.Tests/Processing/Convolution/GaussianSharpenTest.cs +++ b/tests/ImageSharp.Tests/Processing/Convolution/GaussianSharpenTest.cs @@ -19,7 +19,7 @@ namespace ImageSharp.Tests.Processing.Convolution }; [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(GaussianSharpenValues), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(GaussianSharpenValues), StandardPixelType)] public void ImageShouldApplyGaussianSharpenFilter(TestImageProvider provider, int value) where TPixel : struct, IPixel { @@ -31,7 +31,7 @@ namespace ImageSharp.Tests.Processing.Convolution } [Theory] - [WithFileCollection(nameof(AllBmpFiles), nameof(GaussianSharpenValues), StandardPixelType)] + [WithFileCollection(nameof(DefaultFiles), nameof(GaussianSharpenValues), StandardPixelType)] public void ImageShouldApplyGaussianSharpenFilterInBox(TestImageProvider provider, int value) where TPixel : struct, IPixel {