File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed
itext.tests/itext.html2pdf.tests/itext/html2pdf/css Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -159,11 +159,15 @@ public virtual void W3cProblemTest01() {
159
159
}
160
160
161
161
[ NUnit . Framework . Test ]
162
- [ NUnit . Framework . Ignore ( "DEVSIX-1612" ) ]
163
162
public virtual void W3cProblemTest02 ( ) {
164
- //TODO: In w3c test suite this font is labeled as invalid though and its loading failed in browser, though iText parses its as correct one and LOADS!
165
- //See DirectoryTableOrder002Test in io for decompression details
166
- RunTest ( "w3cProblemTest02" ) ;
163
+ try {
164
+ RunTest ( "w3cProblemTest02" ) ;
165
+ }
166
+ catch ( OverflowException ) {
167
+ return ;
168
+ }
169
+ NUnit . Framework . Assert . Fail ( "In w3c test suite this font is labeled as invalid, " + "so the invalid negative value is expected while creating a glyph."
170
+ ) ;
167
171
}
168
172
169
173
[ NUnit . Framework . Test ]
@@ -197,11 +201,15 @@ public virtual void W3cProblemTest06() {
197
201
}
198
202
199
203
[ NUnit . Framework . Test ]
200
- [ NUnit . Framework . Ignore ( "DEVSIX-1612" ) ]
201
204
public virtual void W3cProblemTest07 ( ) {
202
- //TODO: In w3c test suite this font is labeled as invalid though and its loading failed in browser, though iText parses its as correct one and LOADS!
203
- //See ValidationOff012Test in io for decompression details
204
- RunTest ( "w3cProblemTest07" ) ;
205
+ try {
206
+ RunTest ( "w3cProblemTest07" ) ;
207
+ }
208
+ catch ( OverflowException ) {
209
+ return ;
210
+ }
211
+ NUnit . Framework . Assert . Fail ( "In w3c test suite this font is labeled as invalid, " + "so the invalid negative value is expected while creating a glyph."
212
+ ) ;
205
213
}
206
214
207
215
[ NUnit . Framework . Test ]
Original file line number Diff line number Diff line change 1
- ebcc0068f2306b285f815c317860c7c57472d1ad
1
+ 8f0f20e8bf9904fc0dcea6c5fb96f009ef066fb2
You can’t perform that action at this time.
0 commit comments