Skip to content

Commit bca2cdd

Browse files
Snipxitext-teamcity
authored andcommitted
Remove unnecessary checked exception from test methods
Autoported commit. Original commit hash: [a4a5c5426]
1 parent 729e1ab commit bca2cdd

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

itext.tests/itext.pdfa.tests/itext/pdfa/PdfAFontTest.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ public static void BeforeClass() {
6464
}
6565

6666
/// <exception cref="System.IO.IOException"/>
67-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
6867
/// <exception cref="System.Exception"/>
6968
[NUnit.Framework.Test]
7069
public virtual void FontCheckPdfA1_01() {
@@ -84,7 +83,6 @@ public virtual void FontCheckPdfA1_01() {
8483
}
8584

8685
/// <exception cref="System.IO.IOException"/>
87-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
8886
[NUnit.Framework.Test]
8987
public virtual void FontCheckPdfA1_02() {
9088
NUnit.Framework.Assert.That(() => {
@@ -104,7 +102,6 @@ public virtual void FontCheckPdfA1_02() {
104102
}
105103

106104
/// <exception cref="System.IO.IOException"/>
107-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
108105
/// <exception cref="System.Exception"/>
109106
[NUnit.Framework.Test]
110107
public virtual void FontCheckPdfA1_03() {
@@ -125,7 +122,6 @@ public virtual void FontCheckPdfA1_03() {
125122
}
126123

127124
/// <exception cref="System.IO.IOException"/>
128-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
129125
[NUnit.Framework.Test]
130126
public virtual void FontCheckPdfA1_04() {
131127
NUnit.Framework.Assert.That(() => {
@@ -145,7 +141,6 @@ public virtual void FontCheckPdfA1_04() {
145141
}
146142

147143
/// <exception cref="System.IO.IOException"/>
148-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
149144
/// <exception cref="System.Exception"/>
150145
[NUnit.Framework.Test]
151146
public virtual void FontCheckPdfA1_05() {
@@ -166,7 +161,6 @@ public virtual void FontCheckPdfA1_05() {
166161
}
167162

168163
/// <exception cref="System.IO.IOException"/>
169-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
170164
/// <exception cref="System.Exception"/>
171165
[NUnit.Framework.Test]
172166
public virtual void FontCheckPdfA2_01() {
@@ -187,7 +181,6 @@ public virtual void FontCheckPdfA2_01() {
187181
}
188182

189183
/// <exception cref="System.IO.IOException"/>
190-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
191184
/// <exception cref="System.Exception"/>
192185
[NUnit.Framework.Test]
193186
public virtual void FontCheckPdfA3_01() {
@@ -207,7 +200,6 @@ public virtual void FontCheckPdfA3_01() {
207200
CompareResult(outPdf, cmpPdf);
208201
}
209202

210-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
211203
/// <exception cref="System.IO.IOException"/>
212204
/// <exception cref="System.Exception"/>
213205
[NUnit.Framework.Test]
@@ -228,7 +220,6 @@ public virtual void CidFontCheckTest1() {
228220
CompareResult(outPdf, cmpPdf);
229221
}
230222

231-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
232223
/// <exception cref="System.IO.IOException"/>
233224
/// <exception cref="System.Exception"/>
234225
[NUnit.Framework.Test]
@@ -249,7 +240,6 @@ public virtual void CidFontCheckTest2() {
249240
CompareResult(outPdf, cmpPdf);
250241
}
251242

252-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
253243
/// <exception cref="System.IO.IOException"/>
254244
/// <exception cref="System.Exception"/>
255245
[NUnit.Framework.Test]
@@ -270,7 +260,6 @@ public virtual void CidFontCheckTest3() {
270260
CompareResult(outPdf, cmpPdf);
271261
}
272262

273-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
274263
/// <exception cref="System.IO.IOException"/>
275264
/// <exception cref="System.Exception"/>
276265
[NUnit.Framework.Test]
@@ -280,7 +269,6 @@ public virtual void SymbolicTtfCharEncodingsPdfA1Test01() {
280269
.PDF_A_1B);
281270
}
282271

283-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
284272
/// <exception cref="System.IO.IOException"/>
285273
/// <exception cref="System.Exception"/>
286274
[NUnit.Framework.Test]
@@ -290,7 +278,6 @@ public virtual void SymbolicTtfCharEncodingsPdfA1Test02() {
290278
.PDF_A_1B);
291279
}
292280

293-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
294281
/// <exception cref="System.IO.IOException"/>
295282
/// <exception cref="System.Exception"/>
296283
[NUnit.Framework.Test]
@@ -304,7 +291,6 @@ public virtual void SymbolicTtfCharEncodingsPdfA1Test03() {
304291
;
305292
}
306293

307-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
308294
/// <exception cref="System.IO.IOException"/>
309295
/// <exception cref="System.Exception"/>
310296
[NUnit.Framework.Test]
@@ -314,7 +300,6 @@ public virtual void NonSymbolicTtfCharEncodingsPdfA1Test01() {
314300
PdfAConformanceLevel.PDF_A_1B);
315301
}
316302

317-
/// <exception cref="iText.Kernel.XMP.XMPException"/>
318303
/// <exception cref="System.IO.IOException"/>
319304
/// <exception cref="System.Exception"/>
320305
[NUnit.Framework.Test]

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
44b3cafc8830deba7512a8cbbac88adfd0679363
1+
a4a5c5426c8217b196037f8a0d32220f12858b89

0 commit comments

Comments
 (0)