8286311: remove boilerplate from use of runTests
Reviewed-by: hannesw
This commit is contained in:
parent
5e2de89628
commit
2294f225c0
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
|
||||
public class T5093723 extends JavadocTester {
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
T5093723 tester = new T5093723();
|
||||
var tester = new T5093723();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
AccessAsciiArt tester = new AccessAsciiArt();
|
||||
var tester = new AccessAsciiArt();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
AccessH1 tester = new AccessH1();
|
||||
var tester = new AccessH1();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
AccessSkipNav tester = new AccessSkipNav();
|
||||
var tester = new AccessSkipNav();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
public static void main(String... args) throws Exception {
|
||||
AccessSummary tester = new AccessSummary();
|
||||
var tester = new AccessSummary();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
AuthorDD tester = new AuthorDD();
|
||||
var tester = new AuthorDD();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
DocRootSlash tester = new DocRootSlash();
|
||||
var tester = new DocRootSlash();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ import javadoc.tester.JavadocTester;
|
||||
|
||||
public class DocTest extends JavadocTester {
|
||||
public static void main(String... args) throws Exception {
|
||||
DocTest tester = new DocTest();
|
||||
var tester = new DocTest();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
JavascriptWinTitle tester = new JavascriptWinTitle();
|
||||
var tester = new JavascriptWinTitle();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
public static void main(String... args) throws Exception {
|
||||
MetaTag tester = new MetaTag();
|
||||
var tester = new MetaTag();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
T6735320 tester = new T6735320();
|
||||
var tester = new T6735320();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
ValidHtml tester = new ValidHtml();
|
||||
var tester = new ValidHtml();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
VersionNumber tester = new VersionNumber();
|
||||
var tester = new VersionNumber();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
WindowTitles tester = new WindowTitles();
|
||||
var tester = new WindowTitles();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestConstantValuesDriver tester = new TestConstantValuesDriver();
|
||||
var tester = new TestConstantValuesDriver();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestDupThrowsTags tester = new TestDupThrowsTags();
|
||||
var tester = new TestDupThrowsTags();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestAbsLinkPath tester = new TestAbsLinkPath();
|
||||
var tester = new TestAbsLinkPath();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestAbstractMethod tester = new TestAbstractMethod();
|
||||
var tester = new TestAbstractMethod();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestAnchorNames tester = new TestAnchorNames();
|
||||
tester.runTests(m -> new Object[] { Paths.get(m.getName()) });
|
||||
var tester = new TestAnchorNames();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
public TestAnchorNames() {
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestAnnotationOptional tester = new TestAnnotationOptional();
|
||||
var tester = new TestAnnotationOptional();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestAnnotationTypes tester = new TestAnnotationTypes();
|
||||
var tester = new TestAnnotationTypes();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestAuthor tester = new TestAuthor();
|
||||
var tester = new TestAuthor();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ import javadoc.tester.JavadocTester;
|
||||
public class TestAutoHeaderId extends JavadocTester {
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestAutoHeaderId tester = new TestAutoHeaderId();
|
||||
var tester = new TestAutoHeaderId();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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;
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestAutoLoadTaglets tester = new TestAutoLoadTaglets();
|
||||
tester.runTests(m -> new Object[]{Paths.get(m.getName())});
|
||||
var tester = new TestAutoLoadTaglets();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
TestAutoLoadTaglets() {
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestBackSlashInLink tester = new TestBackSlashInLink();
|
||||
var tester = new TestBackSlashInLink();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestBadHtml tester = new TestBadHtml();
|
||||
var tester = new TestBadHtml();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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();
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestBadPackageFileInJar tester = new TestBadPackageFileInJar();
|
||||
var tester = new TestBadPackageFileInJar();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
public static void main(String... args) throws Exception {
|
||||
TestBadSourceFile tester = new TestBadSourceFile();
|
||||
var tester = new TestBadSourceFile();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestBaseClass tester = new TestBaseClass();
|
||||
var tester = new TestBaseClass();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
new TestBimodalTaglets().runTests(m -> new Object[] { Path.of(m.getName()) });
|
||||
new TestBimodalTaglets().runTests();
|
||||
}
|
||||
|
||||
ToolBox tb = new ToolBox();
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestBreakIterator tester = new TestBreakIterator();
|
||||
var tester = new TestBreakIterator();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestCRLineSeparator tester = new TestCRLineSeparator();
|
||||
var tester = new TestCRLineSeparator();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestCharset tester = new TestCharset();
|
||||
var tester = new TestCharset();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestCharsetDocencodingOptions tester = new TestCharsetDocencodingOptions();
|
||||
var tester = new TestCharsetDocencodingOptions();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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/";
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestClassCrossReferences tester = new TestClassCrossReferences();
|
||||
var tester = new TestClassCrossReferences();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestClassLinks tester = new TestClassLinks();
|
||||
var tester = new TestClassLinks();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestClassTree tester = new TestClassTree();
|
||||
var tester = new TestClassTree();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestCmndLineClass tester = new TestCmndLineClass();
|
||||
var tester = new TestCmndLineClass();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestCompletionFailure tester = new TestCompletionFailure();
|
||||
var tester = new TestCompletionFailure();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -44,8 +44,8 @@ import toolbox.ToolBox;
|
||||
public class TestConditionalPages extends JavadocTester {
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestConditionalPages tester = new TestConditionalPages();
|
||||
tester.runTests(m -> new Object[] { Path.of(m.getName()) });
|
||||
var tester = new TestConditionalPages();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
ToolBox tb = new ToolBox();
|
||||
|
@ -39,7 +39,7 @@ import toolbox.ToolBox;
|
||||
public class TestConstantValuesPage extends JavadocTester {
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestConstantValuesPage tester = new TestConstantValuesPage();
|
||||
var tester = new TestConstantValuesPage();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestConstructorIndent tester = new TestConstructorIndent();
|
||||
var tester = new TestConstructorIndent();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestConstructors tester = new TestConstructors();
|
||||
var tester = new TestConstructors();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,7 @@ import javadoc.tester.JavadocTester;
|
||||
public class TestCopyFiles extends JavadocTester {
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestCopyFiles tester = new TestCopyFiles();
|
||||
var tester = new TestCopyFiles();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestRegistrationErrors tester = new TestRegistrationErrors();
|
||||
var tester = new TestRegistrationErrors();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -49,8 +49,8 @@ public class TestDateOption extends JavadocTester {
|
||||
* @throws Exception if the test fails
|
||||
*/
|
||||
public static void main(String... args) throws Exception {
|
||||
TestDateOption tester = new TestDateOption();
|
||||
tester.runTests(m -> new Object[] { Path.of(m.getName()) });
|
||||
var tester = new TestDateOption();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
ToolBox tb = new ToolBox();
|
||||
|
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
|
||||
public class TestDeprecatedDocs extends JavadocTester {
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestDeprecatedDocs tester = new TestDeprecatedDocs();
|
||||
var tester = new TestDeprecatedDocs();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestDiagsLineCaret tester = new TestDiagsLineCaret();
|
||||
var tester = new TestDiagsLineCaret();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestDocEncoding tester = new TestDocEncoding();
|
||||
var tester = new TestDocEncoding();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
public static void main(String... args) throws Exception {
|
||||
TestDocErrorReporter tester = new TestDocErrorReporter();
|
||||
var tester = new TestDocErrorReporter();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestDocFileDir tester = new TestDocFileDir();
|
||||
var tester = new TestDocFileDir();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestDocFiles tester = new TestDocFiles();
|
||||
tester.runTests(m -> new Object[] { Path.of(m.getName()) });
|
||||
var tester = new TestDocFiles();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
ToolBox tb = new ToolBox();
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestDocLintOption tester = new TestDocLintOption();
|
||||
var tester = new TestDocLintOption();
|
||||
tester.generateSrc();
|
||||
tester.runTests(m -> new Object[] { Paths.get(m.getName()) });
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
private final ToolBox tb = new ToolBox();
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestDocPaths tester = new TestDocPaths();
|
||||
var tester = new TestDocPaths();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestDocRootInlineTag tester = new TestDocRootInlineTag();
|
||||
var tester = new TestDocRootInlineTag();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 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
|
||||
// or should not be affected by the -Xdocrootparent option, and the
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestDocTreeDiags tester = new TestDocTreeDiags();
|
||||
tester.runTests(m -> new Object[] { Path.of(m.getName())} );
|
||||
var tester = new TestDocTreeDiags();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
ToolBox tb = new ToolBox();
|
||||
|
@ -47,7 +47,7 @@ import java.util.List;
|
||||
public class TestDocLintDocletMessages extends JavadocTester {
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestDocLintDocletMessages tester = new TestDocLintDocletMessages();
|
||||
var tester = new TestDocLintDocletMessages();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
JavadocTester tester = new TestDupParamWarn();
|
||||
var tester = new TestDupParamWarn();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestEmptyClass tester = new TestEmptyClass();
|
||||
var tester = new TestEmptyClass();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestEmptyInheritDoc tester = new TestEmptyInheritDoc();
|
||||
var tester = new TestEmptyInheritDoc();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestEnclosingClass tester = new TestEnclosingClass();
|
||||
var tester = new TestEnclosingClass();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestEncoding tester = new TestEncoding();
|
||||
var tester = new TestEncoding();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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;
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestEnumConstructor tester = new TestEnumConstructor();
|
||||
tester.runTests(m -> new Object[]{Paths.get(m.getName())});
|
||||
var tester = new TestEnumConstructor();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
TestEnumConstructor() {
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestExceptionInheritance tester = new TestExceptionInheritance();
|
||||
tester.runTests(m -> new Object[] { Path.of(m.getName()) });
|
||||
var tester = new TestExceptionInheritance();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
ToolBox tb = new ToolBox();
|
||||
|
@ -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.
|
||||
*
|
||||
* 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";
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestExternalOverriddenMethod tester = new TestExternalOverriddenMethod();
|
||||
var tester = new TestExternalOverriddenMethod();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestGeneratedBy tester = new TestGeneratedBy();
|
||||
var tester = new TestGeneratedBy();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestGeneratedClasses tester = new TestGeneratedClasses();
|
||||
tester.runTests(m -> new Object[]{Path.of(m.getName())});
|
||||
var tester = new TestGeneratedClasses();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
ToolBox tb = new ToolBox();
|
||||
|
@ -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.
|
||||
*
|
||||
* 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;
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestGenericMethodLinkTaglet tester = new TestGenericMethodLinkTaglet();
|
||||
tester.runTests(m -> new Object[]{Paths.get(m.getName())});
|
||||
var tester = new TestGenericMethodLinkTaglet();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
TestGenericMethodLinkTaglet() {
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestGrandParentTypes tester = new TestGrandParentTypes();
|
||||
var tester = new TestGrandParentTypes();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestGroupName tester = new TestGroupName();
|
||||
tester.runTests(m -> new Object[] { Paths.get(m.getName()) });
|
||||
var tester = new TestGroupName();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
public TestGroupName() {
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestGroupOption tester = new TestGroupOption();
|
||||
var tester = new TestGroupOption();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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");
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestHeadTag tester = new TestHeadTag();
|
||||
tester.runTests(m -> new Object[]{Paths.get(m.getName())});
|
||||
var tester = new TestHeadTag();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
TestHeadTag() {
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestHeadings tester = new TestHeadings();
|
||||
var tester = new TestHeadings();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 void main(String... args) throws Exception {
|
||||
TestHelpFile tester = new TestHelpFile();
|
||||
var tester = new TestHelpFile();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestHelpOption tester = new TestHelpOption();
|
||||
var tester = new TestHelpOption();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestHelpPage tester = new TestHelpPage();
|
||||
var tester = new TestHelpPage();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 {
|
||||
TestHiddenMembers tester = new TestHiddenMembers();
|
||||
var tester = new TestHiddenMembers();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestHiddenTag tester = new TestHiddenTag();
|
||||
var tester = new TestHiddenTag();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestHref tester = new TestHref();
|
||||
var tester = new TestHref();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestHrefInDocComment tester = new TestHrefInDocComment();
|
||||
var tester = new TestHrefInDocComment();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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,
|
||||
List.of("/** Comment. */", "public class C { }"));
|
||||
|
||||
TestHtml4Removal tester = new TestHtml4Removal();
|
||||
var tester = new TestHtml4Removal();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestHtmlComments tester = new TestHtmlComments();
|
||||
var tester = new TestHtmlComments();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,7 @@ import javadoc.tester.JavadocTester;
|
||||
public class TestHtmlDefinitionListTag extends JavadocTester {
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestHtmlDefinitionListTag tester = new TestHtmlDefinitionListTag();
|
||||
var tester = new TestHtmlDefinitionListTag();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ public class TestHtmlDocument extends JavadocTester {
|
||||
|
||||
// Entry point
|
||||
public static void main(String... args) throws Exception {
|
||||
TestHtmlDocument tester = new TestHtmlDocument();
|
||||
var tester = new TestHtmlDocument();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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;
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestHtmlLandmarkRegions tester = new TestHtmlLandmarkRegions();
|
||||
tester.runTests(m -> new Object[]{Paths.get(m.getName())});
|
||||
var tester = new TestHtmlLandmarkRegions();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
TestHtmlLandmarkRegions() {
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestHtmlStrongTag tester = new TestHtmlStrongTag();
|
||||
var tester = new TestHtmlStrongTag();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestHtmlTableStyles tester = new TestHtmlTableStyles();
|
||||
var tester = new TestHtmlTableStyles();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,7 @@ public class TestHtmlTableTags extends JavadocTester {
|
||||
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestHtmlTableTags tester = new TestHtmlTableTags();
|
||||
var tester = new TestHtmlTableTags();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 {
|
||||
private static final String defaultLanguage = Locale.getDefault().getLanguage();
|
||||
public static void main(String... args) throws Exception {
|
||||
TestHtmlTag tester = new TestHtmlTag();
|
||||
var tester = new TestHtmlTag();
|
||||
tester.runTests();
|
||||
}
|
||||
@Test
|
||||
|
@ -37,7 +37,7 @@ import javadoc.tester.JavadocTester;
|
||||
public class TestHtmlVersion extends JavadocTester {
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestHtmlVersion tester = new TestHtmlVersion();
|
||||
var tester = new TestHtmlVersion();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestIOException tester = new TestIOException();
|
||||
var tester = new TestIOException();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestIncluded tester = new TestIncluded();
|
||||
var tester = new TestIncluded();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestIndentation tester = new TestIndentation();
|
||||
var tester = new TestIndentation();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestIndex tester = new TestIndex();
|
||||
var tester = new TestIndex();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestIndexFiles tester = new TestIndexFiles();
|
||||
var tester = new TestIndexFiles();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -45,8 +45,8 @@ public class TestIndexInDocFiles extends JavadocTester {
|
||||
final ToolBox tb;
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestIndexInDocFiles tester = new TestIndexInDocFiles();
|
||||
tester.runTests(m -> new Object[] { Paths.get(m.getName()) });
|
||||
var tester = new TestIndexInDocFiles();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
TestIndexInDocFiles() {
|
||||
|
@ -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.
|
||||
*
|
||||
* 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 static void main(String... args) throws Exception {
|
||||
TestIndexInPackageFiles tester = new TestIndexInPackageFiles ();
|
||||
var tester = new TestIndexInPackageFiles ();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* 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;
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestIndexTaglet tester = new TestIndexTaglet();
|
||||
tester.runTests(m -> new Object[] { Paths.get(m.getName()) });
|
||||
var tester = new TestIndexTaglet();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
TestIndexTaglet() {
|
||||
|
@ -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.
|
||||
*
|
||||
* 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;
|
||||
|
||||
public static void main(String... args) throws Exception {
|
||||
TestIndexWithModules tester = new TestIndexWithModules();
|
||||
tester.runTests(m -> new Object[]{Paths.get(m.getName())});
|
||||
var tester = new TestIndexWithModules();
|
||||
tester.runTests();
|
||||
}
|
||||
|
||||
TestIndexWithModules() throws Exception{
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user