changeset 23971 | f5ff1f5a8dee |
parent 21478 | fa4c7cda1b41 |
child 24065 | fc4022e50129 |
--- a/langtools/test/com/sun/javadoc/testClassCrossReferences/TestClassCrossReferences.java Tue Apr 15 15:55:24 2014 -0700 +++ b/langtools/test/com/sun/javadoc/testClassCrossReferences/TestClassCrossReferences.java Wed Apr 16 16:17:09 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,20 +36,21 @@ private static final String BUG_ID = "4652655-4857717"; private static final String[][] TEST = { - {BUG_ID + FS + "C.html", + {BUG_ID + "/C.html", "<a href=\"http://java.sun.com/j2se/1.4/docs/api/java/math/package-summary.html?is-external=true\"><code>Link to math package</code></a>"}, - {BUG_ID + FS + "C.html", + {BUG_ID + "/C.html", "<a href=\"http://java.sun.com/j2se/1.4/docs/api/javax/swing/text/AbstractDocument.AttributeContext.html?is-external=true\" " + "title=\"class or interface in javax.swing.text\"><code>Link to AttributeContext innerclass</code></a>"}, - {BUG_ID + FS + "C.html", + {BUG_ID + "/C.html", "<a href=\"http://java.sun.com/j2se/1.4/docs/api/java/math/BigDecimal.html?is-external=true\" " + "title=\"class or interface in java.math\"><code>Link to external class BigDecimal</code></a>"}, - {BUG_ID + FS + "C.html", + {BUG_ID + "/C.html", "<a href=\"http://java.sun.com/j2se/1.4/docs/api/java/math/BigInteger.html?is-external=true#gcd-java.math.BigInteger-\" " + "title=\"class or interface in java.math\"><code>Link to external member gcd</code></a>"}, - {BUG_ID + FS + "C.html", - "<dl>" + NL + "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>" + NL + - "<dd><code>toString</code> in class <code>java.lang.Object</code></dd>" + NL + + {BUG_ID + "/C.html", + "<dl>\n" + + "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>\n" + + "<dd><code>toString</code> in class <code>java.lang.Object</code></dd>\n" + "</dl>"} }; private static final String[][] NEGATED_TEST = NO_TEST; @@ -57,7 +58,7 @@ new String[] { "-d", BUG_ID, "-sourcepath", SRC_DIR, "-linkoffline", "http://java.sun.com/j2se/1.4/docs/api/", - SRC_DIR, SRC_DIR + FS + "C.java"}; + SRC_DIR, SRC_DIR + "/C.java"}; /** * The entry point of the test.