langtools/test/jdk/javadoc/doclet/testXOption/TestXOption.java
changeset 43875 d0e60aa1f18b
parent 41252 058d83c9b1c7
--- a/langtools/test/jdk/javadoc/doclet/testXOption/TestXOption.java	Wed Feb 15 18:07:28 2017 -0800
+++ b/langtools/test/jdk/javadoc/doclet/testXOption/TestXOption.java	Wed Feb 15 18:30:31 2017 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2017, 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
@@ -62,6 +62,16 @@
     }
 
     @Test
+    void testWithHelpExtraOption() {
+        javadoc("-d", "out1",
+                "-sourcepath", testSrc,
+                "--help-extra",
+                testSrc("TestXOption.java"));
+        checkExit(Exit.OK);
+        checkOutput(true);
+    }
+
+    @Test
     void testWithOption() {
         javadoc("-d", "out1",
                 "-sourcepath", testSrc,