You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2014/04/26 01:26:21 UTC

svn commit: r1590189 - /maven/site/trunk/content/apt/plugin-developers/plugin-testing.apt

Author: hboutemy
Date: Fri Apr 25 23:26:20 2014
New Revision: 1590189

URL: http://svn.apache.org/r1590189
Log:
code format

Modified:
    maven/site/trunk/content/apt/plugin-developers/plugin-testing.apt

Modified: maven/site/trunk/content/apt/plugin-developers/plugin-testing.apt
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/apt/plugin-developers/plugin-testing.apt?rev=1590189&r1=1590188&r2=1590189&view=diff
==============================================================================
--- maven/site/trunk/content/apt/plugin-developers/plugin-testing.apt (original)
+++ maven/site/trunk/content/apt/plugin-developers/plugin-testing.apt Fri Apr 25 23:26:20 2014
@@ -86,8 +86,8 @@ public class YourMojoTest
     /**
      * @see junit.framework.TestCase#setUp()
      */
-    protected void setUp() throws Exception {
-
+    protected void setUp() throws Exception
+    {
         // required for mojo lookups to work
         super.setUp();
     }
@@ -100,7 +100,7 @@ public class YourMojoTest
         File testPom = new File( getBasedir(),
           "src/test/resources/unit/basic-test/basic-test-plugin-config.xml" );
 
-        YourMojo mojo = (YourMojo) lookupMojo ( "yourGoal", testPom );
+        YourMojo mojo = (YourMojo) lookupMojo( "yourGoal", testPom );
 
         assertNotNull( mojo );
     }
@@ -120,7 +120,7 @@ Integration/Functional testing
 +-----+
 public class TrivialMavenVerifierTest extends TestCase
 {
-    public void testMyPlugin ()
+    public void testMyPlugin()
         throws Exception
     {
         // Check in your dummy Maven project in /src/test/resources/...