Author: ltheussl Date: Wed Feb 25 07:55:43 2009 New Revision: 747700 URL: http://svn.apache.org/viewvc?rev=747700&view=rev Log: Take into account SinkEventAttributes in corresponding methods of SinkEventTestingSink.
Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkEventTestingSink.java Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkEventTestingSink.java URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkEventTestingSink.java?rev=747700&r1=747699&r2=747700&view=diff ============================================================================== --- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkEventTestingSink.java (original) +++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/SinkEventTestingSink.java Wed Feb 25 07:55:43 2009 @@ -599,37 +599,37 @@ /** {...@inheritdoc} */ public void head( SinkEventAttributes attributes ) { - head(); + addEvent( "head", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void title( SinkEventAttributes attributes ) { - title(); + addEvent( "title", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void author( SinkEventAttributes attributes ) { - author(); + addEvent( "author", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void date( SinkEventAttributes attributes ) { - date(); + addEvent( "date", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void body( SinkEventAttributes attributes ) { - body(); + addEvent( "body", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void section( int level, SinkEventAttributes attributes ) { - addEvent( "section" + level ); + addEvent( "section" + level, new Object[] {attributes} ); } /** {...@inheritdoc} */ @@ -641,7 +641,7 @@ /** {...@inheritdoc} */ public void sectionTitle( int level, SinkEventAttributes attributes ) { - addEvent( "sectionTitle" + level ); + addEvent( "sectionTitle" + level, new Object[] {attributes} ); } /** {...@inheritdoc} */ @@ -654,49 +654,49 @@ /** {...@inheritdoc} */ public void list( SinkEventAttributes attributes ) { - list(); + addEvent( "list", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void listItem( SinkEventAttributes attributes ) { - listItem(); + addEvent( "listItem", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void numberedList( int numbering, SinkEventAttributes attributes ) { - numberedList( numbering ); + addEvent( "numberedList", new Object[] {new Integer( numbering ), attributes} ); } /** {...@inheritdoc} */ public void numberedListItem( SinkEventAttributes attributes ) { - numberedListItem(); + addEvent( "numberedListItem", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void definitionList( SinkEventAttributes attributes ) { - definitionList(); + addEvent( "definitionList", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void definitionListItem( SinkEventAttributes attributes ) { - definitionListItem(); + addEvent( "definitionListItem", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void definition( SinkEventAttributes attributes ) { - definition(); + addEvent( "definition", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void definedTerm( SinkEventAttributes attributes ) { - definedTerm(); + addEvent( "definedTerm", new Object[] {attributes} ); } /** {...@inheritdoc} */ @@ -708,91 +708,91 @@ /** {...@inheritdoc} */ public void figureCaption( SinkEventAttributes attributes ) { - figureCaption(); + addEvent( "figureCaption", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void figureGraphics( String src, SinkEventAttributes attributes ) { - figureGraphics( src ); + addEvent( "figureGraphics", new Object[] {src, attributes} ); } /** {...@inheritdoc} */ public void table( SinkEventAttributes attributes ) { - table(); + addEvent( "table", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void tableRow( SinkEventAttributes attributes ) { - tableRow(); + addEvent( "tableRow", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void tableCell( SinkEventAttributes attributes ) { - tableCell(); + addEvent( "tableCell", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void tableHeaderCell( SinkEventAttributes attributes ) { - tableHeaderCell(); + addEvent( "tableHeaderCell", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void tableCaption( SinkEventAttributes attributes ) { - tableCaption(); + addEvent( "tableCaption", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void paragraph( SinkEventAttributes attributes ) { - paragraph(); + addEvent( "paragraph", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void verbatim( SinkEventAttributes attributes ) { - verbatim( false ); + addEvent( "verbatim", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void horizontalRule( SinkEventAttributes attributes ) { - horizontalRule(); + addEvent( "horizontalRule", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void anchor( String name, SinkEventAttributes attributes ) { - anchor( name ); + addEvent( "anchor", new Object[] {name, attributes} ); } /** {...@inheritdoc} */ public void link( String name, SinkEventAttributes attributes ) { - link( name ); + addEvent( "link", new Object[] {name, attributes} ); } /** {...@inheritdoc} */ public void lineBreak( SinkEventAttributes attributes ) { - lineBreak(); + addEvent( "lineBreak", new Object[] {attributes} ); } /** {...@inheritdoc} */ public void text( String text, SinkEventAttributes attributes ) { - text( text ); + addEvent( "text", new Object[] {text, attributes} ); } /** {...@inheritdoc} */ public void unknown( String name, Object[] requiredParams, SinkEventAttributes attributes ) { - addEvent( name, requiredParams ); + addEvent( name, new Object[] {requiredParams, attributes} ); } //