maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r1050196 - /maven/plugins/trunk/maven-changes-plugin/src/test/java/org/apache/maven/plugin/changes/ReleaseUtilsTestCase.java
Date Thu, 16 Dec 2010 22:30:04 GMT
Author: dennisl
Date: Thu Dec 16 22:30:04 2010
New Revision: 1050196

URL: http://svn.apache.org/viewvc?rev=1050196&view=rev
Log:
Apply formating.

Modified:
    maven/plugins/trunk/maven-changes-plugin/src/test/java/org/apache/maven/plugin/changes/ReleaseUtilsTestCase.java

Modified: maven/plugins/trunk/maven-changes-plugin/src/test/java/org/apache/maven/plugin/changes/ReleaseUtilsTestCase.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/test/java/org/apache/maven/plugin/changes/ReleaseUtilsTestCase.java?rev=1050196&r1=1050195&r2=1050196&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/test/java/org/apache/maven/plugin/changes/ReleaseUtilsTestCase.java
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/test/java/org/apache/maven/plugin/changes/ReleaseUtilsTestCase.java
Thu Dec 16 22:30:04 2010
@@ -34,46 +34,46 @@ import org.apache.maven.plugins.changes.
  */
 public class ReleaseUtilsTestCase extends TestCase
 {
-    public void testmergeReleases() throws Exception
+    public void testMergeReleases()
+        throws Exception
     {
-      Log log = new SilentLog();
-      ReleaseUtils releaseUtils = new ReleaseUtils( log );
+        Log log = new SilentLog();
+        ReleaseUtils releaseUtils = new ReleaseUtils( log );
 
-      List firstReleases = new ArrayList();
-      List secondReleases = new ArrayList();
-      List mergedReleases;
+        List firstReleases = new ArrayList();
+        List secondReleases = new ArrayList();
+        List mergedReleases;
 
-      mergedReleases = releaseUtils.mergeReleases(firstReleases, secondReleases);
-      assertEquals("Both empty", 0, mergedReleases.size());
+        mergedReleases = releaseUtils.mergeReleases( firstReleases, secondReleases );
+        assertEquals( "Both empty", 0, mergedReleases.size() );
 
-      Release release = new Release();
-      release.setVersion("1.0");
-      firstReleases.add(release);
+        Release release = new Release();
+        release.setVersion( "1.0" );
+        firstReleases.add( release );
 
-      mergedReleases = releaseUtils.mergeReleases(firstReleases, secondReleases);
-      assertEquals("One release in first", 1, mergedReleases.size());
+        mergedReleases = releaseUtils.mergeReleases( firstReleases, secondReleases );
+        assertEquals( "One release in first", 1, mergedReleases.size() );
 
-      release = new Release();
-      release.setVersion("1.1");
-      secondReleases.add(release);
+        release = new Release();
+        release.setVersion( "1.1" );
+        secondReleases.add( release );
 
-      mergedReleases = releaseUtils.mergeReleases(firstReleases, secondReleases);
-      assertEquals("One release each", 2, mergedReleases.size());
+        mergedReleases = releaseUtils.mergeReleases( firstReleases, secondReleases );
+        assertEquals( "One release each", 2, mergedReleases.size() );
 
-      release = new Release();
-      release.setVersion("1.1");
-      firstReleases.add(release);
+        release = new Release();
+        release.setVersion( "1.1" );
+        firstReleases.add( release );
 
-      mergedReleases = releaseUtils.mergeReleases(firstReleases, secondReleases);
-      assertEquals("Two releases in first, one release in second with one version being the
same",
-                   2, mergedReleases.size());
+        mergedReleases = releaseUtils.mergeReleases( firstReleases, secondReleases );
+        assertEquals( "Two releases in first, one release in second with one version being
the same",
+                      2, mergedReleases.size() );
 
-      release = new Release();
-      release.setVersion("1.2");
-      secondReleases.add(release);
+        release = new Release();
+        release.setVersion( "1.2" );
+        secondReleases.add( release );
 
-      mergedReleases = releaseUtils.mergeReleases(firstReleases, secondReleases);
-      assertEquals("Two releases each with one version being the same",
-                   3, mergedReleases.size());
+        mergedReleases = releaseUtils.mergeReleases( firstReleases, secondReleases );
+        assertEquals( "Two releases each with one version being the same", 3, mergedReleases.size()
);
     }
 }



Mime
View raw message