Changeset 18974 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2024-02-12T23:00:59+01:00 (7 months ago)
Author:
taylor.smock
Message:

Fix #23465: Remove custom checkstyle plugin

TopLevelJavadocCheck.java is duplicating functionality from MissingJavadocType.
Our custom class is from #14794 (closed 2017-10-16). The check that makes it
redundant was added in checkstyle 8.20 (released 2019-04-28).

This adds the missing javadocs for the more comprehensive checkstyle version.

Location:
trunk/test/unit/org/openstreetmap/josm/testutils
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/testutils/PluginServer.java

    r18694 r18974  
    2525import org.openstreetmap.josm.tools.Logging;
    2626
     27/**
     28 * Serve "remote" test plugins for tests
     29 */
    2730public class PluginServer {
     31    /**
     32     * A holder class for a "remote" plugin for tests
     33     */
    2834    public static class RemotePlugin {
    2935        private final File srcJar;
     
    226232    }
    227233
     234    /**
     235     * A wiremock server rule for serving plugins
     236     */
    228237    public class PluginServerRule extends WireMockExtension {
    229238        public PluginServerRule(Options ruleOptions, boolean failOnUnmatchedRequests) {
  • trunk/test/unit/org/openstreetmap/josm/testutils/annotations/ResetUniquePrimitiveIdCounters.java

    r18870 r18974  
    3737@ExtendWith(ResetUniquePrimitiveIdCounters.Reset.class)
    3838public @interface ResetUniquePrimitiveIdCounters {
     39    /**
     40     * Reset the id counters for {@link Node}, {@link Way}, and {@link Relation}
     41     * {@link org.openstreetmap.josm.data.osm.AbstractPrimitive#getIdGenerator} calls.
     42     */
    3943    class Reset implements BeforeEachCallback {
    4044        private static AtomicLong[] ID_COUNTERS;
  • trunk/test/unit/org/openstreetmap/josm/testutils/annotations/TaggingPresets.java

    r18958 r18974  
    3232public @interface TaggingPresets {
    3333
     34    /**
     35     * Reset the tagging presets between each test -- presets will be reset if they are changed.
     36     */
    3437    class TaggingPresetsExtension implements BeforeEachCallback, BeforeAllCallback {
    3538        private static int expectedHashcode = 0;
  • trunk/test/unit/org/openstreetmap/josm/testutils/annotations/TestUser.java

    r18821 r18974  
    3333@Target({ElementType.TYPE, ElementType.METHOD})
    3434public @interface TestUser {
     35    /**
     36     * Initialize a user for tests
     37     */
    3538    class TestUserExtension implements BeforeAllCallback, BeforeEachCallback, AfterEachCallback {
    3639        @Override
  • trunk/test/unit/org/openstreetmap/josm/testutils/annotations/Timezone.java

    r18694 r18974  
    2121@ExtendWith(Timezone.TimezoneExtension.class)
    2222public @interface Timezone {
     23    /**
     24     * Set the default timezone for tests (UTC)
     25     */
    2326    class TimezoneExtension implements BeforeEachCallback {
    2427        @Override
Note: See TracChangeset for help on using the changeset viewer.