8286311: remove boilerplate from use of runTests

Reviewed-by: hannesw
This commit is contained in:
Jonathan Gibbons 2022-12-22 21:20:43 +00:00
parent 5e2de89628
commit 2294f225c0
269 changed files with 559 additions and 559 deletions

View File

@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class T5093723 extends JavadocTester { public class T5093723 extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
T5093723 tester = new T5093723(); var tester = new T5093723();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class AccessAsciiArt extends JavadocTester { public class AccessAsciiArt extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
AccessAsciiArt tester = new AccessAsciiArt(); var tester = new AccessAsciiArt();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class AccessH1 extends JavadocTester { public class AccessH1 extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
AccessH1 tester = new AccessH1(); var tester = new AccessH1();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class AccessSkipNav extends JavadocTester { public class AccessSkipNav extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
AccessSkipNav tester = new AccessSkipNav(); var tester = new AccessSkipNav();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,7 +40,7 @@ public class AccessSummary extends JavadocTester {
* @throws Exception if the test fails * @throws Exception if the test fails
*/ */
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
AccessSummary tester = new AccessSummary(); var tester = new AccessSummary();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,7 +39,7 @@ import javadoc.tester.JavadocTester;
public class AuthorDD extends JavadocTester { public class AuthorDD extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
AuthorDD tester = new AuthorDD(); var tester = new AuthorDD();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,7 +43,7 @@ import javadoc.tester.JavadocTester;
public class DocRootSlash extends JavadocTester { public class DocRootSlash extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
DocRootSlash tester = new DocRootSlash(); var tester = new DocRootSlash();
tester.runTests(); tester.runTests();
} }

View File

@ -35,7 +35,7 @@ import javadoc.tester.JavadocTester;
public class DocTest extends JavadocTester { public class DocTest extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
DocTest tester = new DocTest(); var tester = new DocTest();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class JavascriptWinTitle extends JavadocTester { public class JavascriptWinTitle extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
JavascriptWinTitle tester = new JavascriptWinTitle(); var tester = new JavascriptWinTitle();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,7 +45,7 @@ public class MetaTag extends JavadocTester {
* @throws Exception if the test fails * @throws Exception if the test fails
*/ */
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
MetaTag tester = new MetaTag(); var tester = new MetaTag();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class T6735320 extends JavadocTester { public class T6735320 extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
T6735320 tester = new T6735320(); var tester = new T6735320();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,7 +39,7 @@ import javadoc.tester.JavadocTester;
public class ValidHtml extends JavadocTester { public class ValidHtml extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
ValidHtml tester = new ValidHtml(); var tester = new ValidHtml();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,7 +40,7 @@ import javadoc.tester.JavadocTester;
public class VersionNumber extends JavadocTester { public class VersionNumber extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
VersionNumber tester = new VersionNumber(); var tester = new VersionNumber();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,7 +39,7 @@ import javadoc.tester.JavadocTester;
public class WindowTitles extends JavadocTester { public class WindowTitles extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
WindowTitles tester = new WindowTitles(); var tester = new WindowTitles();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,7 +35,7 @@ import javadoc.tester.JavadocTester;
public class TestConstantValuesDriver extends JavadocTester { public class TestConstantValuesDriver extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestConstantValuesDriver tester = new TestConstantValuesDriver(); var tester = new TestConstantValuesDriver();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,7 +35,7 @@ import javadoc.tester.JavadocTester;
public class TestDupThrowsTags extends JavadocTester { public class TestDupThrowsTags extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDupThrowsTags tester = new TestDupThrowsTags(); var tester = new TestDupThrowsTags();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestAbsLinkPath extends JavadocTester { public class TestAbsLinkPath extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestAbsLinkPath tester = new TestAbsLinkPath(); var tester = new TestAbsLinkPath();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestAbstractMethod extends JavadocTester { public class TestAbstractMethod extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestAbstractMethod tester = new TestAbstractMethod(); var tester = new TestAbstractMethod();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,8 +42,8 @@ public class TestAnchorNames extends JavadocTester {
public final ToolBox tb; public final ToolBox tb;
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestAnchorNames tester = new TestAnchorNames(); var tester = new TestAnchorNames();
tester.runTests(m -> new Object[] { Paths.get(m.getName()) }); tester.runTests();
} }
public TestAnchorNames() { public TestAnchorNames() {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2009, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2009, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestAnnotationOptional extends JavadocTester { public class TestAnnotationOptional extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestAnnotationOptional tester = new TestAnnotationOptional(); var tester = new TestAnnotationOptional();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -38,7 +38,7 @@ import javadoc.tester.JavadocTester;
public class TestAnnotationTypes extends JavadocTester { public class TestAnnotationTypes extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestAnnotationTypes tester = new TestAnnotationTypes(); var tester = new TestAnnotationTypes();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,7 +42,7 @@ import toolbox.ToolBox;
public class TestAuthor extends JavadocTester { public class TestAuthor extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestAuthor tester = new TestAuthor(); var tester = new TestAuthor();
tester.runTests(); tester.runTests();
} }

View File

@ -40,7 +40,7 @@ import javadoc.tester.JavadocTester;
public class TestAutoHeaderId extends JavadocTester { public class TestAutoHeaderId extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestAutoHeaderId tester = new TestAutoHeaderId(); var tester = new TestAutoHeaderId();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -50,8 +50,8 @@ public class TestAutoLoadTaglets extends JavadocTester {
final ToolBox tb; final ToolBox tb;
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestAutoLoadTaglets tester = new TestAutoLoadTaglets(); var tester = new TestAutoLoadTaglets();
tester.runTests(m -> new Object[]{Paths.get(m.getName())}); tester.runTests();
} }
TestAutoLoadTaglets() { TestAutoLoadTaglets() {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestBackSlashInLink extends JavadocTester { public class TestBackSlashInLink extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestBackSlashInLink tester = new TestBackSlashInLink(); var tester = new TestBackSlashInLink();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestBadHtml extends JavadocTester { public class TestBadHtml extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestBadHtml tester = new TestBadHtml(); var tester = new TestBadHtml();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -47,7 +47,7 @@ public class TestBadPackageFileInJar extends JavadocTester {
final ToolBox tb = new ToolBox(); final ToolBox tb = new ToolBox();
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestBadPackageFileInJar tester = new TestBadPackageFileInJar(); var tester = new TestBadPackageFileInJar();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,7 +42,7 @@ public class TestBadSourceFile extends JavadocTester {
* @throws Exception if the test fails * @throws Exception if the test fails
*/ */
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestBadSourceFile tester = new TestBadSourceFile(); var tester = new TestBadSourceFile();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestBaseClass extends JavadocTester { public class TestBaseClass extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestBaseClass tester = new TestBaseClass(); var tester = new TestBaseClass();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -49,7 +49,7 @@ import toolbox.ToolBox;
public class TestBimodalTaglets extends JavadocTester implements Taglet { public class TestBimodalTaglets extends JavadocTester implements Taglet {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
new TestBimodalTaglets().runTests(m -> new Object[] { Path.of(m.getName()) }); new TestBimodalTaglets().runTests();
} }
ToolBox tb = new ToolBox(); ToolBox tb = new ToolBox();

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,7 +39,7 @@ import javadoc.tester.JavadocTester;
public class TestBreakIterator extends JavadocTester { public class TestBreakIterator extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestBreakIterator tester = new TestBreakIterator(); var tester = new TestBreakIterator();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,7 +39,7 @@ import javadoc.tester.JavadocTester;
public class TestCRLineSeparator extends JavadocTester { public class TestCRLineSeparator extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestCRLineSeparator tester = new TestCRLineSeparator(); var tester = new TestCRLineSeparator();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestCharset extends JavadocTester { public class TestCharset extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestCharset tester = new TestCharset(); var tester = new TestCharset();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestCharsetDocencodingOptions extends JavadocTester { public class TestCharsetDocencodingOptions extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestCharsetDocencodingOptions tester = new TestCharsetDocencodingOptions(); var tester = new TestCharsetDocencodingOptions();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,7 +39,7 @@ public class TestClassCrossReferences extends JavadocTester {
static final String uri = "http://docs.oracle.com/javase/8/docs/api/"; static final String uri = "http://docs.oracle.com/javase/8/docs/api/";
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestClassCrossReferences tester = new TestClassCrossReferences(); var tester = new TestClassCrossReferences();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestClassLinks extends JavadocTester { public class TestClassLinks extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestClassLinks tester = new TestClassLinks(); var tester = new TestClassLinks();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,7 +39,7 @@ import javadoc.tester.JavadocTester;
public class TestClassTree extends JavadocTester { public class TestClassTree extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestClassTree tester = new TestClassTree(); var tester = new TestClassTree();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -38,7 +38,7 @@ import javadoc.tester.JavadocTester;
public class TestCmndLineClass extends JavadocTester { public class TestCmndLineClass extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestCmndLineClass tester = new TestCmndLineClass(); var tester = new TestCmndLineClass();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestCompletionFailure extends JavadocTester { public class TestCompletionFailure extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestCompletionFailure tester = new TestCompletionFailure(); var tester = new TestCompletionFailure();
tester.runTests(); tester.runTests();
} }

View File

@ -44,8 +44,8 @@ import toolbox.ToolBox;
public class TestConditionalPages extends JavadocTester { public class TestConditionalPages extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestConditionalPages tester = new TestConditionalPages(); var tester = new TestConditionalPages();
tester.runTests(m -> new Object[] { Path.of(m.getName()) }); tester.runTests();
} }
ToolBox tb = new ToolBox(); ToolBox tb = new ToolBox();

View File

@ -39,7 +39,7 @@ import toolbox.ToolBox;
public class TestConstantValuesPage extends JavadocTester { public class TestConstantValuesPage extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestConstantValuesPage tester = new TestConstantValuesPage(); var tester = new TestConstantValuesPage();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestConstructorIndent extends JavadocTester { public class TestConstructorIndent extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestConstructorIndent tester = new TestConstructorIndent(); var tester = new TestConstructorIndent();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestConstructors extends JavadocTester { public class TestConstructors extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestConstructors tester = new TestConstructors(); var tester = new TestConstructors();
tester.runTests(); tester.runTests();
} }

View File

@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestCopyFiles extends JavadocTester { public class TestCopyFiles extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestCopyFiles tester = new TestCopyFiles(); var tester = new TestCopyFiles();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,7 +42,7 @@ import javadoc.tester.JavadocTester;
public class TestRegistrationErrors extends JavadocTester { public class TestRegistrationErrors extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestRegistrationErrors tester = new TestRegistrationErrors(); var tester = new TestRegistrationErrors();
tester.runTests(); tester.runTests();
} }

View File

@ -49,8 +49,8 @@ public class TestDateOption extends JavadocTester {
* @throws Exception if the test fails * @throws Exception if the test fails
*/ */
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDateOption tester = new TestDateOption(); var tester = new TestDateOption();
tester.runTests(m -> new Object[] { Path.of(m.getName()) }); tester.runTests();
} }
ToolBox tb = new ToolBox(); ToolBox tb = new ToolBox();

View File

@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestDeprecatedDocs extends JavadocTester { public class TestDeprecatedDocs extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDeprecatedDocs tester = new TestDeprecatedDocs(); var tester = new TestDeprecatedDocs();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,7 +40,7 @@ import toolbox.ToolBox;
public class TestDiagsLineCaret extends JavadocTester { public class TestDiagsLineCaret extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDiagsLineCaret tester = new TestDiagsLineCaret(); var tester = new TestDiagsLineCaret();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,7 +43,7 @@ import javadoc.tester.JavadocTester;
public class TestDocEncoding extends JavadocTester { public class TestDocEncoding extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDocEncoding tester = new TestDocEncoding(); var tester = new TestDocEncoding();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,7 +42,7 @@ public class TestDocErrorReporter extends JavadocTester {
* @throws Exception if the test fails * @throws Exception if the test fails
*/ */
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDocErrorReporter tester = new TestDocErrorReporter(); var tester = new TestDocErrorReporter();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,7 +40,7 @@ import toolbox.ToolBox;
public class TestDocFileDir extends JavadocTester { public class TestDocFileDir extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDocFileDir tester = new TestDocFileDir(); var tester = new TestDocFileDir();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,8 +42,8 @@ import javadoc.tester.JavadocTester;
public class TestDocFiles extends JavadocTester { public class TestDocFiles extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDocFiles tester = new TestDocFiles(); var tester = new TestDocFiles();
tester.runTests(m -> new Object[] { Path.of(m.getName()) }); tester.runTests();
} }
ToolBox tb = new ToolBox(); ToolBox tb = new ToolBox();

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -53,9 +53,9 @@ import toolbox.ToolBox;
public class TestDocLintOption extends JavadocTester { public class TestDocLintOption extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDocLintOption tester = new TestDocLintOption(); var tester = new TestDocLintOption();
tester.generateSrc(); tester.generateSrc();
tester.runTests(m -> new Object[] { Paths.get(m.getName()) }); tester.runTests();
} }
private final ToolBox tb = new ToolBox(); private final ToolBox tb = new ToolBox();

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import toolbox.TestRunner;
public class TestDocPaths extends TestRunner { public class TestDocPaths extends TestRunner {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDocPaths tester = new TestDocPaths(); var tester = new TestDocPaths();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -38,7 +38,7 @@ import javadoc.tester.JavadocTester;
public class TestDocRootInlineTag extends JavadocTester { public class TestDocRootInlineTag extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDocRootInlineTag tester = new TestDocRootInlineTag(); var tester = new TestDocRootInlineTag();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,7 +35,7 @@ import javadoc.tester.JavadocTester;
public class TestDocRootLink extends JavadocTester { public class TestDocRootLink extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDocRootLink tester = new TestDocRootLink(); var tester = new TestDocRootLink();
// The test files intentionally contain examples of links that should // The test files intentionally contain examples of links that should
// or should not be affected by the -Xdocrootparent option, and the // or should not be affected by the -Xdocrootparent option, and the

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -65,8 +65,8 @@ import toolbox.ToolBox;
public class TestDocTreeDiags extends JavadocTester { public class TestDocTreeDiags extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDocTreeDiags tester = new TestDocTreeDiags(); var tester = new TestDocTreeDiags();
tester.runTests(m -> new Object[] { Path.of(m.getName())} ); tester.runTests();
} }
ToolBox tb = new ToolBox(); ToolBox tb = new ToolBox();

View File

@ -47,7 +47,7 @@ import java.util.List;
public class TestDocLintDocletMessages extends JavadocTester { public class TestDocLintDocletMessages extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestDocLintDocletMessages tester = new TestDocLintDocletMessages(); var tester = new TestDocLintDocletMessages();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestDupParamWarn extends JavadocTester { public class TestDupParamWarn extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
JavadocTester tester = new TestDupParamWarn(); var tester = new TestDupParamWarn();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestEmptyClass extends JavadocTester { public class TestEmptyClass extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestEmptyClass tester = new TestEmptyClass(); var tester = new TestEmptyClass();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,7 +42,7 @@ import toolbox.ToolBox;
public class TestEmptyInheritDoc extends JavadocTester { public class TestEmptyInheritDoc extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestEmptyInheritDoc tester = new TestEmptyInheritDoc(); var tester = new TestEmptyInheritDoc();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestEnclosingClass extends JavadocTester { public class TestEnclosingClass extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestEnclosingClass tester = new TestEnclosingClass(); var tester = new TestEnclosingClass();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestEncoding extends JavadocTester { public class TestEncoding extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestEncoding tester = new TestEncoding(); var tester = new TestEncoding();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -44,8 +44,8 @@ public class TestEnumConstructor extends JavadocTester {
final ToolBox tb; final ToolBox tb;
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestEnumConstructor tester = new TestEnumConstructor(); var tester = new TestEnumConstructor();
tester.runTests(m -> new Object[]{Paths.get(m.getName())}); tester.runTests();
} }
TestEnumConstructor() { TestEnumConstructor() {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,8 +40,8 @@ import toolbox.ToolBox;
public class TestExceptionInheritance extends JavadocTester { public class TestExceptionInheritance extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestExceptionInheritance tester = new TestExceptionInheritance(); var tester = new TestExceptionInheritance();
tester.runTests(m -> new Object[] { Path.of(m.getName()) }); tester.runTests();
} }
ToolBox tb = new ToolBox(); ToolBox tb = new ToolBox();

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,7 +39,7 @@ public class TestExternalOverriddenMethod extends JavadocTester {
static final String uri = "http://java.sun.com/j2se/1.4.1/docs/api"; static final String uri = "http://java.sun.com/j2se/1.4.1/docs/api";
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestExternalOverriddenMethod tester = new TestExternalOverriddenMethod(); var tester = new TestExternalOverriddenMethod();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestGeneratedBy extends JavadocTester { public class TestGeneratedBy extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestGeneratedBy tester = new TestGeneratedBy(); var tester = new TestGeneratedBy();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,8 +39,8 @@ import toolbox.ToolBox;
public class TestGeneratedClasses extends JavadocTester { public class TestGeneratedClasses extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestGeneratedClasses tester = new TestGeneratedClasses(); var tester = new TestGeneratedClasses();
tester.runTests(m -> new Object[]{Path.of(m.getName())}); tester.runTests();
} }
ToolBox tb = new ToolBox(); ToolBox tb = new ToolBox();

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,8 +45,8 @@ public class TestGenericMethodLinkTaglet extends JavadocTester {
final ToolBox tb; final ToolBox tb;
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestGenericMethodLinkTaglet tester = new TestGenericMethodLinkTaglet(); var tester = new TestGenericMethodLinkTaglet();
tester.runTests(m -> new Object[]{Paths.get(m.getName())}); tester.runTests();
} }
TestGenericMethodLinkTaglet() { TestGenericMethodLinkTaglet() {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestGrandParentTypes extends JavadocTester { public class TestGrandParentTypes extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestGrandParentTypes tester = new TestGrandParentTypes(); var tester = new TestGrandParentTypes();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,8 +42,8 @@ public class TestGroupName extends JavadocTester {
public final ToolBox tb; public final ToolBox tb;
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestGroupName tester = new TestGroupName(); var tester = new TestGroupName();
tester.runTests(m -> new Object[] { Paths.get(m.getName()) }); tester.runTests();
} }
public TestGroupName() { public TestGroupName() {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestGroupOption extends JavadocTester { public class TestGroupOption extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestGroupOption tester = new TestGroupOption(); var tester = new TestGroupOption();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -47,8 +47,8 @@ public class TestHeadTag extends JavadocTester {
final String version = System.getProperty("java.specification.version"); final String version = System.getProperty("java.specification.version");
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHeadTag tester = new TestHeadTag(); var tester = new TestHeadTag();
tester.runTests(m -> new Object[]{Paths.get(m.getName())}); tester.runTests();
} }
TestHeadTag() { TestHeadTag() {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestHeadings extends JavadocTester { public class TestHeadings extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHeadings tester = new TestHeadings(); var tester = new TestHeadings();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -38,7 +38,7 @@ public class TestHelpFile extends JavadocTester {
public static final int ZERO = 0; public static final int ZERO = 0;
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHelpFile tester = new TestHelpFile(); var tester = new TestHelpFile();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,7 +39,7 @@ import javadoc.tester.JavadocTester;
public class TestHelpOption extends JavadocTester { public class TestHelpOption extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHelpOption tester = new TestHelpOption(); var tester = new TestHelpOption();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,7 +40,7 @@ import java.util.regex.Pattern;
public class TestHelpPage extends JavadocTester { public class TestHelpPage extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHelpPage tester = new TestHelpPage(); var tester = new TestHelpPage();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,7 +45,7 @@ public class TestHiddenMembers extends JavadocTester {
}; };
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHiddenMembers tester = new TestHiddenMembers(); var tester = new TestHiddenMembers();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestHiddenTag extends JavadocTester { public class TestHiddenTag extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHiddenTag tester = new TestHiddenTag(); var tester = new TestHiddenTag();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestHref extends JavadocTester { public class TestHref extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHref tester = new TestHref(); var tester = new TestHref();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestHrefInDocComment extends JavadocTester { public class TestHrefInDocComment extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHrefInDocComment tester = new TestHrefInDocComment(); var tester = new TestHrefInDocComment();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -44,7 +44,7 @@ public class TestHtml4Removal extends JavadocTester {
Files.write(testFile, Files.write(testFile,
List.of("/** Comment. */", "public class C { }")); List.of("/** Comment. */", "public class C { }"));
TestHtml4Removal tester = new TestHtml4Removal(); var tester = new TestHtml4Removal();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestHtmlComments extends JavadocTester { public class TestHtmlComments extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHtmlComments tester = new TestHtmlComments(); var tester = new TestHtmlComments();
tester.runTests(); tester.runTests();
} }

View File

@ -41,7 +41,7 @@ import javadoc.tester.JavadocTester;
public class TestHtmlDefinitionListTag extends JavadocTester { public class TestHtmlDefinitionListTag extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHtmlDefinitionListTag tester = new TestHtmlDefinitionListTag(); var tester = new TestHtmlDefinitionListTag();
tester.runTests(); tester.runTests();
} }

View File

@ -46,7 +46,7 @@ public class TestHtmlDocument extends JavadocTester {
// Entry point // Entry point
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHtmlDocument tester = new TestHtmlDocument(); var tester = new TestHtmlDocument();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -51,8 +51,8 @@ public class TestHtmlLandmarkRegions extends JavadocTester {
final ToolBox tb; final ToolBox tb;
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHtmlLandmarkRegions tester = new TestHtmlLandmarkRegions(); var tester = new TestHtmlLandmarkRegions();
tester.runTests(m -> new Object[]{Paths.get(m.getName())}); tester.runTests();
} }
TestHtmlLandmarkRegions() { TestHtmlLandmarkRegions() {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1999, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestHtmlStrongTag extends JavadocTester { public class TestHtmlStrongTag extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHtmlStrongTag tester = new TestHtmlStrongTag(); var tester = new TestHtmlStrongTag();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestHtmlTableStyles extends JavadocTester { public class TestHtmlTableStyles extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHtmlTableStyles tester = new TestHtmlTableStyles(); var tester = new TestHtmlTableStyles();
tester.runTests(); tester.runTests();
} }

View File

@ -42,7 +42,7 @@ public class TestHtmlTableTags extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHtmlTableTags tester = new TestHtmlTableTags(); var tester = new TestHtmlTableTags();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2009, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2009, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -38,7 +38,7 @@ import javadoc.tester.JavadocTester;
public class TestHtmlTag extends JavadocTester { public class TestHtmlTag extends JavadocTester {
private static final String defaultLanguage = Locale.getDefault().getLanguage(); private static final String defaultLanguage = Locale.getDefault().getLanguage();
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHtmlTag tester = new TestHtmlTag(); var tester = new TestHtmlTag();
tester.runTests(); tester.runTests();
} }
@Test @Test

View File

@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
public class TestHtmlVersion extends JavadocTester { public class TestHtmlVersion extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestHtmlVersion tester = new TestHtmlVersion(); var tester = new TestHtmlVersion();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -49,7 +49,7 @@ import javadoc.tester.JavadocTester;
public class TestIOException extends JavadocTester { public class TestIOException extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestIOException tester = new TestIOException(); var tester = new TestIOException();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestIncluded extends JavadocTester { public class TestIncluded extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestIncluded tester = new TestIncluded(); var tester = new TestIncluded();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2013, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestIndentation extends JavadocTester { public class TestIndentation extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestIndentation tester = new TestIndentation(); var tester = new TestIndentation();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -38,7 +38,7 @@ import javadoc.tester.JavadocTester;
public class TestIndex extends JavadocTester { public class TestIndex extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestIndex tester = new TestIndex(); var tester = new TestIndex();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
public class TestIndexFiles extends JavadocTester { public class TestIndexFiles extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestIndexFiles tester = new TestIndexFiles(); var tester = new TestIndexFiles();
tester.runTests(); tester.runTests();
} }

View File

@ -45,8 +45,8 @@ public class TestIndexInDocFiles extends JavadocTester {
final ToolBox tb; final ToolBox tb;
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestIndexInDocFiles tester = new TestIndexInDocFiles(); var tester = new TestIndexInDocFiles();
tester.runTests(m -> new Object[] { Paths.get(m.getName()) }); tester.runTests();
} }
TestIndexInDocFiles() { TestIndexInDocFiles() {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,7 +40,7 @@ import toolbox.ToolBox;
public class TestIndexInPackageFiles extends JavadocTester { public class TestIndexInPackageFiles extends JavadocTester {
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestIndexInPackageFiles tester = new TestIndexInPackageFiles (); var tester = new TestIndexInPackageFiles ();
tester.runTests(); tester.runTests();
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -46,8 +46,8 @@ public class TestIndexTaglet extends JavadocTester {
final ToolBox tb; final ToolBox tb;
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestIndexTaglet tester = new TestIndexTaglet(); var tester = new TestIndexTaglet();
tester.runTests(m -> new Object[] { Paths.get(m.getName()) }); tester.runTests();
} }
TestIndexTaglet() { TestIndexTaglet() {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -50,8 +50,8 @@ public class TestIndexWithModules extends JavadocTester {
private final Path src; private final Path src;
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
TestIndexWithModules tester = new TestIndexWithModules(); var tester = new TestIndexWithModules();
tester.runTests(m -> new Object[]{Paths.get(m.getName())}); tester.runTests();
} }
TestIndexWithModules() throws Exception{ TestIndexWithModules() throws Exception{

Some files were not shown because too many files have changed in this diff Show More