branch develop updated (7323ca3c -> 43351859)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git from 7323ca3c fixes #9622 : Mails bloqués dans une boîte new 6417d128 Add a way to test PDF opening new 43351859 Use Jaxx 2.44 to improve ComboBox filtering The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 4335185964f1a7f836311a0ff807129ea995ab4c Author: Jean Couteau <jean.couteau@gmail.com> Date: Tue Jan 30 16:46:30 2018 +0100 Use Jaxx 2.44 to improve ComboBox filtering commit 6417d128448a4e2eb34ddf30eb71482b9bb01750 Author: Jean Couteau <jean.couteau@gmail.com> Date: Tue Jan 30 16:45:53 2018 +0100 Add a way to test PDF opening Summary of changes: .../faxtomail/ui/swing/OpenPDFTest.java | 40 ++++++++++++++++++++++ pom.xml | 2 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 faxtomail-ui-swing/src/test/java/com/franciaflex/faxtomail/ui/swing/OpenPDFTest.java -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit 6417d128448a4e2eb34ddf30eb71482b9bb01750 Author: Jean Couteau <jean.couteau@gmail.com> Date: Tue Jan 30 16:45:53 2018 +0100 Add a way to test PDF opening --- .../faxtomail/ui/swing/OpenPDFTest.java | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/faxtomail-ui-swing/src/test/java/com/franciaflex/faxtomail/ui/swing/OpenPDFTest.java b/faxtomail-ui-swing/src/test/java/com/franciaflex/faxtomail/ui/swing/OpenPDFTest.java new file mode 100644 index 00000000..6395d49e --- /dev/null +++ b/faxtomail-ui-swing/src/test/java/com/franciaflex/faxtomail/ui/swing/OpenPDFTest.java @@ -0,0 +1,40 @@ +package com.franciaflex.faxtomail.ui.swing; + + +import org.junit.Test; + + +import java.io.File; +import java.io.IOException; +import org.apache.pdfbox.pdmodel.PDDocument; +import org.apache.pdfbox.rendering.PDFRenderer; +import java.awt.image.BufferedImage; + +public class OpenPDFTest { + + /*@Test + public void test9623(){ + + testOpenPDF("test9623"); + }*/ + + /** Méthode permettant de tester les ouvertures de PDF (en l'occurence la première page) + * + * @param pdfId nom du pdf à tester (sans extension). Le PDF doit être présent dans les ressources + * (src/test/resources/pdf/pdfId.pdf) + */ + protected void testOpenPDF(String pdfId) { + try { + File file = new File("src/test/resources/pdf/" + pdfId + ".pdf"); + + PDDocument pdDocument = PDDocument.load(file); + PDFRenderer renderer = new PDFRenderer(pdDocument); + + BufferedImage image = renderer.renderImage(0); + + } catch (Exception e) { + e.printStackTrace(); + } + } + +} \ No newline at end of file -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit 4335185964f1a7f836311a0ff807129ea995ab4c Author: Jean Couteau <jean.couteau@gmail.com> Date: Tue Jan 30 16:46:30 2018 +0100 Use Jaxx 2.44 to improve ComboBox filtering --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1b394c96..ecb4f538 100644 --- a/pom.xml +++ b/pom.xml @@ -109,7 +109,7 @@ <h2Version>1.3.176</h2Version> <guavaVersion>18.0</guavaVersion> - <jaxxVersion>2.43</jaxxVersion> + <jaxxVersion>2.44-SNAPSHOT</jaxxVersion> <!-- do not upgrade to 1.6.5-1 --> <swingXVersion>1.6.4</swingXVersion> <xworkVersion>2.3.16.3</xworkVersion> -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm