test/com/sun/javadoc/testDocRootLink/TestDocRootLink.java

changeset 2628
a5eb8f677bd4
parent 2218
2d0a0ae7fa9c
child 2702
9ca8d8713094
     1.1 --- a/test/com/sun/javadoc/testDocRootLink/TestDocRootLink.java	Wed Jan 14 16:26:31 2015 -0800
     1.2 +++ b/test/com/sun/javadoc/testDocRootLink/TestDocRootLink.java	Tue Jan 13 12:41:16 2015 -0800
     1.3 @@ -60,21 +60,21 @@
     1.4      };
     1.5      private static final String[][] NEGATED_TEST1 = {
     1.6          {BUG_ID + FS + "pkg1" + FS + "C1.html",
     1.7 -            "<a href=\"http://download.oracle.com/javase/7/docs/technotes/guides/index.html\">"
     1.8 +            "<a href=\"https://docs.oracle.com/javase/7/docs/technotes/guides/index.html\">"
     1.9          },
    1.10          {BUG_ID + FS + "pkg1" + FS + "C1.html",
    1.11 -            "<a href=\"http://download.oracle.com/javase/7/docs/pkg2/C2.html\">"
    1.12 +            "<a href=\"https://docs.oracle.com/javase/7/docs/pkg2/C2.html\">"
    1.13          },
    1.14          {BUG_ID + FS + "pkg1" + FS + "package-summary.html",
    1.15 -            "<a href=\"http://download.oracle.com/javase/7/docs/technotes/guides/index.html\">"
    1.16 +            "<a href=\"https://docs.oracle.com/javase/7/docs/technotes/guides/index.html\">"
    1.17          },
    1.18          {BUG_ID + FS + "pkg1" + FS + "package-summary.html",
    1.19 -            "<a href=\"http://download.oracle.com/javase/7/docs/pkg2/C2.html\">"
    1.20 +            "<a href=\"https://docs.oracle.com/javase/7/docs/pkg2/C2.html\">"
    1.21          }
    1.22      };
    1.23      private static final String[][] TEST2 = {
    1.24          {BUG_ID + "-1" + FS + "pkg2" + FS + "C2.html",
    1.25 -            "Refer <a href=\"http://download.oracle.com/javase/7/docs/technotes/guides/index.html\">Here</a>"
    1.26 +            "Refer <a href=\"https://docs.oracle.com/javase/7/docs/technotes/guides/index.html\">Here</a>"
    1.27          },
    1.28          {BUG_ID + "-1" + FS + "pkg2" + FS + "C2.html",
    1.29              "This <a href=\"../pkg1/C1.html\">Here</a> should not be replaced" + NL +
    1.30 @@ -85,7 +85,7 @@
    1.31              " <a href=\"../pkg1/C1.html\">Link 2</a>."
    1.32          },
    1.33          {BUG_ID + "-1" + FS + "pkg2" + FS + "package-summary.html",
    1.34 -            "<a href=\"http://download.oracle.com/javase/7/docs/technotes/guides/index.html\">" + NL +
    1.35 +            "<a href=\"https://docs.oracle.com/javase/7/docs/technotes/guides/index.html\">" + NL +
    1.36              "            Test document 1</a>"
    1.37          },
    1.38          {BUG_ID + "-1" + FS + "pkg2" + FS + "package-summary.html",
    1.39 @@ -100,13 +100,13 @@
    1.40              "<a href=\"../../technotes/guides/index.html\">"
    1.41          },
    1.42          {BUG_ID + "-1" + FS + "pkg2" + FS + "C2.html",
    1.43 -            "<a href=\"http://download.oracle.com/javase/7/docs/pkg1/C1.html\">"
    1.44 +            "<a href=\"https://docs.oracle.com/javase/7/docs/pkg1/C1.html\">"
    1.45          },
    1.46          {BUG_ID + "-1" + FS + "pkg2" + FS + "package-summary.html",
    1.47              "<a href=\"../../technotes/guides/index.html\">"
    1.48          },
    1.49          {BUG_ID + "-1" + FS + "pkg2" + FS + "package-summary.html",
    1.50 -            "<a href=\"http://download.oracle.com/javase/7/docs/pkg1/C1.html\">"
    1.51 +            "<a href=\"https://docs.oracle.com/javase/7/docs/pkg1/C1.html\">"
    1.52          }
    1.53      };
    1.54      private static final String[] ARGS1 =
    1.55 @@ -115,7 +115,7 @@
    1.56      };
    1.57      private static final String[] ARGS2 =
    1.58              new String[]{
    1.59 -        "-d", BUG_ID + "-1", "-Xdocrootparent", "http://download.oracle.com/javase/7/docs", "-sourcepath", SRC_DIR, "pkg1", "pkg2"
    1.60 +        "-d", BUG_ID + "-1", "-Xdocrootparent", "https://docs.oracle.com/javase/7/docs", "-sourcepath", SRC_DIR, "pkg1", "pkg2"
    1.61      };
    1.62  
    1.63      /**

mercurial