creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549330 - /creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportFactoryTest.java
Date Sun, 08 Dec 2013 21:46:29 GMT
Author: rdonkin
Date: Sun Dec  8 21:46:29 2013
New Revision: 1549330

URL: http://svn.apache.org/r1549330
Log:
Add java doc.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportFactoryTest.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportFactoryTest.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportFactoryTest.java?rev=1549330&r1=1549329&r2=1549330&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportFactoryTest.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/XmlReportFactoryTest.java
Sun Dec  8 21:46:29 2013
@@ -37,14 +37,27 @@ import org.apache.rat.walker.DirectoryWa
 import org.junit.Before;
 import org.junit.Test;
 
+/**
+ * The Class XmlReportFactoryTest.
+ */
 public class XmlReportFactoryTest {
 
+	/** The Constant IGNORE_EMPTY. */
 	private static final Pattern IGNORE_EMPTY = Pattern
 			.compile(".svn|Empty.txt");
 
+	/** The out. */
 	StringWriter out;
+
+	/** The writer. */
 	IXmlWriter writer;
 
+	/**
+	 * Sets the up.
+	 * 
+	 * @throws Exception
+	 *             the exception
+	 */
 	@Before
 	public void setUp() throws Exception {
 		out = new StringWriter();
@@ -52,11 +65,27 @@ public class XmlReportFactoryTest {
 		writer.startDocument();
 	}
 
+	/**
+	 * Report.
+	 * 
+	 * @param directory
+	 *            the directory
+	 * @param report
+	 *            the report
+	 * @throws Exception
+	 *             the exception
+	 */
 	private void report(DirectoryWalker directory, RatReport report)
 			throws Exception {
 		directory.run(report);
 	}
 
+	/**
+	 * Standard report.
+	 * 
+	 * @throws Exception
+	 *             the exception
+	 */
 	@Test
 	public void standardReport() throws Exception {
 		final String elementsPath = Resources



Mime
View raw message