You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2009/05/07 13:25:23 UTC

svn commit: r772618 - /maven/plugins/trunk/maven-pdf-plugin/src/test/java/org/apache/maven/plugins/pdf/PdfMojoTest.java

Author: vsiveton
Date: Thu May  7 11:25:23 2009
New Revision: 772618

URL: http://svn.apache.org/viewvc?rev=772618&view=rev
Log:
o readingness

Modified:
    maven/plugins/trunk/maven-pdf-plugin/src/test/java/org/apache/maven/plugins/pdf/PdfMojoTest.java

Modified: maven/plugins/trunk/maven-pdf-plugin/src/test/java/org/apache/maven/plugins/pdf/PdfMojoTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pdf-plugin/src/test/java/org/apache/maven/plugins/pdf/PdfMojoTest.java?rev=772618&r1=772617&r2=772618&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pdf-plugin/src/test/java/org/apache/maven/plugins/pdf/PdfMojoTest.java (original)
+++ maven/plugins/trunk/maven-pdf-plugin/src/test/java/org/apache/maven/plugins/pdf/PdfMojoTest.java Thu May  7 11:25:23 2009
@@ -48,15 +48,12 @@
     public void testPdfMojo() throws Exception
     {
         File testPom = new File( getBasedir(), "/target/test-classes/unit/pdf/pom.xml" );
-
         assertTrue( "testPom does not exist!", testPom.exists() );
 
         PdfMojo mojo = (PdfMojo) lookupMojo( "pdf", testPom );
-
         assertNotNull( "pdf mojo not found!", mojo );
 
         File pdfFile = new File( getBasedir(), "/target/test-output/pdf/maven-pdf-plugin-doc.pdf" );
-
         if ( pdfFile.exists() )
         {
             pdfFile.delete();
@@ -65,7 +62,6 @@
         mojo.execute();
 
         assertTrue( "FO: Pdf file not created!", pdfFile.exists() );
-
         assertTrue( "FO: Pdf file has no content!", pdfFile.length() > 0 );
     }
 
@@ -77,15 +73,12 @@
     public void testITextImpl() throws Exception
     {
         File testPom = new File( getBasedir(), "/target/test-classes/unit/pdf/iText_pom.xml" );
-
         assertTrue( "testPom does not exist!", testPom.exists() );
 
         PdfMojo mojo = (PdfMojo) lookupMojo( "pdf", testPom );
-
         assertNotNull( "pdf mojo not found!", mojo );
 
         File pdfFile = new File( getBasedir(), "/target/test-output/pdf/index.pdf" );
-
         if ( pdfFile.exists() )
         {
             pdfFile.delete();
@@ -94,7 +87,6 @@
         mojo.execute();
 
         assertTrue( "iText: Pdf file not created!", pdfFile.exists() );
-
         assertTrue( "iText: Pdf file has no content!", pdfFile.length() > 0 );
      }