Skip to content

Commit b4b1ea6

Browse files
BlackEgoistars18wrw
authored andcommitted
Update page margin tests
DEVSIX-3406 Autoported commit. Original commit hash: [4779219]
1 parent c7c8ef9 commit b4b1ea6

File tree

207 files changed

+284
-98
lines changed

Some content is hidden

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

207 files changed

+284
-98
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,5 +335,10 @@ public virtual void NegativeMarginsTest() {
335335
public virtual void HugeImageTest() {
336336
ConvertToPdfAndCompare("hugeImageTest", sourceFolder, destinationFolder);
337337
}
338+
339+
[NUnit.Framework.Test]
340+
public virtual void PageMarginFont() {
341+
ConvertToPdfAndCompare("pageMarginFont", sourceFolder, destinationFolder);
342+
}
338343
}
339344
}

itext.tests/itext.html2pdf.tests/itext/html2pdf/css/media/page/fix_dimension/PageMarginBoxFixDimensionTest.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,5 +167,10 @@ public virtual void LeftFixCenterAndBottomTest() {
167167
public virtual void LeftFixTopAndFixCenterAndBottomTest() {
168168
ConvertToPdfAndCompare("leftFixTopAndFixCenterAndBottom", sourceFolder, destinationFolder);
169169
}
170+
171+
[NUnit.Framework.Test]
172+
public virtual void PageMarginFont() {
173+
ConvertToPdfAndCompare("pageMarginFont", sourceFolder, destinationFolder);
174+
}
170175
}
171176
}

itext.tests/itext.html2pdf.tests/itext/html2pdf/css/media/page/max_dimension/PageMarginBoxMaxDimensionTest.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,10 @@ public virtual void LeftMaxCenterAndBottomTest() {
127127
public virtual void LeftMaxTopAndMaxCenterAndBottomTest() {
128128
ConvertToPdfAndCompare("leftMaxTopAndMaxCenterAndBottom", sourceFolder, destinationFolder);
129129
}
130+
131+
[NUnit.Framework.Test]
132+
public virtual void PageMarginFont() {
133+
ConvertToPdfAndCompare("pageMarginFont", sourceFolder, destinationFolder);
134+
}
130135
}
131136
}

itext.tests/itext.html2pdf.tests/itext/html2pdf/css/media/page/min_dimension/PageMarginBoxMinDimensionTest.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,10 @@ public virtual void LeftMinCenterAndBottomTest() {
107107
public virtual void LeftMinTopAndMinCenterAndBottomTest() {
108108
ConvertToPdfAndCompare("leftMinTopAndMinCenterAndBottom", sourceFolder, destinationFolder);
109109
}
110+
111+
[NUnit.Framework.Test]
112+
public virtual void PageMarginFont() {
113+
ConvertToPdfAndCompare("pageMarginFont", sourceFolder, destinationFolder);
114+
}
110115
}
111116
}

itext.tests/itext.html2pdf.tests/resources/itext/html2pdf/css/media/page/PageMarginBoxIntegrationTest/allFixedWithMBPTest.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
@page
88
{
99
size: A4 portrait;
10-
font-family: FreeSans;
1110
color: #2d2d2d;
1211

1312
margin: 200px;

itext.tests/itext.html2pdf.tests/resources/itext/html2pdf/css/media/page/PageMarginBoxIntegrationTest/bottomCenterAndRight.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
@page
88
{
99
size: A4 portrait;
10-
font-family: FreeSans;
1110
color: #2d2d2d;
1211

1312
margin-top: 100px;

itext.tests/itext.html2pdf.tests/resources/itext/html2pdf/css/media/page/PageMarginBoxIntegrationTest/bottomLeftAndCenter.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
@page
88
{
99
size: A4 portrait;
10-
font-family: FreeSans;
1110
color: #2d2d2d;
1211

1312
margin-top: 100px;

itext.tests/itext.html2pdf.tests/resources/itext/html2pdf/css/media/page/PageMarginBoxIntegrationTest/bottomLeftAndCenterAndRight.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
@page
88
{
99
size: A4 portrait;
10-
font-family: FreeSans;
1110
color: #2d2d2d;
1211

1312
margin-top: 100px;

itext.tests/itext.html2pdf.tests/resources/itext/html2pdf/css/media/page/PageMarginBoxIntegrationTest/bottomLeftAndRight.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
@page
88
{
99
size: A4 portrait;
10-
font-family: FreeSans;
1110
color: #2d2d2d;
1211

1312
margin-top: 100px;

itext.tests/itext.html2pdf.tests/resources/itext/html2pdf/css/media/page/PageMarginBoxIntegrationTest/bottomOnlyCenter.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
@page
88
{
99
size: A4 portrait;
10-
font-family: FreeSans;
1110
color: #2d2d2d;
1211

1312
margin-top: 100px;

0 commit comments

Comments
 (0)