Return-Path: X-Original-To: apmail-creadur-commits-archive@www.apache.org Delivered-To: apmail-creadur-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D20D6101E4 for ; Sun, 8 Dec 2013 21:25:12 +0000 (UTC) Received: (qmail 94699 invoked by uid 500); 8 Dec 2013 21:25:12 -0000 Delivered-To: apmail-creadur-commits-archive@creadur.apache.org Received: (qmail 94673 invoked by uid 500); 8 Dec 2013 21:25:12 -0000 Mailing-List: contact commits-help@creadur.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@creadur.apache.org Delivered-To: mailing list commits@creadur.apache.org Received: (qmail 94666 invoked by uid 99); 8 Dec 2013 21:25:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Dec 2013 21:25:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Dec 2013 21:25:06 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 8C0FE2388868; Sun, 8 Dec 2013 21:24:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1549286 - /creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/writer/XmlWriterUtilsTest.java Date: Sun, 08 Dec 2013 21:24:45 -0000 To: commits@creadur.apache.org From: rdonkin@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131208212445.8C0FE2388868@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Sun Dec 8 21:24:45 2013 New Revision: 1549286 URL: http://svn.apache.org/r1549286 Log: Add java doc. Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/writer/XmlWriterUtilsTest.java Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/writer/XmlWriterUtilsTest.java URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/writer/XmlWriterUtilsTest.java?rev=1549286&r1=1549285&r2=1549286&view=diff ============================================================================== --- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/writer/XmlWriterUtilsTest.java (original) +++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/report/xml/writer/XmlWriterUtilsTest.java Sun Dec 8 21:24:45 2013 @@ -26,11 +26,23 @@ import org.apache.rat.report.xml.writer. import org.junit.Before; import org.junit.Test; +/** + * The Class XmlWriterUtilsTest. + */ public class XmlWriterUtilsTest { + /** The out. */ StringWriter out; + + /** The writer. */ IXmlWriter writer; + /** + * Sets the up. + * + * @throws Exception + * the exception + */ @Before public void setUp() throws Exception { out = new StringWriter(); @@ -38,6 +50,12 @@ public class XmlWriterUtilsTest { writer.openElement("alpha"); } + /** + * Write true. + * + * @throws Exception + * the exception + */ @Test public void writeTrue() throws Exception { new XmlWriterUtils().writeAttribute(writer, "name", true); @@ -45,6 +63,12 @@ public class XmlWriterUtilsTest { out.toString()); } + /** + * Write false. + * + * @throws Exception + * the exception + */ @Test public void writeFalse() throws Exception { new XmlWriterUtils().writeAttribute(writer, "name", false);