Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit eb6cf613 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

add testcase to reproduce bug

parent d1cd24ba
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@
using System.IO;
using System.Linq;
using iTextSharp.text.pdf;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TUGraz.VectoCore.InputData.FileIO.JSON;
using TUGraz.VectoCore.Models.Simulation.Impl;
......@@ -71,6 +72,8 @@ namespace TUGraz.VectoCore.Tests.Integration
Assert.IsTrue(File.Exists(@"TestData\Jobs\job-report.vsum"));
Assert.IsTrue(File.Exists(@"TestData\Jobs\job-report.pdf"));
var pdf = new PdfReader(@"TestData\Jobs\job-report.pdf");
Assert.AreEqual(4, pdf.NumberOfPages);
}
}
}
\ No newline at end of file
......@@ -35,6 +35,10 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="itextsharp, Version=5.5.7.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\iTextSharp.5.5.7\lib\itextsharp.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment