Skip to content

Commit

Permalink
Merge branch 'develop' into devsecops
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-ivanov committed Nov 4, 2023
2 parents 8576b35 + 5a1b059 commit 3b594df
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ public virtual void TestRGBSeparationCSWithDCTDecoderAndFunctionType0() {

[NUnit.Framework.Test]
public virtual void TestRGBSeparationCSWithFlateDecoderAndFunctionType0() {
// Android-Conversion-Ignore-Test (TODO DEVSIX-6445 fix different DeflaterOutputStream behavior)
TestFile("RGBFlateF0.pdf", "Im1", "png");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Pdfa;

namespace iText.Pdfa {
// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Category("IntegrationTest")]
public class PdfA1AnnotationCheckTest : ExtendedITextTest {
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Pdfa;

namespace iText.Pdfa {
// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Category("IntegrationTest")]
public class PdfA2AnnotationCheckTest : ExtendedITextTest {
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Pdfa;

namespace iText.Pdfa {
// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Category("IntegrationTest")]
public class PdfA2OCPropertiesTest : ExtendedITextTest {
public static readonly String SOURCE_FOLDER = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Pdfa;

namespace iText.Pdfa {
// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Category("IntegrationTest")]
public class PdfA4ActionCheckTest : ExtendedITextTest {
private static readonly String SOURCE_FOLDER = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Pdfa;

namespace iText.Pdfa {
// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Category("IntegrationTest")]
public class PdfA4GraphicsCheckTest : ExtendedITextTest {
public static readonly String SOURCE_FOLDER = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Pdfa;

namespace iText.Pdfa {
// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Category("IntegrationTest")]
public class PdfA4MiscCheckTest : ExtendedITextTest {
public static readonly String SOURCE_FOLDER = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Pdfa;

namespace iText.Pdfa {
// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Category("IntegrationTest")]
public class PdfA4TransparencyCheckTest : ExtendedITextTest {
public static readonly String SOURCE_FOLDER = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
Expand Down
10 changes: 10 additions & 0 deletions itext.tests/itext.pdfa.tests/itext/pdfa/PdfAFormFieldTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Pdfa;

namespace iText.Pdfa {
// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Category("IntegrationTest")]
public class PdfAFormFieldTest : ExtendedITextTest {
public static readonly String SOURCE_FOLDER = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
Expand Down Expand Up @@ -127,6 +128,7 @@ public virtual void PdfA1DocWithPdfA1ButtonFieldTest() {
NUnit.Framework.Assert.IsNull(new VeraPdfValidator().Validate(fileName));
}

// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Test]
public virtual void PdfA1DocWithPdfA1CheckBoxFieldTest() {
String name = "pdfA1DocWithPdfA1CheckBoxField";
Expand Down Expand Up @@ -174,6 +176,7 @@ public virtual void PdfA1DocWithPdfA1ChoiceFieldTest() {
NUnit.Framework.Assert.IsNull(new VeraPdfValidator().Validate(fileName));
}

// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Test]
public virtual void PdfA1DocWithPdfA1ComboBoxFieldTest() {
String name = "pdfA1DocWithPdfA1ComboBoxField";
Expand All @@ -197,6 +200,7 @@ public virtual void PdfA1DocWithPdfA1ComboBoxFieldTest() {
NUnit.Framework.Assert.IsNull(new VeraPdfValidator().Validate(fileName));
}

// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Test]
[LogMessage(iText.IO.Logs.IoLogMessageConstant.MULTIPLE_VALUES_ON_A_NON_MULTISELECT_FIELD)]
public virtual void PdfA1DocWithPdfA1ListFieldTest() {
Expand Down Expand Up @@ -224,6 +228,7 @@ public virtual void PdfA1DocWithPdfA1ListFieldTest() {
NUnit.Framework.Assert.IsNull(new VeraPdfValidator().Validate(fileName));
}

// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Test]
public virtual void PdfA1DocWithPdfA1PushButtonFieldTest() {
String name = "pdfA1DocWithPdfA1PushButtonField";
Expand All @@ -247,6 +252,7 @@ public virtual void PdfA1DocWithPdfA1PushButtonFieldTest() {
NUnit.Framework.Assert.IsNull(new VeraPdfValidator().Validate(fileName));
}

// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Test]
public virtual void PdfA1DocWithPdfA1RadioButtonFieldTest() {
String name = "pdfA1DocWithPdfA1RadioButtonField";
Expand Down Expand Up @@ -300,6 +306,7 @@ public virtual void PdfA1DocWithPdfA1TextFieldTest() {
NUnit.Framework.Assert.IsNull(new VeraPdfValidator().Validate(fileName));
}

// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Test]
public virtual void PdfA1DocWithPdfA1SignatureFieldTest() {
String name = "pdfA1DocWithPdfA1SignatureField";
Expand Down Expand Up @@ -359,6 +366,7 @@ public virtual void MergePdfADocWithFormTest() {
pdfDocToMerge.Close();
String cmp = SOURCE_FOLDER + "cmp/PdfAFormFieldTest/cmp_mergePdfADocWithForm.pdf";
NUnit.Framework.Assert.IsNull(new VeraPdfValidator().Validate(mergedDocFileName));
// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(mergedDocFileName, cmp, DESTINATION_FOLDER
, "diff_"));
}
Expand Down Expand Up @@ -470,6 +478,7 @@ public virtual void TestMultipleCombinationsWriteAndReload() {
NUnit.Framework.Assert.IsNull(new VeraPdfValidator().Validate(outPdf2));
}

// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Test]
public virtual void TestMultipleCombinationsOnDocument() {
String outPdf = DESTINATION_FOLDER + "testMultipleCombinationsOnDocument.pdf";
Expand Down Expand Up @@ -538,6 +547,7 @@ private void MakePdfDocument(String outPdf, String cmp, Action<Document> consume
return;
}
NUnit.Framework.Assert.IsNull(new VeraPdfValidator().Validate(outPdf));
// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmp, DESTINATION_FOLDER));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ You should have received a copy of the GNU Affero General Public License
using iText.Test.Pdfa;

namespace iText.Pdfa {
// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Category("IntegrationTest")]
public class PdfAPushbuttonfieldTest : ExtendedITextTest {
public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext
Expand Down Expand Up @@ -76,6 +77,7 @@ public virtual void PdfA1bButtonAppearanceTest() {
NUnit.Framework.Assert.IsNull(new VeraPdfValidator().Validate(outPath));
}

// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Test]
public virtual void PdfA1bButtonAppearanceRegenerateTest() {
String name = "pdfA1b_ButtonAppearanceRegenerateTest";
Expand Down Expand Up @@ -105,6 +107,7 @@ public virtual void PdfA1bButtonAppearanceRegenerateTest() {
NUnit.Framework.Assert.IsNull(new VeraPdfValidator().Validate(outPath));
}

// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
[NUnit.Framework.Test]
public virtual void PdfA1bButtonAppearanceSetValueTest() {
String name = "pdfA1b_ButtonAppearanceSetValueTest";
Expand Down Expand Up @@ -133,5 +136,6 @@ public virtual void PdfA1bButtonAppearanceSetValueTest() {
));
NUnit.Framework.Assert.IsNull(new VeraPdfValidator().Validate(outPath));
}
// Android-Conversion-Skip-Line (TODO DEVSIX-7377 introduce pdf\a validation on Android)
}
}
2 changes: 1 addition & 1 deletion port-hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
905315be861e991e563bb2785adb33575c116f21
a004864c760befa08e84d9b5932855f9085eb828

0 comments on commit 3b594df

Please sign in to comment.