Skip to content

Commit f884194

Browse files
committed
Update cmp files after update continuous container
DEVSIX-7613
1 parent 646d397 commit f884194

File tree

55 files changed

+191
-7
lines changed

Some content is hidden

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

55 files changed

+191
-7
lines changed

src/test/java/com/itextpdf/html2pdf/css/multicol/ColumnCountTest.java

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ This file is part of the iText (R) project.
2727
import com.itextpdf.test.annotations.type.IntegrationTest;
2828

2929
import java.io.IOException;
30-
3130
import org.junit.BeforeClass;
3231
import org.junit.Test;
3332
import org.junit.experimental.categories.Category;
@@ -166,4 +165,37 @@ public void marginOnlyTest() throws IOException, InterruptedException {
166165
}
167166

168167

168+
@Test
169+
public void splitInnerParagraphBetweenColumns() throws IOException, InterruptedException {
170+
convertToPdfAndCompare("splitInnerParagraphBetweenColumns",
171+
SOURCE_FOLDER, DESTINATION_FOLDER, false, new ConverterProperties().setMulticolEnabled(true));
172+
}
173+
174+
@Test
175+
public void splitInnerParagraphWithoutMarginBetweenColumns() throws IOException, InterruptedException {
176+
convertToPdfAndCompare("splitInnerParagraphWithoutMarginBetweenColumns",
177+
SOURCE_FOLDER, DESTINATION_FOLDER, false, new ConverterProperties().setMulticolEnabled(true));
178+
}
179+
180+
@Test
181+
public void splitEmptyBlockElementsBetweenColumns() throws IOException, InterruptedException {
182+
convertToPdfAndCompare("splitEmptyBlockElementsBetweenColumns",
183+
SOURCE_FOLDER, DESTINATION_FOLDER, false, new ConverterProperties().setMulticolEnabled(true));
184+
}
185+
186+
187+
@Test
188+
public void splitEmptyParagraphElementsBetweenColumns() throws IOException, InterruptedException {
189+
convertToPdfAndCompare("splitEmptyParagraphElementsBetweenColumns",
190+
SOURCE_FOLDER, DESTINATION_FOLDER, false, new ConverterProperties().setMulticolEnabled(true));
191+
}
192+
193+
194+
@Test
195+
public void splitEmptyContinuousBlockElementBetweenColumns() throws IOException, InterruptedException {
196+
convertToPdfAndCompare("splitEmptyContinuousBlockElementBetweenColumns",
197+
SOURCE_FOLDER, DESTINATION_FOLDER, false, new ConverterProperties().setMulticolEnabled(true));
198+
}
199+
200+
169201
}

src/test/java/com/itextpdf/html2pdf/css/w3c/css_multicol/MulticolSpanAll008Test.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ This file is part of the iText (R) project.
2727
import com.itextpdf.test.annotations.LogMessage;
2828
import com.itextpdf.test.annotations.LogMessages;
2929

30-
import org.junit.Ignore;
3130

32-
33-
@LogMessages(messages = @LogMessage(messageTemplate = IoLogMessageConstant.TYPOGRAPHY_NOT_FOUND, count = 13))
31+
@LogMessages(messages = @LogMessage(messageTemplate = IoLogMessageConstant.TYPOGRAPHY_NOT_FOUND, count = 5))
3432
public class MulticolSpanAll008Test extends W3CCssMulticolTest {
3533
@Override
3634
protected String getHtmlFileName() {

src/test/java/com/itextpdf/html2pdf/css/w3c/css_multicol/MulticolSpanAll011Test.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ This file is part of the iText (R) project.
2727
import com.itextpdf.test.annotations.LogMessage;
2828
import com.itextpdf.test.annotations.LogMessages;
2929

30-
import org.junit.Ignore;
3130

32-
33-
@LogMessages(messages = @LogMessage(messageTemplate = IoLogMessageConstant.TYPOGRAPHY_NOT_FOUND, count = 11))
31+
@LogMessages(messages = @LogMessage(messageTemplate = IoLogMessageConstant.TYPOGRAPHY_NOT_FOUND, count = 10))
3432
public class MulticolSpanAll011Test extends W3CCssMulticolTest {
3533
@Override
3634
protected String getHtmlFileName() {
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)