Skip to content

Commit 7a1689a

Browse files
LodrKumquatpavel-alay
authored andcommitted
Fix bug in distribution, add tests
DEVSIX-1050 Autoported commit. Original commit hash: [53e35005]
1 parent c4b5edd commit 7a1689a

File tree

67 files changed

+322
-109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+322
-109
lines changed

itext.tests/itext.html2pdf.tests/itext/html2pdf/css/media/page/PageMarginBoxIntegrationTest.cs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,5 +375,33 @@ public virtual void LargeFixedSidesNoMiddleTest() {
375375
public virtual void AllFixedWithMBPTest() {
376376
ConvertToPdfAndCompare("allFixedWithMBPTest", sourceFolder, destinationFolder);
377377
}
378+
379+
/// <exception cref="System.IO.IOException"/>
380+
/// <exception cref="System.Exception"/>
381+
[NUnit.Framework.Test]
382+
public virtual void PercentageVerticalTest() {
383+
ConvertToPdfAndCompare("percentageVerticalTest", sourceFolder, destinationFolder);
384+
}
385+
386+
/// <exception cref="System.IO.IOException"/>
387+
/// <exception cref="System.Exception"/>
388+
[NUnit.Framework.Test]
389+
public virtual void CornerPrecisionTest() {
390+
ConvertToPdfAndCompare("cornerPrecisionTest", sourceFolder, destinationFolder);
391+
}
392+
393+
/// <exception cref="System.IO.IOException"/>
394+
/// <exception cref="System.Exception"/>
395+
[NUnit.Framework.Test]
396+
public virtual void NegativeMarginsTest() {
397+
ConvertToPdfAndCompare("negativeMarginsTest", sourceFolder, destinationFolder);
398+
}
399+
400+
/// <exception cref="System.IO.IOException"/>
401+
/// <exception cref="System.Exception"/>
402+
[NUnit.Framework.Test]
403+
public virtual void HugeImageTest() {
404+
ConvertToPdfAndCompare("hugeImageTest", sourceFolder, destinationFolder);
405+
}
378406
}
379407
}

0 commit comments

Comments
 (0)