You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2009/06/28 17:38:25 UTC

svn commit: r789113 - /maven/plugins/trunk/maven-pdf-plugin/src/it/fop-basic/verify.bsh

Author: bentmann
Date: Sun Jun 28 15:38:25 2009
New Revision: 789113

URL: http://svn.apache.org/viewvc?rev=789113&view=rev
Log:
o Strengthened IT

Added:
    maven/plugins/trunk/maven-pdf-plugin/src/it/fop-basic/verify.bsh   (with props)

Added: maven/plugins/trunk/maven-pdf-plugin/src/it/fop-basic/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pdf-plugin/src/it/fop-basic/verify.bsh?rev=789113&view=auto
==============================================================================
--- maven/plugins/trunk/maven-pdf-plugin/src/it/fop-basic/verify.bsh (added)
+++ maven/plugins/trunk/maven-pdf-plugin/src/it/fop-basic/verify.bsh Sun Jun 28 15:38:25 2009
@@ -0,0 +1,10 @@
+import java.io.*;
+
+File pdfFile = new File( basedir, "target/pdf/test.pdf" );
+System.out.println( "Checking for existence of " + pdfFile );
+if ( !pdfFile.isFile() )
+{
+    throw new FileNotFoundException( pdfFile + " missing" );
+}
+
+return true;

Propchange: maven/plugins/trunk/maven-pdf-plugin/src/it/fop-basic/verify.bsh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-pdf-plugin/src/it/fop-basic/verify.bsh
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision