You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/08/13 09:33:23 UTC

[maven-javadoc-plugin] branch stabilize created (now 873b4b6)

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a change to branch stabilize
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git.


      at 873b4b6  Fix unittest (on Windows)

This branch includes the following new commits:

     new 873b4b6  Fix unittest (on Windows)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[maven-javadoc-plugin] 01/01: Fix unittest (on Windows)

Posted by rf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch stabilize
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git

commit 873b4b6a0014134db814d71a92febc753bf73dc6
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Aug 13 11:33:14 2021 +0200

    Fix unittest (on Windows)
---
 src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
index 23c3998..0bcf9f1 100644
--- a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
+++ b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
@@ -62,7 +62,6 @@ import org.apache.maven.shared.utils.io.FileUtils;
 import org.codehaus.plexus.languages.java.version.JavaVersion;
 import org.hamcrest.MatcherAssert;
 import org.junit.AssumptionViolatedException;
-import org.junit.Ignore;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.sonatype.aether.impl.internal.SimpleLocalRepositoryManager;
@@ -953,7 +952,6 @@ public class JavadocReportTest
      *
      * @throws Exception if any
      */
-    @Ignore("We don't really want to have unit test which need internet access")
     public void testProxy()
         throws Exception
     {
@@ -992,7 +990,7 @@ public class JavadocReportTest
         assertThat( commandLine ).exists();
         String readed = readFile( commandLine );
         assertThat( readed ).contains( "-J-Dhttp.proxyHost=127.0.0.1" ).contains( "-J-Dhttp.proxyPort=80" )
-                .contains( "-J-Dhttp.nonProxyHosts=\\\"www.google.com^|*.somewhere.com\\\"" );
+                .contains( "-J-Dhttp.nonProxyHosts=\"www.google.com^|*.somewhere.com\"" );
 
         Path options = new File( getBasedir(), "target/test/unit/proxy-test/target/site/apidocs/options" ).toPath();
         assertThat( options ).exists();