Skip to content

Commit 824ce5a

Browse files
author
Kate Ivanova
committed
Extend iTextCore test classes
DEVSIX-3360 Autoported commit. Original commit hash: [0ed2b5b17]
1 parent 174c74b commit 824ce5a

File tree

76 files changed

+259
-106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+259
-106
lines changed

itext.tests/itext.barcodes.tests/itext/barcodes/BarcodeMultiThreadingTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ source product.
4141
4242
*/
4343
using System.Threading;
44+
using iText.Test;
4445
using NUnit.Framework;
4546

4647
namespace iText.Barcodes
4748
{
48-
public class BarcodeMultiThreadingTest
49-
{
49+
public class BarcodeMultiThreadingTest : ExtendedITextTest {
5050
[Test]
5151
public void test() {
5252
Thread[] threads = new Thread[20];

itext.tests/itext.forms.tests/itext/forms/Utf8FormsTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ source product.
5151
using iText.Test;
5252

5353
namespace iText.Forms {
54-
public class Utf8FormsTest {
54+
public class Utf8FormsTest : ExtendedITextTest {
5555
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
5656
.CurrentContext.TestDirectory) + "/resources/itext/forms/Utf8FormsTest/";
5757

itext.tests/itext.forms.tests/itext/forms/XfdfReaderTest.cs

Lines changed: 63 additions & 2 deletions
Large diffs are not rendered by default.

itext.tests/itext.io.tests/itext/io/AdobeGlyphListTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ source product.
4141
4242
*/
4343
using iText.IO.Font;
44+
using iText.Test;
4445

4546
namespace iText.IO {
46-
public class AdobeGlyphListTest {
47+
public class AdobeGlyphListTest : ExtendedITextTest {
4748
[NUnit.Framework.Test]
4849
public virtual void TestGlyphListCount() {
4950
NUnit.Framework.Assert.AreEqual(4200, AdobeGlyphList.GetNameToUnicodeLength());

itext.tests/itext.io.tests/itext/io/UtilitiesTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ source product.
4141
4242
*/
4343
using iText.IO.Util;
44+
using iText.Test;
4445

4546
namespace iText.IO {
46-
public class UtilitiesTest {
47+
public class UtilitiesTest : ExtendedITextTest {
4748
[NUnit.Framework.Test]
4849
public virtual void TestShortener() {
4950
byte[] src = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };

itext.tests/itext.io.tests/itext/io/font/FontProgramTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ source product.
4545
using System.Reflection;
4646
using iText.IO.Font.Constants;
4747
using iText.IO.Util;
48+
using iText.Test;
4849

4950
namespace iText.IO.Font {
50-
public class FontProgramTest {
51+
public class FontProgramTest : ExtendedITextTest {
5152
private const String notExistingFont = "some-font.ttf";
5253

5354
[NUnit.Framework.Test]

itext.tests/itext.io.tests/itext/io/font/otf/ActualTextIteratorTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ source product.
4141
4242
*/
4343
using iText.IO.Util;
44+
using iText.Test;
4445

4546
namespace iText.IO.Font.Otf {
46-
public class ActualTextIteratorTest {
47+
public class ActualTextIteratorTest : ExtendedITextTest {
4748
[NUnit.Framework.Test]
4849
public virtual void TestActualTestParts() {
4950
Glyph glyph = new Glyph(200, 200, '\u002d');

itext.tests/itext.io.tests/itext/io/font/otf/GlyphLineTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ source product.
4545
using System.IO;
4646
using iText.IO.Font;
4747
using iText.IO.Util;
48+
using iText.Test;
4849

4950
namespace iText.IO.Font.Otf {
50-
public class GlyphLineTest {
51+
public class GlyphLineTest : ExtendedITextTest {
5152
private static IList<Glyph> ConstructGlyphListFromString(String text, TrueTypeFont font) {
5253
IList<Glyph> glyphList = new List<Glyph>();
5354
char[] chars = text.ToCharArray();

itext.tests/itext.io.tests/itext/io/image/BmpTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ source product.
4141
4242
*/
4343
using System;
44+
using iText.Test;
4445

4546
namespace iText.IO.Image {
46-
public class BmpTest {
47+
public class BmpTest : ExtendedITextTest {
4748
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
4849
.CurrentContext.TestDirectory) + "/resources/itext/io/image/";
4950

itext.tests/itext.io.tests/itext/io/image/GifTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ source product.
4343
using System;
4444
using System.IO;
4545
using iText.IO.Util;
46+
using iText.Test;
4647

4748
namespace iText.IO.Image {
48-
public class GifTest {
49+
public class GifTest : ExtendedITextTest {
4950
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
5051
.CurrentContext.TestDirectory) + "/resources/itext/io/image/";
5152

0 commit comments

Comments
 (0)