Skip to content

Commit

Permalink
version 0.2.0 - 2023-08-20
Browse files Browse the repository at this point in the history
* Updated parent version to fj-doc 1.5.0
* Added sonar cloud quality gate
  • Loading branch information
fugerit79 committed Aug 20, 2023
1 parent 8d49eb0 commit f55b2c2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog for project fj-doc-mod-openpdf

## version 0.2.0 - 2023-08-20
* Updated parent version to fj-doc 1.5.0
* Added sonar cloud quality gate

## version 0.1.0 - 2023-08-13
* Updated parent version to fj-doc 1.4.4
* Typos in documentation
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.4</version>
<version>1.5.0</version>
<relativePath></relativePath>
</parent>

<name>fj-doc-mod-openpdf</name>
<description>Fugerit DOC module for output in PDF, RTF and HTML using OpenPDF (Itext fork)</description>
<version>0.1.0</version>
<version>0.2.0</version>

<licenses>
<license>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.awt.Color;
import java.io.FileOutputStream;

import org.junit.Assert;
import org.junit.Test;

import com.lowagie.text.Chunk;
Expand All @@ -24,6 +25,8 @@ public class PocIndex {

@Test
public void testIndex001() throws Exception {
boolean ok = false;

String dest = "target/test_index001.pdf";
Document document = new Document(PageSize.A4.rotate());
PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(dest));
Expand Down Expand Up @@ -87,6 +90,10 @@ public void testIndex001() throws Exception {

document.close();

ok = true;

Assert.assertTrue( ok );

}

}

0 comments on commit f55b2c2

Please sign in to comment.