[Tests] Enable implict usings

This commit is contained in:
Jason Nelson 2024-03-15 11:34:24 -07:00 committed by BobLd
parent 4e1c7930b7
commit 1d2777d59a
183 changed files with 27 additions and 495 deletions

View File

@ -1,7 +1,6 @@
namespace UglyToad.PdfPig.Tests.ContentStream
{
using PdfPig.Core;
using Xunit;
public class IndirectReferenceTests
{

View File

@ -1,8 +1,6 @@
namespace UglyToad.PdfPig.Tests.Core
{
using System.Collections.Generic;
using UglyToad.PdfPig.Core;
using Xunit;
public class PdfSubpathTests
{

View File

@ -1,8 +1,6 @@
namespace UglyToad.PdfPig.Tests.Core
{
using System.Collections.Generic;
using PdfPig.Core;
using Xunit;
public class TransformationMatrixTests
{

View File

@ -1,10 +1,6 @@
namespace UglyToad.PdfPig.Tests.Dla
{
using System;
using System.Collections.Generic;
using System.Linq;
using UglyToad.PdfPig.DocumentLayoutAnalysis;
using Xunit;
public class ArraySegmentExtensionsTests
{

View File

@ -1,9 +1,7 @@
namespace UglyToad.PdfPig.Tests.Dla
{
using System.Collections.Generic;
using UglyToad.PdfPig.Core;
using UglyToad.PdfPig.DocumentLayoutAnalysis;
using Xunit;
public class DistancesTest
{

View File

@ -1,8 +1,5 @@
namespace UglyToad.PdfPig.Tests.Dla
{
using System;
using System.IO;
internal static class DlaHelper
{
public static string GetDocumentPath(string name, bool isPdf = true)

View File

@ -1,11 +1,8 @@
namespace UglyToad.PdfPig.Tests.Dla
{
using System.Collections.Generic;
using System.Linq;
using UglyToad.PdfPig.DocumentLayoutAnalysis.PageSegmenter;
using UglyToad.PdfPig.DocumentLayoutAnalysis.WordExtractor;
using UglyToad.PdfPig.Fonts.SystemFonts;
using Xunit;
public class DocstrumBoundingBoxesTests
{

View File

@ -1,9 +1,7 @@
namespace UglyToad.PdfPig.Tests.Dla
{
using System.Collections.Generic;
using UglyToad.PdfPig.Core;
using UglyToad.PdfPig.DocumentLayoutAnalysis;
using Xunit;
public class KdTreeTests
{

View File

@ -1,10 +1,7 @@
namespace UglyToad.PdfPig.Tests.Dla
{
using System.Collections.Generic;
using System.Linq;
using UglyToad.PdfPig.DocumentLayoutAnalysis;
using Xunit;
public class MathExtensionsTests
{
private static readonly DoubleComparer DoubleComparer = new DoubleComparer(3);

View File

@ -1,8 +1,6 @@
namespace UglyToad.PdfPig.Tests.Dla
{
using System.Linq;
using UglyToad.PdfPig.DocumentLayoutAnalysis.WordExtractor;
using Xunit;
public class NearestNeighbourWordExtractorTests
{

View File

@ -1,11 +1,8 @@
namespace UglyToad.PdfPig.Tests.Dla
{
using System.Collections.Generic;
using System.Linq;
using UglyToad.PdfPig.DocumentLayoutAnalysis.PageSegmenter;
using UglyToad.PdfPig.DocumentLayoutAnalysis.WordExtractor;
using Xunit;
public class RecursiveXYCutTests
{
public static IEnumerable<object[]> DataExtract => new[]

View File

@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
namespace UglyToad.PdfPig.Tests
namespace UglyToad.PdfPig.Tests
{
internal class DoubleComparer : IEqualityComparer<double>
{

View File

@ -1,6 +1,4 @@
using Xunit;
namespace UglyToad.PdfPig.Tests.Encryption
namespace UglyToad.PdfPig.Tests.Encryption
{
using PdfPig.Core;
using PdfPig.Encryption;

View File

@ -1,9 +1,7 @@
namespace UglyToad.PdfPig.Tests.Encryption
{
using System.Linq;
using PdfPig.Encryption;
using PdfPig.Tokens;
using Xunit;
public class RC4Tests
{

View File

@ -1,11 +1,8 @@
namespace UglyToad.PdfPig.Tests.Filters
{
using System;
using System.Collections.Generic;
using System.Text;
using PdfPig.Filters;
using PdfPig.Tokens;
using Xunit;
public class Ascii85FilterTests
{

View File

@ -1,12 +1,9 @@
namespace UglyToad.PdfPig.Tests.Filters
{
using System;
using System.Collections.Generic;
using System.Text;
using PdfPig.Filters;
using PdfPig.Tokens;
using Xunit;
public class AsciiHexDecodeFilterTests
{
private readonly DictionaryToken dictionary = new DictionaryToken(new Dictionary<NameToken, IToken>());

View File

@ -1,7 +1,6 @@
namespace UglyToad.PdfPig.Tests.Filters
{
using PdfPig.Filters;
using Xunit;
public class BitStreamTests
{

View File

@ -1,10 +1,8 @@
namespace UglyToad.PdfPig.Tests.Filters
{
using System.Collections.Generic;
using UglyToad.PdfPig.Filters;
using UglyToad.PdfPig.Tests.Images;
using UglyToad.PdfPig.Tokens;
using Xunit;
public class CcittFaxDecodeFilterTests
{

View File

@ -1,10 +1,7 @@
namespace UglyToad.PdfPig.Tests.Filters
{
using System;
using System.Collections.Generic;
using PdfPig.Tokens;
using PdfPig.Filters;
using Xunit;
public class DecodeParameterResolverTests
{

View File

@ -1,10 +1,7 @@
namespace UglyToad.PdfPig.Tests.Filters
{
using System.Collections.Generic;
using System.IO;
using PdfPig.Filters;
using PdfPig.Tokens;
using Xunit;
public class FlateFilterTests
{

View File

@ -1,9 +1,7 @@
namespace UglyToad.PdfPig.Tests.Filters
{
using System.Collections.Generic;
using PdfPig.Filters;
using PdfPig.Tokens;
using Xunit;
public class RunLengthFilterTests
{

View File

@ -1,9 +1,7 @@
namespace UglyToad.PdfPig.Tests.Fonts
{
using System.Text;
using PdfPig.Core;
using PdfPig.Geometry;
using Xunit;
using System.Text;
public class CharacterPathTests
{

View File

@ -1,9 +1,7 @@
namespace UglyToad.PdfPig.Tests.Fonts.CidFonts
{
using System.Collections.Generic;
using PdfFonts.CidFonts;
using PdfPig.Geometry;
using Xunit;
public class VerticalWritingMetricsTests
{

View File

@ -1,9 +1,7 @@
// ReSharper disable ObjectCreationAsStatement
namespace UglyToad.PdfPig.Tests.Fonts.Cmap
{
using System;
using PdfFonts.Cmap;
using Xunit;
public class CidRangeTests
{

View File

@ -1,13 +1,10 @@
namespace UglyToad.PdfPig.Tests.Fonts.Cmap
{
using System;
using System.Linq;
using PdfFonts.Cmap;
using PdfPig.Tokens;
using UglyToad.PdfPig.Core;
using UglyToad.PdfPig.PdfFonts.Parser.Parts;
using UglyToad.PdfPig.Tokenization.Scanner;
using Xunit;
public class CodespaceRangeTests
{

View File

@ -1,10 +1,6 @@
namespace UglyToad.PdfPig.Tests.Fonts.CompactFontFormat
{
using System;
using System.IO;
using System.Linq;
using PdfPig.Fonts.CompactFontFormat;
using Xunit;
public class CompactFontFormatParserTests
{

View File

@ -3,8 +3,6 @@
using PdfPig.Fonts.CompactFontFormat;
using PdfPig.Fonts.CompactFontFormat.Charsets;
using PdfPig.Fonts.CompactFontFormat.CharStrings;
using System;
using Xunit;
public class Type2CharStringParserTests
{

View File

@ -1,9 +1,6 @@
namespace UglyToad.PdfPig.Tests.Fonts.Encodings
{
using System;
using System.IO;
using PdfPig.Fonts;
using Xunit;
public class GlyphListFactoryTests
{

View File

@ -1,8 +1,6 @@
namespace UglyToad.PdfPig.Tests.Fonts.Encodings
{
using System.Collections.Generic;
using PdfPig.Fonts;
using Xunit;
public class GlyphListTests
{

View File

@ -1,10 +1,7 @@
namespace UglyToad.PdfPig.Tests.Fonts.Parser
{
using System;
using System.IO;
using PdfPig.Core;
using PdfPig.Fonts.AdobeFontMetrics;
using Xunit;
public class AdobeFontMetricsParserTests
{

View File

@ -1,11 +1,8 @@
namespace UglyToad.PdfPig.Tests.Fonts.Parser
{
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using PdfFonts.Parser;
using PdfPig.Core;
using Xunit;
public class CMapParserTests
{

View File

@ -3,7 +3,6 @@
using PdfFonts.Cmap;
using PdfFonts.Parser.Parts;
using PdfPig.Tokens;
using Xunit;
public class BaseFontRangeParserTests
{

View File

@ -1,7 +1,6 @@
namespace UglyToad.PdfPig.Tests.Fonts
{
using UglyToad.PdfPig.Tests.Dla;
using Xunit;
public class PointSizeTests
{

View File

@ -1,7 +1,6 @@
namespace UglyToad.PdfPig.Tests.Fonts
{
using PdfPig.Fonts.Standard14Fonts;
using Xunit;
public class Standard14Tests
{

View File

@ -1,7 +1,5 @@
using System.Collections.Generic;
using UglyToad.PdfPig.Fonts.SystemFonts;
using UglyToad.PdfPig.Fonts.SystemFonts;
using UglyToad.PdfPig.Tests.Dla;
using Xunit;
namespace UglyToad.PdfPig.Tests.Fonts.SystemFonts
{

View File

@ -5,11 +5,9 @@ namespace UglyToad.PdfPig.Tests.Fonts.TrueType.Parser
using PdfPig.Fonts.TrueType;
using PdfPig.Fonts.TrueType.Parser;
using PdfPig.Fonts.TrueType.Tables;
using System;
using System.Globalization;
using System.Text;
using System.Text.RegularExpressions;
using Xunit;
public class TrueTypeFontParserTests
{

View File

@ -1,11 +1,8 @@
namespace UglyToad.PdfPig.Tests.Fonts.TrueType.Tables
{
using System.IO;
using System.Linq;
using PdfPig.Core;
using PdfPig.Fonts.TrueType;
using PdfPig.Fonts.TrueType.Parser;
using Xunit;
public class Os2TableTests
{

View File

@ -1,12 +1,8 @@
namespace UglyToad.PdfPig.Tests.Fonts.TrueType
{
using System;
using System.IO;
using System.Linq;
using PdfPig.Core;
using PdfPig.Fonts.TrueType;
using PdfPig.Fonts.TrueType.Parser;
using Xunit;
public class TrueTypeChecksumCalculatorTests
{

View File

@ -2,7 +2,6 @@
{
using PdfPig.Core;
using PdfPig.Fonts.TrueType;
using Xunit;
public class TrueTypeDataBytesTests
{

View File

@ -1,8 +1,5 @@
namespace UglyToad.PdfPig.Tests.Fonts.TrueType
{
using System;
using System.IO;
internal static class TrueTypeTestHelper
{
public static byte[] GetFileBytes(string name)

View File

@ -1,7 +1,6 @@
namespace UglyToad.PdfPig.Tests.Fonts.Type1
{
using UglyToad.PdfPig.Core;
using Xunit;
using Integration;
public class Type1CharStringParserTests

View File

@ -1,13 +1,8 @@
namespace UglyToad.PdfPig.Tests.Fonts.Type1
{
using System;
using System.IO;
using System.Linq;
using System.Text;
using PdfPig.Core;
using PdfPig.Fonts.Type1.Parser;
using PdfPig.Geometry;
using Xunit;
public class Type1FontParserTests
{

View File

@ -1,13 +1,9 @@
namespace UglyToad.PdfPig.Tests.Functions
{
using System;
using System.Collections.Generic;
using System.Linq;
using UglyToad.PdfPig.Functions;
using UglyToad.PdfPig.Tests.Tokens;
using UglyToad.PdfPig.Tokens;
using UglyToad.PdfPig.Util;
using Xunit;
public class PdfFunctionType0Tests
{

View File

@ -1,13 +1,10 @@
namespace UglyToad.PdfPig.Tests.Functions
{
using System.Collections.Generic;
using System.Linq;
using UglyToad.PdfPig.Functions;
using UglyToad.PdfPig.Tests.Tokens;
using UglyToad.PdfPig.Tokens;
using UglyToad.PdfPig.Util;
using Xunit;
public class PdfFunctionType2Tests
{
private static PdfFunctionType2 CreateFunction(double[] domain, double[] range, double[] c0, double[] c1, double n)

View File

@ -1,9 +1,5 @@
namespace UglyToad.PdfPig.Tests.Functions
{
using System;
using System.Collections.Generic;
using System.Text;
public class PdfFunctionType3Tests
{
// TODO

View File

@ -1,14 +1,11 @@
namespace UglyToad.PdfPig.Tests.Functions
{
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UglyToad.PdfPig.Functions;
using UglyToad.PdfPig.Tests.Tokens;
using UglyToad.PdfPig.Tokens;
using UglyToad.PdfPig.Util;
using Xunit;
public class PdfFunctionType4Tests
{
private static PdfFunctionType4 CreateFunction(string function, double[] domain, double[] range)

View File

@ -1,8 +1,6 @@
namespace UglyToad.PdfPig.Tests.Functions.Type4
{
using System;
using UglyToad.PdfPig.Functions.Type4;
using Xunit;
public class OperatorsTests
{

View File

@ -1,7 +1,5 @@
namespace UglyToad.PdfPig.Tests.Functions.Type4
{
using Xunit;
public class ParserTests
{
/// <summary>

View File

@ -1,9 +1,7 @@
namespace UglyToad.PdfPig.Tests.Functions.Type4
{
using System;
using System.Globalization;
using UglyToad.PdfPig.Functions.Type4;
using Xunit;
/// <summary>
/// Testing helper class for testing type 4 functions from the PDF specification.

View File

@ -1,9 +1,7 @@
namespace UglyToad.PdfPig.Tests.Geometry
{
using System.Collections.Generic;
using UglyToad.PdfPig.Core;
using UglyToad.PdfPig.Geometry;
using Xunit;
using static UglyToad.PdfPig.Core.PdfSubpath;
public class BezierCurveTests

View File

@ -1,5 +1,4 @@
using UglyToad.PdfPig.Tests.Integration;
using Xunit;
namespace UglyToad.PdfPig.Tests.Geometry
{

View File

@ -2,8 +2,6 @@
{
using PdfPig.Core;
using PdfPig.Geometry;
using System.Collections.Generic;
using Xunit;
public class PdfLineTests
{

View File

@ -1,10 +1,8 @@
namespace UglyToad.PdfPig.Tests.Geometry
{
using System.Linq;
using UglyToad.PdfPig.Core;
using UglyToad.PdfPig.Geometry;
using UglyToad.PdfPig.Tests.Integration;
using Xunit;
public class PdfPathExtensionsTests
{

View File

@ -1,10 +1,7 @@
namespace UglyToad.PdfPig.Tests.Geometry
{
using PdfPig.Core;
using System.Collections.Generic;
using System.Linq;
using UglyToad.PdfPig.Geometry;
using Xunit;
public class PdfPointTests
{

View File

@ -3,8 +3,6 @@
using Content;
using PdfPig.Geometry;
using PdfPig.Core;
using Xunit;
using System.Collections.Generic;
using System.Drawing;
public class PdfRectangleTests

View File

@ -1,9 +1,7 @@
namespace UglyToad.PdfPig.Tests.Geometry
{
using System.Collections.Generic;
using UglyToad.PdfPig.Core;
using UglyToad.PdfPig.Geometry;
using Xunit;
using static UglyToad.PdfPig.Core.PdfSubpath;
public class PdfSubpathLineTests

View File

@ -1,7 +1,6 @@
namespace UglyToad.PdfPig.Tests.Geometry
{
using PdfPig.Geometry;
using Xunit;
public class PdfVectorTests
{

View File

@ -4,7 +4,6 @@
using PdfPig.Core;
using PdfPig.Geometry;
using PdfPig.Graphics;
using Xunit;
public class ContentStreamProcessorTests
{

View File

@ -1,7 +1,6 @@
namespace UglyToad.PdfPig.Tests.Graphics.Operations.General
{
using PdfPig.Graphics.Operations.General;
using Xunit;
public class SetMiterLimitTests
{

View File

@ -1,14 +1,9 @@
namespace UglyToad.PdfPig.Tests.Graphics.Operations
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using PdfPig.Graphics.Operations;
using PdfPig.Graphics.Operations.InlineImages;
using PdfPig.Tokens;
using Xunit;
public class GraphicsStateOperationTests
{

View File

@ -1,9 +1,7 @@
namespace UglyToad.PdfPig.Tests.Graphics.Operations.SpecialGraphicsState
{
using System;
using PdfPig.Graphics;
using PdfPig.Graphics.Operations.SpecialGraphicsState;
using Xunit;
public class PopTests
{

View File

@ -1,7 +1,6 @@
namespace UglyToad.PdfPig.Tests.Graphics.Operations.SpecialGraphicsState
{
using PdfPig.Graphics.Operations.SpecialGraphicsState;
using Xunit;
public class PushTests
{

View File

@ -1,9 +1,7 @@
namespace UglyToad.PdfPig.Tests.Graphics.Operations.TextState
{
using System;
using PdfPig.Graphics.Operations.TextState;
using PdfPig.Tokens;
using Xunit;
public class SetFontAndSizeTests
{

View File

@ -1,13 +1,11 @@
namespace UglyToad.PdfPig.Tests.Graphics
{
using System.Collections.Generic;
using Content;
using Logging;
using PdfFonts;
using PdfPig.Graphics;
using PdfPig.Tokens;
using PdfPig.Core;
using System;
using Tokens;
using UglyToad.PdfPig.Graphics.Core;
using UglyToad.PdfPig.Graphics.Operations.TextPositioning;

View File

@ -1,10 +1,7 @@
namespace UglyToad.PdfPig.Tests.IO
{
using System.IO;
using System.Linq;
using PdfPig.Core;
using Xunit;
public class InputBytesTests
{
private const string TestData = @"123456789";

View File

@ -1,6 +1,5 @@
namespace UglyToad.PdfPig.Tests.Images
{
using System;
using System.IO;
using System.IO.Compression;
using UglyToad.PdfPig.Images.Png;

View File

@ -1,18 +1,12 @@
namespace UglyToad.PdfPig.Tests.Images
{
using System;
using System.IO;
using Xunit;
using JpegHandler = UglyToad.PdfPig.Images.JpegHandler;
public class JpegHandlerTests
{
{
[Fact]
public void CanGetJpegInformation()
{
var dataJpg = LoadJpg("218995467-ccb746b0-dc28-4616-bcb1-4ad685f81876.jpg");
using (var ms = new MemoryStream(dataJpg))
@ -23,9 +17,7 @@
Assert.Equal(2290, jpegInfo.Height);
Assert.Equal(1648, jpegInfo.Width);
}
}
}
private static byte[] LoadJpg(string name)
{

View File

@ -1,10 +1,7 @@
namespace UglyToad.PdfPig.Tests.Images
{
using System.Collections.Generic;
using System.Linq;
using UglyToad.PdfPig.Graphics.Colors;
using UglyToad.PdfPig.Images.Png;
using Xunit;
public class PngFromPdfImageFactoryTests
{

View File

@ -1,8 +1,5 @@
namespace UglyToad.PdfPig.Tests.Integration;
using System.Linq;
using Xunit;
public class AccentedCharactersInBookmarksTests
{
[Fact]

View File

@ -1,9 +1,6 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.Linq;
using AcroForms.Fields;
using Xunit;
public class AcroFormsBasicFieldsTests
{

View File

@ -1,8 +1,6 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using PdfPig.Tokens;
using System.Collections.Generic;
using Xunit;
public class AdvancedPdfDocumentAccessTests
{

View File

@ -1,14 +1,10 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
using UglyToad.PdfPig.DocumentLayoutAnalysis.Export;
using UglyToad.PdfPig.DocumentLayoutAnalysis.PageSegmenter;
using UglyToad.PdfPig.Util;
using Xunit;
public class AltoXmlTextExporterTests
{

View File

@ -1,8 +1,6 @@
namespace UglyToad.PdfPig.Tests.Integration;
using Annotations;
using System.Linq;
using Xunit;
public class AnnotationReplyToTests
{

View File

@ -1,8 +1,6 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using Actions;
using System.Linq;
using Xunit;
public class AnnotationsTest
{

View File

@ -1,9 +1,7 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.Globalization;
using Content;
using Xunit;
public class AssertablePositionData
{

View File

@ -1,8 +1,6 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System.Linq;
using Annotations;
using Xunit;
public class CatGeneticsTests
{

View File

@ -1,12 +1,8 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.IO;
using System.Linq;
using UglyToad.PdfPig.Content;
using UglyToad.PdfPig.DocumentLayoutAnalysis.WordExtractor;
using UglyToad.PdfPig.Graphics.Colors;
using Xunit;
public class ColorSpaceTests
{

View File

@ -2,7 +2,6 @@
{
using PdfPig.Core;
using PdfPig.Tokens;
using Xunit;
public class DocumentInformationTests
{

View File

@ -1,7 +1,5 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using Xunit;
public class EmbeddedFileAttachmentTests
{
[Fact]

View File

@ -2,8 +2,6 @@
{
using PdfPig.Core;
using PdfPig.Geometry;
using System.Linq;
using Xunit;
public class EncodingsTests
{

View File

@ -1,9 +1,6 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.Collections.Generic;
using Exceptions;
using Xunit;
public class EncryptedDocumentTests
{

View File

@ -1,8 +1,5 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System.Linq;
using Xunit;
public class FarmerMacTests
{
private static string GetFilename()

View File

@ -1,12 +1,7 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using UglyToad.PdfPig.Content;
using Xunit;
public class FontDescriptorTests
{

View File

@ -1,10 +1,6 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.IO;
using System.Linq;
using Content;
using Xunit;
public class FontSizeTestFromGoogleChromeTests
{

View File

@ -1,10 +1,6 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.IO;
using System.Linq;
using Content;
using Xunit;
public class FontSizeTestFromLibreOfficeTests
{

View File

@ -1,7 +1,5 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using Xunit;
public class GamebookTests
{
[Fact]

View File

@ -1,13 +1,10 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.IO;
using System.Text;
using System.Xml;
using UglyToad.PdfPig.DocumentLayoutAnalysis.Export;
using UglyToad.PdfPig.DocumentLayoutAnalysis.PageSegmenter;
using UglyToad.PdfPig.Util;
using Xunit;
public class HOcrTextExporterTests
{

View File

@ -1,8 +1,5 @@
namespace UglyToad.PdfPig.Tests.Integration;
using System.Linq;
using Xunit;
public class IndexedPageSummaryFileTests
{
private static string GetFilename()

View File

@ -1,11 +1,5 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
public class IntegrationDocumentTests
{
private static readonly Lazy<string> DocumentFolder = new Lazy<string>(() => Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "..", "..", "..", "Integration", "Documents")));

View File

@ -1,8 +1,5 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.IO;
internal static class IntegrationHelpers
{
public static string GetDocumentPath(string name, bool isPdf = true)

View File

@ -1,7 +1,5 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using Xunit;
public class InvalidObjectLoopTests
{
[Fact]

View File

@ -1,8 +1,5 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using Xunit;
public class InvalidOperatorTests
{
[Fact]

View File

@ -1,9 +1,6 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System.IO;
using System.Linq;
using Content;
using Xunit;
public class JudgementDocumentTests
{

View File

@ -2,13 +2,8 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using PdfPig.Core;
using DocumentLayoutAnalysis.Export;
using Xunit;
public class LaTexTests
{

View File

@ -1,8 +1,5 @@
namespace UglyToad.PdfPig.Tests.Integration;
using System.Linq;
using Xunit;
public class LittlePigInArmenianTests
{
[Fact]

View File

@ -1,9 +1,6 @@
namespace UglyToad.PdfPig.Tests.Integration
{
//using System;
//using System.Diagnostics;
//using System.IO;
//using Xunit;
/// <summary>
/// A class for testing files which are not checked in to source control.

View File

@ -1,5 +1,4 @@
using UglyToad.PdfPig.Content;
using Xunit;
namespace UglyToad.PdfPig.Tests.Integration
{

View File

@ -1,7 +1,5 @@
namespace UglyToad.PdfPig.Tests.Integration;
using Xunit;
public class Math119FakingDataTests
{
[Fact]
@ -13,6 +11,5 @@ public class Math119FakingDataTests
var words = lastPage.GetWords();
}
}

View File

@ -1,11 +1,6 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Content;
using Xunit;
public class MultiplePageMortalityStatisticsTests
{

View File

@ -1,13 +1,9 @@
namespace UglyToad.PdfPig.Tests.Integration
{
using System;
using System.IO;
using System.Linq;
using UglyToad.PdfPig.Content;
using UglyToad.PdfPig.Outline;
using UglyToad.PdfPig.Outline.Destinations;
using UglyToad.PdfPig.Writer;
using Xunit;
public class NonAsciiCharactersBookmarksTests
{

Some files were not shown because too many files have changed in this diff Show More