mirror of
https://github.com/cyanfish/naps2.git
synced 2024-11-11 14:10:49 +03:00
PDF import tests WIP
This commit is contained in:
parent
04413d3ddc
commit
b3933fcc2f
@ -65,10 +65,17 @@
|
|||||||
<Compile Include="Integration\PdfSharpExporterTests.cs" />
|
<Compile Include="Integration\PdfSharpExporterTests.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="Unit\ImageFileNamerTests.cs" />
|
<Compile Include="Unit\ImageFileNamerTests.cs" />
|
||||||
|
<Compile Include="Unit\PdfSharpImporterTests.cs" />
|
||||||
<Compile Include="Unit\ScannedImageImporterTests.cs" />
|
<Compile Include="Unit\ScannedImageImporterTests.cs" />
|
||||||
<Compile Include="Unit\ScannedImageListTests.cs" />
|
<Compile Include="Unit\ScannedImageListTests.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<None Include="in\test.1p.in.pdf">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
<None Include="in\test.2p.in.pdf">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
<None Include="NAPS2.Tests.licenseheader" />
|
<None Include="NAPS2.Tests.licenseheader" />
|
||||||
<None Include="NAPS2.Tests.nunit" />
|
<None Include="NAPS2.Tests.nunit" />
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
@ -80,6 +87,17 @@
|
|||||||
<Name>NAPS2</Name>
|
<Name>NAPS2</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="in\test.1p.in.tiff">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="in\test.2p.in.tiff">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="in\test.in.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
13
NAPS2.Tests/Unit/PdfSharpImporterTests.cs
Normal file
13
NAPS2.Tests/Unit/PdfSharpImporterTests.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace NAPS2.Tests.Unit
|
||||||
|
{
|
||||||
|
class PdfSharpImporterTests
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
BIN
NAPS2.Tests/in/test.1p.in.pdf
Normal file
BIN
NAPS2.Tests/in/test.1p.in.pdf
Normal file
Binary file not shown.
BIN
NAPS2.Tests/in/test.1p.in.tiff
Normal file
BIN
NAPS2.Tests/in/test.1p.in.tiff
Normal file
Binary file not shown.
BIN
NAPS2.Tests/in/test.2p.in.pdf
Normal file
BIN
NAPS2.Tests/in/test.2p.in.pdf
Normal file
Binary file not shown.
BIN
NAPS2.Tests/in/test.2p.in.tiff
Normal file
BIN
NAPS2.Tests/in/test.2p.in.tiff
Normal file
Binary file not shown.
BIN
NAPS2.Tests/in/test.in.png
Normal file
BIN
NAPS2.Tests/in/test.in.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.9 KiB |
Loading…
Reference in New Issue
Block a user