creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549424 - /creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/NoteGuesserTest.java
Date Mon, 09 Dec 2013 05:47:50 GMT
Author: rdonkin
Date: Mon Dec  9 05:47:50 2013
New Revision: 1549424

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

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/NoteGuesserTest.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/NoteGuesserTest.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/NoteGuesserTest.java?rev=1549424&r1=1549423&r2=1549424&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/NoteGuesserTest.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/NoteGuesserTest.java
Mon Dec  9 05:47:50 2013
@@ -23,8 +23,14 @@ import static org.junit.Assert.assertTru
 import org.apache.rat.document.MockDocument;
 import org.junit.Test;
 
+/**
+ * The Class NoteGuesserTest.
+ */
 public class NoteGuesserTest {
 
+	/**
+	 * Test matches.
+	 */
 	@Test
 	public void testMatches() {
 		assertThatGuesserMatches("LICENSE");
@@ -47,6 +53,12 @@ public class NoteGuesserTest {
 		assertThatGuesserMatches("src\\test\\README.txt");
 	}
 
+	/**
+	 * Assert that guesser matches.
+	 * 
+	 * @param name
+	 *            the name
+	 */
 	private void assertThatGuesserMatches(final String name) {
 		assertTrue(new NoteGuesser().matches(new MockDocument(name)));
 	}



Mime
View raw message