equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2019, 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. |
35 |
35 |
36 public class TestDocRootLink extends JavadocTester { |
36 public class TestDocRootLink extends JavadocTester { |
37 |
37 |
38 public static void main(String... args) throws Exception { |
38 public static void main(String... args) throws Exception { |
39 TestDocRootLink tester = new TestDocRootLink(); |
39 TestDocRootLink tester = new TestDocRootLink(); |
|
40 |
|
41 // The test files intentionally contain examples of links that should |
|
42 // or should not be affected by the -Xdocrootparent option, and the |
|
43 // results are checked explicitly; so, disable the automatic link |
|
44 // checker to prevent spurious "missing files" errors from some of |
|
45 // these links. |
|
46 tester.setAutomaticCheckLinks(false); |
|
47 |
40 tester.runTests(); |
48 tester.runTests(); |
41 } |
49 } |
42 |
50 |
43 @Test |
51 @Test |
44 public void test1() { |
52 public void test1() { |