test/com/sun/javadoc/typeAnnotations/smoke/TestSmoke.java

changeset 1721
abd153854f16
parent 1682
2b585be0da7a
child 1755
ddb4a2bfcd82
equal deleted inserted replaced
1717:8e27e84de2e9 1721:abd153854f16
1 /* 1 /*
2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2010, 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.
22 */ 22 */
23 23
24 /* 24 /*
25 * @test 25 * @test
26 * @bug 8006735 26 * @bug 8006735
27 * @ignore
28 * @summary Smoke test for ensuring that annotations are emited to javadoc 27 * @summary Smoke test for ensuring that annotations are emited to javadoc
29 * 28 *
30 * @author Mahmood Ali <mali> 29 * @author Mahmood Ali <mali>
31 * @library ../../lib/ 30 * @library ../../lib/
32 * @build JavadocTester 31 * @build JavadocTester
35 */ 34 */
36 35
37 public class TestSmoke extends JavadocTester { 36 public class TestSmoke extends JavadocTester {
38 37
39 //Test information. 38 //Test information.
40 private static final String BUG_ID = "NOT_SPECIFIED_YET"; 39 private static final String BUG_ID = "8006735";
41 40
42 //Javadoc arguments. 41 //Javadoc arguments.
43 private static final String[] ARGS = new String[] { 42 private static final String[] ARGS = new String[] {
44 "-d", BUG_ID, "-private", "-sourcepath", SRC_DIR, "pkg" 43 "-d", BUG_ID, "-private", "-sourcepath", SRC_DIR, "pkg"
45 }; 44 };
46 45
47 //Input for string search tests. 46 //Input for string search tests.
48 private static final String[][] TEST = { 47 private static final String[][] TEST = {
49 {BUG_ID + FS + "pkg" + FS + "T0x1C.html", "@DA"}, 48 {BUG_ID + FS + "pkg" + FS + "T0x1C.html", "@DA"},
49 /* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
50 {BUG_ID + FS + "pkg" + FS + "T0x1D.html", "@DA"}, 50 {BUG_ID + FS + "pkg" + FS + "T0x1D.html", "@DA"},
51 */
52 /* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
51 {BUG_ID + FS + "pkg" + FS + "T0x0D.html", "@DA"}, 53 {BUG_ID + FS + "pkg" + FS + "T0x0D.html", "@DA"},
54 */
52 {BUG_ID + FS + "pkg" + FS + "T0x06.html", "@DA"}, 55 {BUG_ID + FS + "pkg" + FS + "T0x06.html", "@DA"},
56 /* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
53 {BUG_ID + FS + "pkg" + FS + "T0x0B.html", "@DA"}, 57 {BUG_ID + FS + "pkg" + FS + "T0x0B.html", "@DA"},
58 */
59 /* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
54 {BUG_ID + FS + "pkg" + FS + "T0x0F.html", "@DA"}, 60 {BUG_ID + FS + "pkg" + FS + "T0x0F.html", "@DA"},
61 */
62 /* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
55 {BUG_ID + FS + "pkg" + FS + "T0x20.html", "@DA"}, 63 {BUG_ID + FS + "pkg" + FS + "T0x20.html", "@DA"},
64 */
65 /* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
56 {BUG_ID + FS + "pkg" + FS + "T0x22.html", "@DA"}, 66 {BUG_ID + FS + "pkg" + FS + "T0x22.html", "@DA"},
67 */
57 {BUG_ID + FS + "pkg" + FS + "T0x10.html", "@DA"}, 68 {BUG_ID + FS + "pkg" + FS + "T0x10.html", "@DA"},
58 {BUG_ID + FS + "pkg" + FS + "T0x10A.html", "@DA"}, 69 {BUG_ID + FS + "pkg" + FS + "T0x10A.html", "@DA"},
59 {BUG_ID + FS + "pkg" + FS + "T0x12.html", "@DA"}, 70 {BUG_ID + FS + "pkg" + FS + "T0x12.html", "@DA"},
71 /* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
60 {BUG_ID + FS + "pkg" + FS + "T0x11.html", "@DA"}, 72 {BUG_ID + FS + "pkg" + FS + "T0x11.html", "@DA"},
73 */
74 /* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
61 {BUG_ID + FS + "pkg" + FS + "T0x13.html", "@DA"}, 75 {BUG_ID + FS + "pkg" + FS + "T0x13.html", "@DA"},
76 */
77 /* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
62 {BUG_ID + FS + "pkg" + FS + "T0x15.html", "@DA"}, 78 {BUG_ID + FS + "pkg" + FS + "T0x15.html", "@DA"},
79 */
63 {BUG_ID + FS + "pkg" + FS + "T0x14.html", "@DA"}, 80 {BUG_ID + FS + "pkg" + FS + "T0x14.html", "@DA"},
64 {BUG_ID + FS + "pkg" + FS + "T0x16.html", "@DA"} 81 {BUG_ID + FS + "pkg" + FS + "T0x16.html", "@DA"}
65 }; 82 };
66 83
67 private static final String[][] NEGATED_TEST = { 84 private static final String[][] NEGATED_TEST = {

mercurial