Browse Source

Use default files.

af/merge-core
James Jackson-South 9 years ago
parent
commit
1e41088249
  1. 4
      tests/ImageSharp.Tests/Processing/Binarization/BinaryThresholdTest.cs
  2. 8
      tests/ImageSharp.Tests/Processing/Binarization/DitherTest.cs
  3. 4
      tests/ImageSharp.Tests/Processing/ColorMatrix/BlackWhiteTest.cs
  4. 4
      tests/ImageSharp.Tests/Processing/ColorMatrix/ColorBlindnessTest.cs
  5. 4
      tests/ImageSharp.Tests/Processing/ColorMatrix/KodachromeTest.cs
  6. 4
      tests/ImageSharp.Tests/Processing/ColorMatrix/LomographTest.cs
  7. 4
      tests/ImageSharp.Tests/Processing/ColorMatrix/PolaroidTest.cs
  8. 4
      tests/ImageSharp.Tests/Processing/ColorMatrix/SaturationTest.cs
  9. 4
      tests/ImageSharp.Tests/Processing/ColorMatrix/SepiaTest.cs
  10. 4
      tests/ImageSharp.Tests/Processing/Convolution/BoxBlurTest.cs
  11. 4
      tests/ImageSharp.Tests/Processing/Convolution/DetectEdgesTest.cs
  12. 4
      tests/ImageSharp.Tests/Processing/Convolution/GaussianBlurTest.cs
  13. 4
      tests/ImageSharp.Tests/Processing/Convolution/GaussianSharpenTest.cs

4
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<TPixel>(TestImageProvider<TPixel> provider, float value)
where TPixel : struct, IPixel<TPixel>
{
@ -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<TPixel>(TestImageProvider<TPixel> provider, float value)
where TPixel : struct, IPixel<TPixel>
{

8
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<TPixel>(TestImageProvider<TPixel> provider, string name, IOrderedDither ditherer)
where TPixel : struct, IPixel<TPixel>
{
@ -44,7 +44,7 @@ namespace ImageSharp.Tests
}
[Theory]
[WithFileCollection(nameof(AllBmpFiles), nameof(Ditherers), StandardPixelType)]
[WithFileCollection(nameof(DefaultFiles), nameof(Ditherers), StandardPixelType)]
public void ImageShouldApplyDitherFilterInBox<TPixel>(TestImageProvider<TPixel> provider, string name, IOrderedDither ditherer)
where TPixel : struct, IPixel<TPixel>
{
@ -64,7 +64,7 @@ namespace ImageSharp.Tests
}
[Theory]
[WithFileCollection(nameof(AllBmpFiles), nameof(ErrorDiffusers), StandardPixelType)]
[WithFileCollection(nameof(DefaultFiles), nameof(ErrorDiffusers), StandardPixelType)]
public void ImageShouldApplyDiffusionFilter<TPixel>(TestImageProvider<TPixel> provider, string name, IErrorDiffuser diffuser)
where TPixel : struct, IPixel<TPixel>
{
@ -76,7 +76,7 @@ namespace ImageSharp.Tests
}
[Theory]
[WithFileCollection(nameof(AllBmpFiles), nameof(ErrorDiffusers), StandardPixelType)]
[WithFileCollection(nameof(DefaultFiles), nameof(ErrorDiffusers), StandardPixelType)]
public void ImageShouldApplyDiffusionFilterInBox<TPixel>(TestImageProvider<TPixel> provider, string name, IErrorDiffuser diffuser)
where TPixel : struct, IPixel<TPixel>
{

4
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<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : struct, IPixel<TPixel>
{
@ -24,7 +24,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix
}
[Theory]
[WithFileCollection(nameof(AllBmpFiles), StandardPixelType)]
[WithFileCollection(nameof(DefaultFiles), StandardPixelType)]
public void ImageShouldApplyBlackWhiteFilterInBox<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : struct, IPixel<TPixel>
{

4
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<TPixel>(TestImageProvider<TPixel> provider, ColorBlindness colorBlindness)
where TPixel : struct, IPixel<TPixel>
{
@ -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<TPixel>(TestImageProvider<TPixel> provider, ColorBlindness colorBlindness)
where TPixel : struct, IPixel<TPixel>
{

4
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<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : struct, IPixel<TPixel>
{
@ -24,7 +24,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix
}
[Theory]
[WithFileCollection(nameof(AllBmpFiles), StandardPixelType)]
[WithFileCollection(nameof(DefaultFiles), StandardPixelType)]
public void ImageShouldApplyKodachromeFilterInBox<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : struct, IPixel<TPixel>
{

4
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<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : struct, IPixel<TPixel>
{
@ -26,7 +26,7 @@ namespace ImageSharp.Tests
}
[Theory]
[WithFileCollection(nameof(AllBmpFiles), StandardPixelType)]
[WithFileCollection(nameof(DefaultFiles), StandardPixelType)]
public void ImageShouldApplyLomographFilterInBox<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : struct, IPixel<TPixel>
{

4
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<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : struct, IPixel<TPixel>
{
@ -24,7 +24,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix
}
[Theory]
[WithFileCollection(nameof(AllBmpFiles), StandardPixelType)]
[WithFileCollection(nameof(DefaultFiles), StandardPixelType)]
public void ImageShouldApplyPolaroidFilterInBox<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : struct, IPixel<TPixel>
{

4
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<TPixel>(TestImageProvider<TPixel> provider, int value)
where TPixel : struct, IPixel<TPixel>
{
@ -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<TPixel>(TestImageProvider<TPixel> provider, int value)
where TPixel : struct, IPixel<TPixel>
{

4
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<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : struct, IPixel<TPixel>
{
@ -24,7 +24,7 @@ namespace ImageSharp.Tests.Processing.ColorMatrix
}
[Theory]
[WithFileCollection(nameof(AllBmpFiles), StandardPixelType)]
[WithFileCollection(nameof(DefaultFiles), StandardPixelType)]
public void ImageShouldApplySepiaFilterInBox<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : struct, IPixel<TPixel>
{

4
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<TPixel>(TestImageProvider<TPixel> provider, int value)
where TPixel : struct, IPixel<TPixel>
{
@ -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<TPixel>(TestImageProvider<TPixel> provider, int value)
where TPixel : struct, IPixel<TPixel>
{

4
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<TPixel>(TestImageProvider<TPixel> provider, EdgeDetection detector)
where TPixel : struct, IPixel<TPixel>
{
@ -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<TPixel>(TestImageProvider<TPixel> provider, EdgeDetection detector)
where TPixel : struct, IPixel<TPixel>
{

4
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<TPixel>(TestImageProvider<TPixel> provider, int value)
where TPixel : struct, IPixel<TPixel>
{
@ -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<TPixel>(TestImageProvider<TPixel> provider, int value)
where TPixel : struct, IPixel<TPixel>
{

4
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<TPixel>(TestImageProvider<TPixel> provider, int value)
where TPixel : struct, IPixel<TPixel>
{
@ -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<TPixel>(TestImageProvider<TPixel> provider, int value)
where TPixel : struct, IPixel<TPixel>
{

Loading…
Cancel
Save