test/com/sun/javadoc/DocRootSlash/DocRootSlash.java

changeset 1493
d54b4a091450
parent 554
9d9f26857129
child 2525
2eb010b6cb22
equal deleted inserted replaced
1492:df694c775e8a 1493:d54b4a091450
1 /* 1 /*
2 * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
58 58
59 // Directory that contains source files that javadoc runs on 59 // Directory that contains source files that javadoc runs on
60 String srcdir = System.getProperty("test.src", "."); 60 String srcdir = System.getProperty("test.src", ".");
61 61
62 runJavadoc(new String[] {"-d", TMPDIR_STRING1, 62 runJavadoc(new String[] {"-d", TMPDIR_STRING1,
63 "-Xdoclint:none",
63 "-overview", (srcdir + FS + "overview.html"), 64 "-overview", (srcdir + FS + "overview.html"),
64 "-header", "<A HREF=\"{@docroot}/package-list\">{&#064;docroot}</A> <A HREF=\"{@docRoot}/help-doc\">{&#064;docRoot}</A>", 65 "-header", "<A HREF=\"{@docroot}/package-list\">{&#064;docroot}</A> <A HREF=\"{@docRoot}/help-doc\">{&#064;docRoot}</A>",
65 "-sourcepath", srcdir, 66 "-sourcepath", srcdir,
66 "p1", "p2"}); 67 "p1", "p2"});
67 runTestsOnHTMLFiles(filenameArray); 68 runTestsOnHTMLFiles(filenameArray);

mercurial