Skip to content

Commit 7a50598

Browse files
committed
[RELEASE] iText 7 pdfSweep 3.0.2
2 parents 4435ebd + 2d65055 commit 7a50598

File tree

54 files changed

+184
-69
lines changed

Some content is hidden

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

54 files changed

+184
-69
lines changed

doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
3232
# title of most generated pages and in a few other places.
3333
# The default value is: My Project.
3434

35-
PROJECT_NAME = "pdfSweep 3.0.1 API"
35+
PROJECT_NAME = "pdfSweep 3.0.2 API"
3636

3737
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
3838
# could be handy for archiving the generated documentation or if some version

itext.tests/itext.cleanup.tests/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
[assembly: AssemblyConfiguration("")]
88
[assembly: AssemblyCompany("iText Group NV")]
99
[assembly: AssemblyProduct("iText")]
10-
[assembly: AssemblyCopyright("Copyright (c) 1998-2022 iText Group NV")]
10+
[assembly: AssemblyCopyright("Copyright (c) 1998-2023 iText Group NV")]
1111
[assembly: AssemblyTrademark("")]
1212
[assembly: AssemblyCulture("")]
1313

1414
[assembly: ComVisible(false)]
1515

1616
[assembly: Guid("647c862e-d837-4901-8e7b-68f5f8bf8f34")]
1717

18-
[assembly: AssemblyVersion("3.0.1.0")]
19-
[assembly: AssemblyFileVersion("3.0.1.0")]
20-
[assembly: AssemblyInformationalVersion("3.0.1")]
18+
[assembly: AssemblyVersion("3.0.2.0")]
19+
[assembly: AssemblyFileVersion("3.0.2.0")]
20+
[assembly: AssemblyInformationalVersion("3.0.2")]
2121

2222
[assembly: NUnit.Framework.Timeout(300000)]

itext.tests/itext.cleanup.tests/itext.cleanup.tests.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939
<Reference Include="System.Core" />
4040
</ItemGroup>
4141
<ItemGroup>
42-
<ProjectReference Include="..\..\..\itextcore\itext\itext.io\itext.io.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.io\itext.io.netstandard.csproj')" />
43-
<PackageReference Include="itext7" Version="7.2.3" Condition="!Exists('..\..\..\itextcore\itext\itext.io\itext.io.netstandard.csproj')" />
44-
<ProjectReference Include="..\..\..\itextcore\itext\itext.kernel\itext.kernel.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.kernel\itext.kernel.netstandard.csproj')" />
45-
<ProjectReference Include="..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.netstandard.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.netstandard.csproj')" />
46-
<PackageReference Include="itext7.pdftest" Version="7.2.3" Condition="!Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.netstandard.csproj')" />
42+
<ProjectReference Include="..\..\..\itextcore\itext\itext.io\itext.io.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.io\itext.io.csproj')" />
43+
<PackageReference Include="itext7" Version="7.2.5" Condition="!Exists('..\..\..\itextcore\itext\itext.io\itext.io.csproj')" />
44+
<ProjectReference Include="..\..\..\itextcore\itext\itext.kernel\itext.kernel.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.kernel\itext.kernel.csproj')" />
45+
<ProjectReference Include="..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj" Condition="Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj')" />
46+
<PackageReference Include="itext7.pdftest" Version="7.2.5" Condition="!Exists('..\..\..\itextcore\itext\itext.pdftest\itext.pdftest.csproj')" />
4747
<ProjectReference Include="..\..\itext\itext.cleanup\itext.cleanup.csproj" />
4848
</ItemGroup>
4949
</Project>

itext.tests/itext.cleanup.tests/itext/pdfcleanup/BigDocumentAutoCleanUpTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is free software; you can redistribute it and/or modify
@@ -53,6 +53,7 @@ source product.
5353
using iText.Test;
5454

