You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/06/25 16:53:33 UTC

cvs commit: cocoon-lenya/src/test/org/apache/lenya/cms/authoring DocumentCreatorTest.java

andreas     2003/06/25 07:53:33

  Modified:    src/test/org/apache/lenya/cms/authoring
                        DocumentCreatorTest.java
  Log:
  completed javadoc
  
  Revision  Changes    Path
  1.2       +18 -3     cocoon-lenya/src/test/org/apache/lenya/cms/authoring/DocumentCreatorTest.java
  
  Index: DocumentCreatorTest.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/test/org/apache/lenya/cms/authoring/DocumentCreatorTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DocumentCreatorTest.java	12 Jun 2003 16:52:20 -0000	1.1
  +++ DocumentCreatorTest.java	25 Jun 2003 14:53:33 -0000	1.2
  @@ -68,7 +68,10 @@
    */
   public class DocumentCreatorTest extends TestCase {
   
  -    /** Constructor. */
  +    /**
  +     * Constructor.
  +     * @param test The test to invoke. 
  +     */
       public DocumentCreatorTest(String test) {
           super(test);
       }
  @@ -84,10 +87,21 @@
           TestRunner.run(getSuite());
       }
   
  +    /**
  +     * Returns the test suite.
  +     * @return A Test object.
  +     */
       public static Test getSuite() {
           return new TestSuite(DocumentCreatorTest.class);
       }
  -    /** Tests whatever you want. */
  +    
  +    /**
  +     * Tests whatever you want.
  +     * @throws CreatorException when something went wrong.
  +     * @throws ParserConfigurationException when something went wrong.
  +     * @throws SAXException when something went wrong.
  +     * @throws IOException when something went wrong.
  +     */
       public void testCreator() throws CreatorException, ParserConfigurationException, SAXException, IOException {
           
           Publication publication = PublicationHelper.getPublication();
  @@ -135,4 +149,5 @@
               };
               PublicationHelper.extractPublicationArguments(args);
           }
  -    }}
  +    }
  +}
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org