Author: vsiveton
Date: Fri May 29 13:16:29 2009
New Revision: 779957
URL: http://svn.apache.org/viewvc?rev=779957&view=rev
Log:
o enable the current logger
Modified:
maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/AbstractIdentityTest.java
maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocIdentityTest.java
maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/test/java/org/apache/maven/doxia/module/xhtml/XhtmlIdentityTest.java
maven/doxia/doxia/trunk/pom.xml
Modified:
maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/AbstractIdentityTest.java
URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/AbstractIdentityTest.java?rev=779957&r1=779956&r2=779957&view=diff
==============================================================================
---
maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/AbstractIdentityTest.java
(original)
+++
maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/AbstractIdentityTest.java
Fri May 29 13:16:29 2009
@@ -26,6 +26,7 @@
import org.apache.maven.doxia.AbstractModuleTest;
+import org.apache.maven.doxia.logging.PlexusLoggerWrapper;
import org.apache.maven.doxia.parser.ParseException;
import org.apache.maven.doxia.parser.Parser;
@@ -105,7 +106,9 @@
writer = new StringWriter();
sink = new TextSink( writer );
- createParser().parse( reader, sink );
+ Parser parser = createParser();
+ parser.enableLogging( new PlexusLoggerWrapper(
getContainer().getLogger() ) );
+ parser.parse( reader, sink );
String actual = writer.toString();
// write to file for comparison
Modified:
maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocIdentityTest.java
URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocIdentityTest.java?rev=779957&r1=779956&r2=779957&view=diff
==============================================================================
---
maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocIdentityTest.java
(original)
+++
maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocIdentityTest.java
Fri May 29 13:16:29 2009
@@ -26,17 +26,18 @@
import org.apache.maven.doxia.sink.Sink;
import org.codehaus.plexus.util.StringUtils;
-
/**
* Check that piping a full model through an XdocParser and an XdocSink
* leaves the model unchanged.
*/
-public class XdocIdentityTest extends AbstractIdentityTest
+public class XdocIdentityTest
+ extends AbstractIdentityTest
{
/** {...@inheritdoc} */
protected void setUp()
throws Exception
{
+ super.setUp();
assertIdentity( true );
}
Modified:
maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/test/java/org/apache/maven/doxia/module/xhtml/XhtmlIdentityTest.java
URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/test/java/org/apache/maven/doxia/module/xhtml/XhtmlIdentityTest.java?rev=779957&r1=779956&r2=779957&view=diff
==============================================================================
---
maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/test/java/org/apache/maven/doxia/module/xhtml/XhtmlIdentityTest.java
(original)
+++
maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/src/test/java/org/apache/maven/doxia/module/xhtml/XhtmlIdentityTest.java
Fri May 29 13:16:29 2009
@@ -26,17 +26,18 @@
import org.apache.maven.doxia.sink.Sink;
import org.codehaus.plexus.util.StringUtils;
-
/**
* Check that piping a full model through an XhtmlParser and an XhtmlSink
* leaves the model unchanged.
*/
-public class XhtmlIdentityTest extends AbstractIdentityTest
+public class XhtmlIdentityTest
+ extends AbstractIdentityTest
{
/** {...@inheritdoc} */
protected void setUp()
throws Exception
{
+ super.setUp();
assertIdentity( true );
}
Modified: maven/doxia/doxia/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/pom.xml?rev=779957&r1=779956&r2=779957&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/pom.xml (original)
+++ maven/doxia/doxia/trunk/pom.xml Fri May 29 13:16:29 2009
@@ -229,7 +229,7 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
- <version>1.5.7</version>
+ <version>1.5.10-SNAPSHOT</version>
</dependency>
</dependencies>
</dependencyManagement>