5555
namespace iText.PdfCleanup {
56+
[NUnit.Framework.Category("IntegrationTest")]
5657
public class BigDocumentAutoCleanUpTest : ExtendedITextTest {
5758
private static readonly String inputPath = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
5859
.CurrentContext.TestDirectory) + "/resources/itext/pdfcleanup/BigDocumentAutoCleanUpTest/";

itext.tests/itext.cleanup.tests/itext/pdfcleanup/BigDocumentCleanUpTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is free software; you can redistribute it and/or modify
@@ -50,6 +50,7 @@ source product.
5050
using iText.Test.Attributes;
5151

5252
namespace iText.PdfCleanup {
53+
[NUnit.Framework.Category("IntegrationTest")]
5354
public class BigDocumentCleanUpTest : ExtendedITextTest {
5455
private static readonly String inputPath = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
5556
.CurrentContext.TestDirectory) + "/resources/itext/pdfcleanup/BigDocumentCleanUpTest/";

itext.tests/itext.cleanup.tests/itext/pdfcleanup/CleanUpAnnotationTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is free software; you can redistribute it and/or modify
@@ -52,6 +52,7 @@ source product.
5252
using iText.Test.Attributes;
5353

5454
namespace iText.PdfCleanup {
55+
[NUnit.Framework.Category("IntegrationTest")]
5556
public class CleanUpAnnotationTest : ExtendedITextTest {
5657
private static readonly String inputPath = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
5758
.CurrentContext.TestDirectory) + "/resources/itext/pdfcleanup/CleanUpAnnotationTest/";

itext.tests/itext.cleanup.tests/itext/pdfcleanup/CleanUpCsCompareUtilTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is offered under a commercial and under the AGPL license.

itext.tests/itext.cleanup.tests/itext/pdfcleanup/CleanUpImageUtilTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is offered under a commercial and under the AGPL license.
@@ -29,6 +29,7 @@ You should have received a copy of the GNU Affero General Public License
2929
using iText.Test;
3030

3131
namespace iText.PdfCleanup {
32+
[NUnit.Framework.Category("IntegrationTest")]
3233
public class CleanUpImageUtilTest : ExtendedITextTest {
3334
private static readonly String SOURCE_PATH = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
3435
.CurrentContext.TestDirectory) + "/resources/itext/pdfcleanup/CleanupImageHandlingUtilTest/";

itext.tests/itext.cleanup.tests/itext/pdfcleanup/CleanUpInvalidPdfTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is offered under a commercial and under the AGPL license.
@@ -27,6 +27,7 @@ You should have received a copy of the GNU Affero General Public License
2727
using iText.Test;
2828

2929
namespace iText.PdfCleanup {
30+
[NUnit.Framework.Category("IntegrationTest")]
3031
public class CleanUpInvalidPdfTest : ExtendedITextTest {
3132
private static readonly String inputPath = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
3233
.CurrentContext.TestDirectory) + "/resources/itext/pdfcleanup/CleanUpInvalidPdfTest/";

itext.tests/itext.cleanup.tests/itext/pdfcleanup/CleanUpTaggedPdfTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is free software; you can redistribute it and/or modify
@@ -47,6 +47,7 @@ source product.
4747
using iText.Test;
4848

4949
namespace iText.PdfCleanup {
50+
[NUnit.Framework.Category("IntegrationTest")]
5051
public class CleanUpTaggedPdfTest : ExtendedITextTest {
5152
private static readonly String inputPath = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
5253
.CurrentContext.TestDirectory) + "/resources/itext/pdfcleanup/CleanUpTaggedPdfTest/";

itext.tests/itext.cleanup.tests/itext/pdfcleanup/CleanupLicenseEventsTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is offered under a commercial and under the AGPL license.
@@ -39,6 +39,7 @@ You should have received a copy of the GNU Affero General Public License
3939
using iText.Test;
4040

4141
namespace iText.PdfCleanup {
42+
[NUnit.Framework.Category("IntegrationTest")]
4243
public class CleanupLicenseEventsTest : ExtendedITextTest {
4344
private static readonly String INPUT_PATH = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
4445
.CurrentContext.TestDirectory) + "/resources/itext/pdfcleanup/PdfCleanUpToolTest/";

itext.tests/itext.cleanup.tests/itext/pdfcleanup/FilteredImagesCacheTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is free software; you can redistribute it and/or modify
@@ -49,6 +49,7 @@ source product.
4949
using iText.Test;
5050

5151
namespace iText.PdfCleanup {
52+
[NUnit.Framework.Category("IntegrationTest")]
5253
public class FilteredImagesCacheTest : ExtendedITextTest {
5354
private static readonly String inputPath = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
5455
.CurrentContext.TestDirectory) + "/resources/itext/pdfcleanup/FilteredImagesCacheTest/";

itext.tests/itext.cleanup.tests/itext/pdfcleanup/PdfAutoSweepToolsTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is free software; you can redistribute it and/or modify
@@ -50,6 +50,7 @@ source product.
5050
using iText.Test;
5151

5252
namespace iText.PdfCleanup {
53+
[NUnit.Framework.Category("IntegrationTest")]
5354
public class PdfAutoSweepToolsTest : ExtendedITextTest {
5455
private static readonly String INPUT_PATH = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
5556
.CurrentContext.TestDirectory) + "/resources/itext/pdfcleanup/PdfAutoSweepTest/";

itext.tests/itext.cleanup.tests/itext/pdfcleanup/PdfCleanUpFilterUnitTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is free software; you can redistribute it and/or modify
@@ -44,6 +44,7 @@ source product.
4444
using iText.Test;
4545

4646
namespace iText.PdfCleanup {
47+
[NUnit.Framework.Category("UnitTest")]
4748
public class PdfCleanUpFilterUnitTest : ExtendedITextTest {
4849
[NUnit.Framework.Test]
4950
public virtual void CheckIfRectanglesIntersect_completelyCoveredBasic() {

itext.tests/itext.cleanup.tests/itext/pdfcleanup/PdfCleanUpProcessorUnitTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is offered under a commercial and under the AGPL license.
@@ -30,6 +30,7 @@ You should have received a copy of the GNU Affero General Public License
3030
using iText.Test;
3131

3232
namespace iText.PdfCleanup {
33+
[NUnit.Framework.Category("UnitTest")]
3334
public class PdfCleanUpProcessorUnitTest : ExtendedITextTest {
3435
[NUnit.Framework.Test]
3536
public virtual void AreColorSpacesDifferentForJavaNullValuesTest() {

itext.tests/itext.cleanup.tests/itext/pdfcleanup/PdfCleanUpToolTest.cs

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is free software; you can redistribute it and/or modify
@@ -58,6 +58,7 @@ source product.
5858
using iText.Test.Attributes;
5959

6060
namespace iText.PdfCleanup {
61+
[NUnit.Framework.Category("IntegrationTest")]
6162
public class PdfCleanUpToolTest : ExtendedITextTest {
6263
private static readonly String INPUT_PATH = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
6364
.CurrentContext.TestDirectory) + "/resources/itext/pdfcleanup/PdfCleanUpToolTest/";
@@ -948,6 +949,22 @@ public virtual void LineArtsDrawingOnCanvasTest() {
948949
CompareByContent(cmp, output, OUTPUT_PATH, "diff_lineArtsDrawingOnCanvasTest_");
949950
}
950951

952+
[NUnit.Framework.Test]
953+
public virtual void CheckUnSupportedImageTypeTest() {
954+
String input = INPUT_PATH + "UnsupportedImageType.pdf";
955+
String output = OUTPUT_PATH + "UnsupportedImageType.pdf";
956+
PdfDocument pdfDocument = new PdfDocument(new PdfReader(input), new PdfWriter(output, new WriterProperties
957+
()));
958+
iText.PdfCleanup.PdfCleanUpTool workingTool = new iText.PdfCleanup.PdfCleanUpTool(pdfDocument);
959+
int pageIndex = 1;
960+
Rectangle area = pdfDocument.GetPage(pageIndex).GetPageSize();
961+
workingTool.AddCleanupLocation(new iText.PdfCleanup.PdfCleanUpLocation(pageIndex, area));
962+
Exception e = NUnit.Framework.Assert.Catch(typeof(Exception), () => workingTool.CleanUp());
963+
NUnit.Framework.Assert.AreEqual(CleanupExceptionMessageConstant.UNSUPPORTED_IMAGE_TYPE.ToLowerInvariant(),
964+
e.Message.ToLowerInvariant());
965+
pdfDocument.Close();
966+
}
967+
951968
private void CleanUp(String input, String output, IList<iText.PdfCleanup.PdfCleanUpLocation> cleanUpLocations
952969
) {
953970
PdfDocument pdfDocument = new PdfDocument(new PdfReader(input), new PdfWriter(output));

itext.tests/itext.cleanup.tests/itext/pdfcleanup/PdfCleanUpToolWithInlineImagesTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is free software; you can redistribute it and/or modify
@@ -52,6 +52,7 @@ source product.
5252
using iText.Test.Attributes;
5353

5454
namespace iText.PdfCleanup {
55+
[NUnit.Framework.Category("IntegrationTest")]
5556
public class PdfCleanUpToolWithInlineImagesTest : ExtendedITextTest {
5657
private static readonly String inputPath = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
5758
.CurrentContext.TestDirectory) + "/resources/itext/pdfcleanup/PdfCleanUpToolWithInlineImagesTest/";
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
/*
2+
This file is part of the iText (R) project.
3+
Copyright (c) 1998-2023 iText Group NV
4+
Authors: iText Software.
5+
6+
This program is offered under a commercial and under the AGPL license.
7+
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
8+
9+
AGPL licensing:
10+
This program is free software: you can redistribute it and/or modify
11+
it under the terms of the GNU Affero General Public License as published by
12+
the Free Software Foundation, either version 3 of the License, or
13+
(at your option) any later version.
14+
15+
This program is distributed in the hope that it will be useful,
16+
but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+
GNU Affero General Public License for more details.
19+
20+
You should have received a copy of the GNU Affero General Public License
21+
along with this program. If not, see <https://www.gnu.org/licenses/>.
22+
*/
23+
using System;
24+
using System.IO;
25+
using iText.Kernel.Colors;
26+
using iText.Kernel.Geom;
27+
using iText.Kernel.Pdf;
28+
using iText.Kernel.Pdf.Canvas;
29+
using iText.Kernel.Utils;
30+
using iText.Test;
31+
32+
namespace iText.PdfCleanup {
33+
[NUnit.Framework.Category("IntegrationTest")]
34+
public class RectangleTest : ExtendedITextTest {
35+
private static readonly String SOURCE_FOLDER = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
36+
.CurrentContext.TestDirectory) + "/resources/itext/pdfcleanup/RectangleTest/";
37+
38+
private static readonly String DESTINATION_FOLDER = NUnit.Framework.TestContext.CurrentContext.TestDirectory
39+
+ "/test/itext/pdfcleanup/RectangleTest/";
40+
41+
[NUnit.Framework.OneTimeSetUp]
42+
public static void BeforeClass() {
43+
CreateDestinationFolder(DESTINATION_FOLDER);
44+
}
45+
46+
[NUnit.Framework.Test]
47+
public virtual void ZeroWidthLineTest() {
48+
// TODO DEVSIX-7136 Rectangles drawn with zero-width line disappear on sweeping
49+
String outPdf = DESTINATION_FOLDER + "zeroWidthLine.pdf";
50+
String cmpPdf = SOURCE_FOLDER + "cmp_zeroWidthLine.pdf";
51+
MemoryStream outDocBaos = new MemoryStream();
52+
using (PdfDocument pdfDocument = new PdfDocument(new PdfWriter(outDocBaos))) {
53+
PdfPage page = pdfDocument.AddNewPage();
54+
PdfCanvas canvas = new PdfCanvas(page);
55+
canvas.SetStrokeColor(DeviceRgb.BLUE).SetLineWidth(0).Rectangle(new Rectangle(350, 400, 100, 100)).Stroke(
56+
);
57+
canvas.SetStrokeColor(DeviceRgb.RED).SetLineWidth(0).MoveTo(100, 100).LineTo(100, 200).LineTo(200, 200).LineTo
58+
(200, 100).ClosePath().Stroke();
59+
}
60+
PdfDocument pdfDocument_1 = new PdfDocument(new PdfReader(new MemoryStream(outDocBaos.ToArray())), new PdfWriter
61+
(outPdf));
62+
iText.PdfCleanup.PdfCleanUpTool workingTool = new iText.PdfCleanup.PdfCleanUpTool(pdfDocument_1);
63+
Rectangle area = new Rectangle(0, 50, 150, 150);
64+
workingTool.AddCleanupLocation(new iText.PdfCleanup.PdfCleanUpLocation(1, area, ColorConstants.RED));
65+
workingTool.CleanUp();
66+
pdfDocument_1.Close();
67+
NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER, "diff_"
68+
));
69+
}
70+
}
71+
}

itext.tests/itext.cleanup.tests/itext/pdfcleanup/TextPositioningTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is offered under a commercial and under the AGPL license.
@@ -30,6 +30,7 @@ You should have received a copy of the GNU Affero General Public License
3030
using iText.Test;
3131

3232
namespace iText.PdfCleanup {
33+
[NUnit.Framework.Category("UnitTest")]
3334
public class TextPositioningTest : ExtendedITextTest {
3435
public const float EPS = 0.0001F;
3536

itext.tests/itext.cleanup.tests/itext/pdfcleanup/images/CleanUpImageIndexedColorSpaceTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of the iText (R) project.
3-
Copyright (c) 1998-2022 iText Group NV
3+
Copyright (c) 1998-2023 iText Group NV
44
Authors: iText Software.
55
66
This program is offered under a commercial and under the AGPL license.
@@ -29,6 +29,7 @@ You should have received a copy of the GNU Affero General Public License
2929
using iText.Test;
3030

3131
namespace iText.PdfCleanup.Images {
32+
[NUnit.Framework.Category("IntegrationTest")]
3233
public class CleanUpImageIndexedColorSpaceTest : ExtendedITextTest {
3334
private static readonly String inputPath = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
3435
.CurrentContext.TestDirectory) + "/resources/itext/pdfcleanup/images/CleanUpImageIndexedColorSpaceTest/";

0 commit comments

Comments
 (0)