Browse Source

removed TestBase

pull/322/head
Anton Firszov 9 years ago
parent
commit
b1ecd66ef9
  1. 2
      tests/ImageSharp.Tests/FileTestBase.cs
  2. 2
      tests/ImageSharp.Tests/Formats/Jpg/JpegUtilsTests.cs
  3. 16
      tests/ImageSharp.Tests/TestBase.cs
  4. 2
      tests/ImageSharp.Tests/TestUtilities/ImagingTestCaseUtility.cs
  5. 2
      tests/ImageSharp.Tests/TestUtilities/MeasureFixture.cs

2
tests/ImageSharp.Tests/FileTestBase.cs

@ -8,7 +8,7 @@ namespace SixLabors.ImageSharp.Tests
/// <summary>
/// The test base class for reading and writing to files.
/// </summary>
public abstract class FileTestBase : TestBase
public abstract class FileTestBase
{
/// <summary>
/// TODO: We really should not depend on this! Let's use well defined, test-case specific inputs everywhere!

2
tests/ImageSharp.Tests/Formats/Jpg/JpegUtilsTests.cs

@ -11,7 +11,7 @@ using Xunit;
// ReSharper disable InconsistentNaming
namespace SixLabors.ImageSharp.Tests
{
public class JpegUtilsTests : TestBase
public class JpegUtilsTests
{
public static Image<TPixel> CreateTestImage<TPixel>()
where TPixel : struct, IPixel<TPixel>

16
tests/ImageSharp.Tests/TestBase.cs

@ -1,16 +0,0 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.IO;
using System.Reflection;
using SixLabors.ImageSharp.Formats;
namespace SixLabors.ImageSharp.Tests
{
/// <summary>
/// The test base class. Inherit from this class for any image manipulation tests.
/// </summary>
public abstract class TestBase
{
}
}

2
tests/ImageSharp.Tests/TestUtilities/ImagingTestCaseUtility.cs

@ -16,7 +16,7 @@ namespace SixLabors.ImageSharp.Tests
/// Utility class to provide information about the test image & the test case for the test code,
/// and help managing IO.
/// </summary>
public class ImagingTestCaseUtility : TestBase
public class ImagingTestCaseUtility
{
/// <summary>
/// Name of the TPixel in the owner <see cref="TestImageProvider{TPixel}"/>

2
tests/ImageSharp.Tests/TestUtilities/MeasureFixture.cs

@ -11,7 +11,7 @@ namespace SixLabors.ImageSharp.Tests
/// <summary>
/// Utility class to measure the execution of an operation. It can be used either by inheritance or by composition.
/// </summary>
public class MeasureFixture : TestBase
public class MeasureFixture
{
/// <summary>
/// Value indicating whether priniting is enabled.

Loading…
Cancel
Save