maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r596010 - /maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkTestDocument.java
Date Sat, 17 Nov 2007 22:06:19 GMT
Author: ltheussl
Date: Sat Nov 17 14:06:19 2007
New Revision: 596010

URL: http://svn.apache.org/viewvc?rev=596010&view=rev
Log:
Remove paragraphs within list items, move comment into document body.

Modified:
    maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkTestDocument.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkTestDocument.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkTestDocument.java?rev=596010&r1=596009&r2=596010&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkTestDocument.java
(original)
+++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkTestDocument.java
Sat Nov 17 14:06:19 2007
@@ -130,6 +130,8 @@
 
         generateSpecialCharacters( sink );
 
+        sink.comment( "A comment!" );
+
         sink.section5_();
         sink.section4_();
         sink.section3_();
@@ -138,8 +140,6 @@
 
         sink.body_();
 
-        sink.comment( "A comment!" );
-
         sink.flush();
     }
 
@@ -178,15 +178,11 @@
         sink.list();
 
         sink.listItem();
-        sink.paragraph();
         sink.text( "List item 1." );
-        sink.paragraph_();
         sink.listItem_();
 
         sink.listItem();
-        sink.paragraph();
         sink.text( "List item 2." );
-        sink.paragraph_();
         sink.paragraph();
         sink.text( "Paragraph contained in list item 2." );
         sink.paragraph_();
@@ -194,15 +190,11 @@
         sink.list();
 
         sink.listItem();
-        sink.paragraph();
         sink.text( "Sub-list item 1." );
-        sink.paragraph_();
         sink.listItem_();
 
         sink.listItem();
-        sink.paragraph();
         sink.text( "Sub-list item 2." );
-        sink.paragraph_();
         sink.listItem_();
 
         sink.list_();
@@ -210,9 +202,7 @@
         sink.listItem_();
 
         sink.listItem();
-        sink.paragraph();
         sink.text( "List item 3. Force end of list:" );
-        sink.paragraph_();
         sink.listItem_();
 
         sink.list_();
@@ -229,22 +219,16 @@
         sink.numberedList( Sink.NUMBERING_DECIMAL );
 
         sink.numberedListItem();
-        sink.paragraph();
         sink.text( "Numbered item 1." );
-        sink.paragraph_();
 
         sink.numberedList( Sink.NUMBERING_UPPER_ALPHA );
 
         sink.numberedListItem();
-        sink.paragraph();
         sink.text( "Numbered item A." );
-        sink.paragraph_();
         sink.numberedListItem_();
 
         sink.numberedListItem();
-        sink.paragraph();
         sink.text( "Numbered item B." );
-        sink.paragraph_();
         sink.numberedListItem_();
 
         sink.numberedList_();
@@ -252,9 +236,7 @@
         sink.numberedListItem_();
 
         sink.numberedListItem();
-        sink.paragraph();
         sink.text( "Numbered item 2." );
-        sink.paragraph_();
         sink.numberedListItem_();
 
         sink.numberedList_();
@@ -277,9 +259,7 @@
         sink.text( "Defined term 1" );
         sink.definedTerm_();
         sink.definition();
-        sink.paragraph();
         sink.text( "of definition list." );
-        sink.paragraph_();
         sink.definition_();
         sink.definitionListItem_();
 
@@ -288,9 +268,7 @@
         sink.text( "Defined term 2" );
         sink.definedTerm_();
         sink.definition();
-        sink.paragraph();
         sink.text( "of definition list." );
-        sink.paragraph_();
         sink.verbatim( true );
         sink.text( "Verbatim text" );
         sink.lineBreak();



Mime
View raw message