equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2017, 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. |
60 failed(longLines.size() + " long lines"); |
60 failed(longLines.size() + " long lines"); |
61 } |
61 } |
62 } |
62 } |
63 |
63 |
64 @Test |
64 @Test |
|
65 void testWithHelpExtraOption() { |
|
66 javadoc("-d", "out1", |
|
67 "-sourcepath", testSrc, |
|
68 "--help-extra", |
|
69 testSrc("TestXOption.java")); |
|
70 checkExit(Exit.OK); |
|
71 checkOutput(true); |
|
72 } |
|
73 |
|
74 @Test |
65 void testWithOption() { |
75 void testWithOption() { |
66 javadoc("-d", "out1", |
76 javadoc("-d", "out1", |
67 "-sourcepath", testSrc, |
77 "-sourcepath", testSrc, |
68 "-X", |
78 "-X", |
69 testSrc("TestXOption.java")); |
79 testSrc("TestXOption.java")); |