diff --git a/src/UglyToad.PdfPig.Tests/Integration/LocalTests.cs b/src/UglyToad.PdfPig.Tests/Integration/LocalTests.cs index 253fc776..a5fa7ac1 100644 --- a/src/UglyToad.PdfPig.Tests/Integration/LocalTests.cs +++ b/src/UglyToad.PdfPig.Tests/Integration/LocalTests.cs @@ -1,39 +1,39 @@ namespace UglyToad.PdfPig.Tests.Integration { - using System; - using System.Diagnostics; - using System.IO; - using Xunit; + //using System; + //using System.Diagnostics; + //using System.IO; + //using Xunit; /// /// A class for testing files which are not checked in to source control. /// public class LocalTests { - [Fact] - public void Tests() - { - var files = Directory.GetFiles(@"C:\temp\pdfs", "*.pdf"); + //[Fact] + //public void Tests() + //{ + // var files = Directory.GetFiles(@"C:\temp\pdfs", "*.pdf"); - foreach (var file in files) - { - try - { - using (var document = PdfDocument.Open(file, new ParsingOptions { UseLenientParsing = false })) - { - for (var i = 1; i <= document.NumberOfPages; i++) - { - var page = document.GetPage(i); - var text = page.Text; - Trace.WriteLine(text); - } - } - } - catch (Exception ex) - { - throw new InvalidOperationException($"Error parsing: {Path.GetFileName(file)}.", ex); - } - } - } + // foreach (var file in files) + // { + // try + // { + // using (var document = PdfDocument.Open(file, new ParsingOptions { UseLenientParsing = false })) + // { + // for (var i = 1; i <= document.NumberOfPages; i++) + // { + // var page = document.GetPage(i); + // var text = page.Text; + // Trace.WriteLine(text); + // } + // } + // } + // catch (Exception ex) + // { + // throw new InvalidOperationException($"Error parsing: {Path.GetFileName(file)}.", ex); + // } + // } + //} } -} +} \ No newline at end of file