You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by rd...@apache.org on 2013/12/09 06:43:47 UTC

svn commit: r1549411 - /creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/MITLicenseTest.java

Author: rdonkin
Date: Mon Dec  9 05:43:46 2013
New Revision: 1549411

URL: http://svn.apache.org/r1549411
Log:
Add Java Doc.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/MITLicenseTest.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/MITLicenseTest.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/MITLicenseTest.java?rev=1549411&r1=1549410&r2=1549411&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/MITLicenseTest.java (original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/MITLicenseTest.java Mon Dec  9 05:43:46 2013
@@ -33,9 +33,11 @@ import org.junit.Before;
 import org.junit.Test;
 
 /**
- * 
+ * The Class MITLicenseTest.
  */
 public class MITLicenseTest {
+
+	/** The subject. */
 	private Document subject;
 
 	/**
@@ -57,6 +59,9 @@ public class MITLicenseTest {
 		this.subject = new MockLocation("subject");
 	}
 
+	/**
+	 * Test negative match mit license.
+	 */
 	@Test
 	public void testNegativeMatchMITLicense() {
 		for (Map.Entry<IHeaderMatcher, String> licenceUnderTest : licenseStringMap
@@ -68,6 +73,9 @@ public class MITLicenseTest {
 		}
 	}
 
+	/**
+	 * Test positive match mit license.
+	 */
 	@Test
 	public void testPositiveMatchMITLicense() {
 		for (Map.Entry<IHeaderMatcher, String> licenceUnderTest : licenseStringMap
@@ -79,6 +87,9 @@ public class MITLicenseTest {
 		}
 	}
 
+	/**
+	 * Test notes.
+	 */
 	@Test
 	public void testNotes() {
 		assertThat(
@@ -86,11 +97,17 @@ public class MITLicenseTest {
 				is("Note that MIT requires a NOTICE. All modifications require notes. See http://opensource.org/licenses/MIT."));
 	}
 
+	/**
+	 * Test category.
+	 */
 	@Test
 	public void testCategory() {
 		assertThat(new MITLicense().getLicenseFamilyCategory(), is("MIT  "));
 	}
 
+	/**
+	 * Test name.
+	 */
 	@Test
 	public void testName() {
 		assertThat(new MITLicense().getLicenseFamilyName(),