Skip to content

Commit c4b5edd

Browse files
rnadvodnypavel-alay
authored andcommitted
Don't create renderer with zero dimension. Update cmp
DEVSIX-1050 Autoported commit. Original commit hash: [bc11ab68]
1 parent dbf106b commit c4b5edd

31 files changed

+91
-74
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using iText.Html2pdf;
3-
using iText.Test.Attributes;
43

54
namespace iText.Html2pdf.Css.Media.Page {
65
public class PageMarginBoxIntegrationTest : ExtendedHtmlConversionITextTest {
@@ -237,7 +236,6 @@ public virtual void RightTopAndCenterAndBottomTest() {
237236
}
238237

239238
//Edge-case test
240-
// TODO testing here
241239
/// <exception cref="System.IO.IOException"/>
242240
/// <exception cref="System.Exception"/>
243241
[NUnit.Framework.Test]
@@ -332,7 +330,6 @@ public virtual void SmallFixedTopLeftRightTest() {
332330
/// <exception cref="System.IO.IOException"/>
333331
/// <exception cref="System.Exception"/>
334332
[NUnit.Framework.Test]
335-
[LogMessage(iText.IO.LogMessageConstant.RECTANGLE_HAS_NEGATIVE_OR_ZERO_SIZES, Count = 4)]
336333
public virtual void LargeFixedCenterRegularSidesLeftRightTest() {
337334
ConvertToPdfAndCompare("largeFixedCenterRegularSidesLeftRightTest", sourceFolder, destinationFolder);
338335
}
@@ -375,8 +372,8 @@ public virtual void LargeFixedSidesNoMiddleTest() {
375372
/// <exception cref="System.IO.IOException"/>
376373
/// <exception cref="System.Exception"/>
377374
[NUnit.Framework.Test]
378-
public virtual void TwoPagesTest() {
379-
ConvertToPdfAndCompare("twoPagesTest", sourceFolder, destinationFolder);
375+
public virtual void AllFixedWithMBPTest() {
376+
ConvertToPdfAndCompare("allFixedWithMBPTest", sourceFolder, destinationFolder);
380377
}
381378
}
382379
}

0 commit comments

Comments
 (0)