equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2016, 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. |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
|
26 * @bug 8149524 |
26 * @summary Test SourceCodeAnalysis |
27 * @summary Test SourceCodeAnalysis |
27 * @build KullaTesting TestingInputStream |
28 * @build KullaTesting TestingInputStream |
28 * @run testng CompletenessTest |
29 * @run testng CompletenessTest |
29 */ |
30 */ |
30 |
31 |
58 "try { } catch (Exception ex) { }", |
59 "try { } catch (Exception ex) { }", |
59 "try { } catch (Exception ex) { } finally { }", |
60 "try { } catch (Exception ex) { } finally { }", |
60 "try { } finally { }", |
61 "try { } finally { }", |
61 "try (java.util.zip.ZipFile zf = new java.util.zip.ZipFile(zipFileName)) { }", |
62 "try (java.util.zip.ZipFile zf = new java.util.zip.ZipFile(zipFileName)) { }", |
62 "foo: while (true) { printf(\"Innn\"); break foo; }", |
63 "foo: while (true) { printf(\"Innn\"); break foo; }", |
|
64 "class Case<E1 extends Enum<E1>, E2 extends Enum<E2>, E3 extends Enum<E3>> {}", |
63 ";", |
65 ";", |
64 }; |
66 }; |
65 |
67 |
66 static final String[] expression = new String[] { |
68 static final String[] expression = new String[] { |
67 "test", |
69 "test", |