1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2014, 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. |
40 "-d", BUG_ID, "-sourcepath", SRC_DIR, "p" |
40 "-d", BUG_ID, "-sourcepath", SRC_DIR, "p" |
41 }; |
41 }; |
42 |
42 |
43 //Input for string search tests. |
43 //Input for string search tests. |
44 private static final String[][] TEST = { |
44 private static final String[][] TEST = { |
45 { BUG_ID + FS + "p" + FS + "Indent.html", |
45 { BUG_ID + "/p/Indent.html", |
46 "<pre>public <T> void m(T t1," }, |
46 "<pre>public <T> void m(T t1," }, |
47 { BUG_ID + FS + "p" + FS + "Indent.html", |
47 { BUG_ID + "/p/Indent.html", |
48 NL + " T t2)" }, |
48 "\n" + |
49 { BUG_ID + FS + "p" + FS + "Indent.html", |
49 " T t2)" }, |
50 NL + " throws java.lang.Exception" } |
50 { BUG_ID + "/p/Indent.html", |
|
51 "\n" + |
|
52 " throws java.lang.Exception" } |
51 }; |
53 }; |
52 private static final String[][] NEGATED_TEST = NO_TEST; |
54 private static final String[][] NEGATED_TEST = NO_TEST; |
53 |
55 |
54 /** |
56 /** |
55 * The entry point of the test. |
57 * The entry point of the test. |