@@ -33,12 +33,14 @@ This file is part of the iText (R) project.
3333
3434import java .io .IOException ;
3535import org .junit .BeforeClass ;
36+ import org .junit .Ignore ;
3637import org .junit .Test ;
3738import org .junit .experimental .categories .Category ;
3839
3940@ Category (IntegrationTest .class )
4041public class ColumnCountTest extends ExtendedHtmlConversionITextTest {
41- public static final String SOURCE_FOLDER = "./src/test/resources/com/itextpdf/html2pdf/css/multicol/ColumnCountTest/" ;
42+ public static final String SOURCE_FOLDER = "./src/test/resources/com/itextpdf/html2pdf/css/multicol"
43+ + "/ColumnCountTest/" ;
4244 public static final String DESTINATION_FOLDER = "./target/test/com/itextpdf/html2pdf/css/multicol/ColumnCountTest/" ;
4345
4446 @ BeforeClass
@@ -266,7 +268,8 @@ public void basicOrphans2Test() throws IOException, InterruptedException {
266268
267269 @ Test
268270 @ LogMessages (messages = {
269- @ LogMessage (messageTemplate = IoLogMessageConstant .WIDOWS_CONSTRAINT_VIOLATED , logLevel = LogLevelConstants .WARN , count = 2 )
271+ @ LogMessage (messageTemplate = IoLogMessageConstant .WIDOWS_CONSTRAINT_VIOLATED , logLevel =
272+ LogLevelConstants .WARN , count = 2 )
270273 })
271274 public void basicWidows1Test () throws IOException , InterruptedException {
272275 runTest ("basicWidows1Test" );
@@ -277,6 +280,110 @@ public void basicWidows2Test() throws IOException, InterruptedException {
277280 runTest ("basicWidows2Test" );
278281 }
279282
283+ @ Test
284+ public void heightTest () throws IOException , InterruptedException {
285+ runTest ("height" );
286+ }
287+
288+ @ Test
289+ public void heightToSmallToFitAllClipped () throws IOException , InterruptedException {
290+ runTest ("heightToSmallToFitAllClipped" );
291+ }
292+
293+ @ Test
294+ public void minHeightToSmallSoEverythingShows () throws IOException , InterruptedException {
295+ runTest ("minHeightToSmallSoEverythingShows" );
296+ }
297+
298+ @ Test
299+ public void minHeightBiggerSoExtraGap () throws IOException , InterruptedException {
300+ runTest ("minHeightBiggerSoExtraGap" );
301+ }
302+
303+ @ Test
304+ public void widthTest () throws IOException , InterruptedException {
305+ runTest ("width" );
306+ }
307+
308+ @ Test
309+ @ Ignore ("DEVSIX-7630" )
310+ public void widthToBigSoOverflowsOnXAxisIntoInfinity () throws IOException , InterruptedException {
311+ runTest ("widthToBigSoOverflowsOnXAxisIntoInfinity" );
312+ }
313+
314+ @ Test
315+ public void minWidthBigJustOverflows () throws IOException , InterruptedException {
316+ runTest ("minWidthBigJustOverflows" );
317+ }
318+
319+ @ Test
320+ public void minWidthContained () throws IOException , InterruptedException {
321+ runTest ("minWidthToLittleSoJustNormalWidth" );
322+ }
323+
324+ @ Test
325+ public void maxWidthToBig () throws IOException , InterruptedException {
326+ runTest ("maxWidthToBig" );
327+ }
328+
329+ @ Test
330+ public void maxWidthToSmall () throws IOException , InterruptedException {
331+ runTest ("maxWidthToSmall" );
332+ }
333+
334+ @ Test
335+ @ Ignore ("DEVSIX-7630" )
336+ public void widthToBigWrapped () throws IOException , InterruptedException {
337+ runTest ("widthToBigWrapped" );
338+ }
339+
340+ @ Test
341+ public void maxWidthToBigWrapped () throws IOException , InterruptedException {
342+ runTest ("maxWidthToBigWrapped" );
343+ }
344+
345+ @ Test
346+ public void multiColLimitedArea () throws IOException , InterruptedException {
347+ runTest ("multicolLimitedArea" );
348+ }
349+
350+ @ Test
351+ public void multiColLimitedArea2 () throws IOException , InterruptedException {
352+ runTest ("multicolLimitedArea2" );
353+ }
354+
355+ @ Test
356+ @ Ignore ("DEVSIX-7630" )
357+ public void multiColLimitedArea3 () throws IOException , InterruptedException {
358+ runTest ("multicolLimitedArea3" );
359+ }
360+
361+ @ Test
362+ public void multiColLimitedArea4 () throws IOException , InterruptedException {
363+ runTest ("multicolLimitedArea4" );
364+ }
365+
366+ @ Test
367+ public void multipleAttributes () throws IOException , InterruptedException {
368+ runTest ("multiple_attributes" );
369+ }
370+
371+ @ Test
372+ public void multipleAttributes1 () throws IOException , InterruptedException {
373+ runTest ("multiple_attributes1" );
374+ }
375+
376+ @ Test
377+ public void multipleAttributes2 () throws IOException , InterruptedException {
378+ runTest ("multiple_attributes2" );
379+ }
380+
381+ @ Test
382+ @ Ignore ("DEVSIX-7630" )
383+ public void heightMultiPage () throws IOException , InterruptedException {
384+ runTest ("height_multipage" );
385+ }
386+
280387 private void runTest (String testName ) throws IOException , InterruptedException {
281388 convertToPdfAndCompare (testName ,
282389 SOURCE_FOLDER , DESTINATION_FOLDER , false ,
0 commit comments