@@ -28,7 +28,6 @@ This file is part of the iText (R) project.
2828
2929import java .io .IOException ;
3030
31- import org .junit .Assert ;
3231import org .junit .BeforeClass ;
3332import org .junit .Test ;
3433import org .junit .experimental .categories .Category ;
@@ -43,34 +42,30 @@ public static void beforeClass() {
4342 createOrClearDestinationFolder (DESTINATION_FOLDER );
4443 }
4544
46- //TODO: DEVSIX-7587 adjust approximate height calculation
4745 @ Test
4846 public void convertBasicArticleTest () throws IOException , InterruptedException {
49- Assert . assertThrows ( IllegalStateException . class , () -> convertToPdfAndCompare ("basicArticleTest" ,
47+ convertToPdfAndCompare ("basicArticleTest" ,
5048 SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true )
51- .setBaseUri (SOURCE_FOLDER ))) ;
49+ .setBaseUri (SOURCE_FOLDER ));
5250 }
5351
54- //TODO: DEVSIX-7587 adjust approximate height calculation
5552 @ Test
5653 public void convertBasicDivTest () throws IOException , InterruptedException {
57- Assert . assertThrows ( IllegalStateException . class , () -> convertToPdfAndCompare ("basicDivTest" ,
58- SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ))) ;
54+ convertToPdfAndCompare ("basicDivTest" ,
55+ SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ));
5956 }
6057
61- //TODO: DEVSIX-7587 adjust approximate height calculation
6258 @ Test
6359 public void convertBasicDivWithImageTest () throws IOException , InterruptedException {
64- Assert . assertThrows ( IllegalStateException . class , () -> convertToPdfAndCompare ("basicDivWithImageTest" ,
60+ convertToPdfAndCompare ("basicDivWithImageTest" ,
6561 SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true )
66- .setBaseUri (SOURCE_FOLDER ))) ;
62+ .setBaseUri (SOURCE_FOLDER ));
6763 }
6864
69- //TODO: DEVSIX-7587 adjust approximate height calculation
7065 @ Test
7166 public void convertBasicPTest () throws IOException , InterruptedException {
72- Assert . assertThrows ( IllegalStateException . class , () -> convertToPdfAndCompare ("basicPTest" ,
73- SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ))) ;
67+ convertToPdfAndCompare ("basicPTest" ,
68+ SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ));
7469 }
7570
7671 //TODO: DEVSIX-7592 add support for forms
@@ -80,14 +75,13 @@ public void convertBasicFormTest() throws IOException, InterruptedException {
8075 SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ));
8176 }
8277
83- //TODO: DEVSIX-7591, DEVSIX-7587
8478 @ Test
8579 public void convertBasicUlTest () throws IOException , InterruptedException {
8680 convertToPdfAndCompare ("basicUlTest" ,
8781 SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ));
8882 }
8983
90- //TODO: DEVSIX-7591, DEVSIX-7587
84+ //TODO: DEVSIX-7591
9185 @ Test
9286 public void convertBasicOlTest () throws IOException , InterruptedException {
9387 convertToPdfAndCompare ("basicOlTest" ,
@@ -97,8 +91,8 @@ public void convertBasicOlTest() throws IOException, InterruptedException {
9791 //TODO: DEVSIX-7592
9892 @ Test
9993 public void convertBasicTableTest () throws IOException , InterruptedException {
100- Assert . assertThrows ( IllegalStateException . class , () -> convertToPdfAndCompare ("basicTableTest" ,
101- SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ))) ;
94+ convertToPdfAndCompare ("basicTableTest" ,
95+ SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ));
10296 }
10397
10498 //TODO: DEVSIX-7584 add multipage support
@@ -111,8 +105,8 @@ public void convertBasicSectionTest() throws IOException, InterruptedException {
111105 //TODO: DEVSIX-7584 add multipage support
112106 @ Test
113107 public void convertBasicDivMultiPageDocumentsTest () throws IOException , InterruptedException {
114- Assert . assertThrows ( IllegalStateException . class , () -> convertToPdfAndCompare ("basicDivMultiPageTest" ,
115- SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ))) ;
108+ convertToPdfAndCompare ("basicDivMultiPageTest" ,
109+ SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ));
116110 }
117111
118112 //TODO: DEVSIX-7592 add support for forms
@@ -122,11 +116,10 @@ public void convertBasicFormMultiPageDocumentsTest() throws IOException, Interru
122116 SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ));
123117 }
124118
125- //TODO: DEVSIX-7587 adjust approximate height calculation algorithm
126119 @ Test
127120 public void convertBasicDisplayPropertyTest () throws IOException , InterruptedException {
128- Assert . assertThrows ( IllegalStateException . class , () -> convertToPdfAndCompare ("basicDisplayPropertyTest" ,
129- SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ))) ;
121+ convertToPdfAndCompare ("basicDisplayPropertyTest" ,
122+ SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ));
130123 }
131124
132125 //TODO: DEVSIX-7591
@@ -139,11 +132,10 @@ public void convertBasicDisplayPropertyWithNestedColumnsTest() throws IOExceptio
139132 //TODO: DEVSIX-7556
140133 @ Test
141134 public void convertBasicFloatPropertyTest () throws IOException , InterruptedException {
142- Assert . assertThrows ( IllegalStateException . class , () -> convertToPdfAndCompare ("basicFloatPropertyTest" ,
143- SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ))) ;
135+ convertToPdfAndCompare ("basicFloatPropertyTest" ,
136+ SOURCE_FOLDER , DESTINATION_FOLDER , false , new ConverterProperties ().setMulticolEnabled (true ));
144137 }
145138
146- //TODO: DEVSIX-7587 adjust approximate height calculation algorithm
147139 @ Test
148140 public void convertBasicFlexPropertyTest () throws IOException , InterruptedException {
149141 convertToPdfAndCompare ("basicFlexPropertyTest" ,
0 commit comments