forked from pipeline-foundation/itext7-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into devsecops
- Loading branch information
Showing
52 changed files
with
717 additions
and
78 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
itext.tests/itext.kernel.tests/itext/kernel/pdf/DocumentPropertiesUnitTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
This file is part of the iText (R) project. | ||
Copyright (c) 1998-2024 Apryse Group NV | ||
Authors: Apryse Software. | ||
This program is offered under a commercial and under the AGPL license. | ||
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below. | ||
AGPL licensing: | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
using iText.Commons.Actions.Contexts; | ||
using iText.Test; | ||
|
||
namespace iText.Kernel.Pdf { | ||
[NUnit.Framework.Category("UnitTest")] | ||
public class DocumentPropertiesUnitTest : ExtendedITextTest { | ||
[NUnit.Framework.Test] | ||
public virtual void SetEventCountingMetaInfoTest() { | ||
DocumentProperties documentProperties = new DocumentProperties(); | ||
documentProperties.SetEventCountingMetaInfo(new DocumentPropertiesUnitTest.TestMetaInfo()); | ||
NUnit.Framework.Assert.IsTrue(documentProperties.IsEventCountingMetaInfoSet()); | ||
} | ||
|
||
[NUnit.Framework.Test] | ||
public virtual void MetaInfoIsNotSetTest() { | ||
DocumentProperties documentProperties = new DocumentProperties(); | ||
NUnit.Framework.Assert.IsFalse(documentProperties.IsEventCountingMetaInfoSet()); | ||
} | ||
|
||
private class TestMetaInfo : IMetaInfo { | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+9.03 KB
(100%)
...kernel.tests/resources/itext/kernel/pdf/PdfStructElemTest/cmp_structTreeCopyingTest02.pdf
Binary file not shown.
Binary file modified
BIN
+8.91 KB
(100%)
...kernel.tests/resources/itext/kernel/pdf/PdfStructElemTest/cmp_structTreeCopyingTest04.pdf
Binary file not shown.
Binary file modified
BIN
+9.03 KB
(100%)
...kernel.tests/resources/itext/kernel/pdf/PdfStructElemTest/cmp_structTreeCopyingTest06.pdf
Binary file not shown.
Binary file added
BIN
+149 KB
...sts/itext.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/cmp_emptyAllTrTable.pdf
Binary file not shown.
Binary file added
BIN
+155 KB
...s/itext.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/cmp_emptyFirstTrTable.pdf
Binary file not shown.
Binary file added
BIN
+155 KB
...ts/itext.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/cmp_emptyLastTrTable.pdf
Binary file not shown.
Binary file modified
BIN
+806 Bytes
(120%)
...ts/itext.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/cmp_emptyRowWithTags.pdf
Binary file not shown.
Binary file added
BIN
+149 KB
.../itext.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/cmp_emptySingleTrTable.pdf
Binary file not shown.
Binary file modified
BIN
+778 Bytes
(100%)
....tests/itext.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/cmp_emptyTrTable.pdf
Binary file not shown.
Binary file added
BIN
+155 KB
...t.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/cmp_emptyTwoAdjacentTrTable.pdf
Binary file not shown.
Binary file added
BIN
+7.54 KB
...kernel.tests/resources/itext/kernel/utils/PdfMergerTest/cmp_splitAndMergeEmptyTrTable.pdf
Binary file not shown.
Binary file added
BIN
+4.48 KB
...l.tests/resources/itext/kernel/utils/PdfMergerTest/cmp_splitTableWithEmptyTrFirstPage.pdf
Binary file not shown.
Binary file added
BIN
+7.28 KB
...kernel.tests/resources/itext/kernel/utils/PdfMergerTest/cmp_splitTableWithEmptyTrFull.pdf
Binary file not shown.
Binary file added
BIN
+4.01 KB
....tests/resources/itext/kernel/utils/PdfMergerTest/cmp_splitTableWithEmptyTrSecondPage.pdf
Binary file not shown.
Binary file modified
BIN
+454 Bytes
(100%)
...sts/itext.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/cmp_trInsideTdTable.pdf
Binary file not shown.
Binary file added
BIN
+152 KB
...t.tests/itext.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/emptyAllTrTable.pdf
Binary file not shown.
Binary file added
BIN
+153 KB
...tests/itext.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/emptyFirstTrTable.pdf
Binary file not shown.
Binary file added
BIN
+157 KB
....tests/itext.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/emptyLastTrTable.pdf
Binary file not shown.
Binary file added
BIN
+167 KB
...ests/itext.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/emptySingleTrTable.pdf
Binary file not shown.
Binary file added
BIN
+152 KB
...itext.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/emptyTwoAdjacentTrTable.pdf
Binary file not shown.
Binary file added
BIN
+17.2 KB
...ernel.tests/resources/itext/kernel/utils/PdfMergerTest/splitTableWithEmptyTrFirstPage.pdf
Binary file not shown.
Binary file added
BIN
+17.2 KB
...ext.kernel.tests/resources/itext/kernel/utils/PdfMergerTest/splitTableWithEmptyTrFull.pdf
Binary file not shown.
Binary file added
BIN
+17.2 KB
...rnel.tests/resources/itext/kernel/utils/PdfMergerTest/splitTableWithEmptyTrSecondPage.pdf
Binary file not shown.
Binary file modified
BIN
+9.1 KB
(100%)
...xt.kernel.tests/resources/itext/kernel/utils/PdfSplitterTest/cmp/cmp_splitDocument1_1.pdf
Binary file not shown.
Binary file modified
BIN
+9.03 KB
(100%)
...xt.kernel.tests/resources/itext/kernel/utils/PdfSplitterTest/cmp/cmp_splitDocument2_1.pdf
Binary file not shown.
Binary file modified
BIN
+7.71 KB
(100%)
...xt.kernel.tests/resources/itext/kernel/utils/PdfSplitterTest/cmp/cmp_splitDocument3_1.pdf
Binary file not shown.
Binary file modified
BIN
+7.71 KB
(100%)
...xt.kernel.tests/resources/itext/kernel/utils/PdfSplitterTest/cmp/cmp_splitDocument4_1.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+195 Bytes
(110%)
.../itext.layout.tests/resources/itext/layout/TableTest/cmp_tableWithAlternatingRowsTest.pdf
Binary file not shown.
Binary file modified
BIN
+180 Bytes
(120%)
...itext.layout.tests/resources/itext/layout/TableTest/cmp_tableWithCollapsedBordersTest.pdf
Binary file not shown.
Binary file modified
BIN
+231 Bytes
(120%)
...yout.tests/resources/itext/layout/TableTest/cmp_tableWithEmptyRowAfterJustOneCellTest.pdf
Binary file not shown.
Binary file added
BIN
+1.31 KB
...text.layout.tests/resources/itext/layout/TableTest/cmp_tableWithEmptyRowsAndSpansTest.pdf
Binary file not shown.
Binary file modified
BIN
+186 Bytes
(120%)
...yout.tests/resources/itext/layout/TableTest/cmp_tableWithEmptyRowsBetweenFullRowsTest.pdf
Binary file not shown.
Oops, something went wrong.