File tree Expand file tree Collapse file tree 3 files changed +17
-11
lines changed
itext.io.tests/itext/io/font/woff2/w3c/format
itext.svg.tests/itext/svg/processors/impl/font Expand file tree Collapse file tree 3 files changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,7 @@ source product.
44
44
using iText . IO . Font . Woff2 . W3c ;
45
45
46
46
namespace iText . IO . Font . Woff2 . W3c . Format {
47
- [ NUnit . Framework . Ignore ( "DEVSIX-1612: different result in java and C#" ) ]
48
47
public class DirectoryTableOrder002Test : W3CWoff2DecodeTest {
49
- //NOTE: Should be invalid by w3c test suite spec. See w3cProblemTest02 in html font-face test for more details.
50
48
protected internal override String GetFontName ( ) {
51
49
return "directory-table-order-002" ;
52
50
}
Original file line number Diff line number Diff line change @@ -138,11 +138,15 @@ public virtual void W3cProblemTest01() {
138
138
}
139
139
140
140
[ NUnit . Framework . Test ]
141
- [ NUnit . Framework . Ignore ( "DEVSIX-1612" ) ]
142
141
public virtual void W3cProblemTest02 ( ) {
143
- //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!
144
- //See DirectoryTableOrder002Test in io for decompression details
145
- RunTest ( "w3cProblemTest02" ) ;
142
+ try {
143
+ RunTest ( "w3cProblemTest02" ) ;
144
+ }
145
+ catch ( OverflowException ) {
146
+ return ;
147
+ }
148
+ 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."
149
+ ) ;
146
150
}
147
151
148
152
[ NUnit . Framework . Test ]
@@ -176,11 +180,15 @@ public virtual void W3cProblemTest06() {
176
180
}
177
181
178
182
[ NUnit . Framework . Test ]
179
- [ NUnit . Framework . Ignore ( "DEVSIX-1612" ) ]
180
183
public virtual void W3cProblemTest07 ( ) {
181
- //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!
182
- //See ValidationOff012Test in io for decompression details
183
- RunTest ( "w3cProblemTest07" ) ;
184
+ try {
185
+ RunTest ( "w3cProblemTest07" ) ;
186
+ }
187
+ catch ( OverflowException ) {
188
+ return ;
189
+ }
190
+ 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."
191
+ ) ;
184
192
}
185
193
186
194
[ NUnit . Framework . Test ]
Original file line number Diff line number Diff line change 1
- 8c64bac2d21ffb918af4f0d40f9864f787bf5e30
1
+ aa483b464480ef8a7a1f14c2675b90b03ded5ba9
You can’t perform that action at this time.
0 commit comments