Ignore:
Timestamp:
2017-04-15T20:20:00+02:00 (7 years ago)
Author:
Don-vip
Message:

improve unit test coverage of utilities classes thanks to https://trajano.github.io/commons-testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/corrector/ReverseWayTagCorrectorTest.java

    r11069 r11921  
    1919
    2020import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
     21import net.trajano.commons.testing.UtilityClassTestUtil;
    2122
    2223/**
     
    3132    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    3233    public JOSMTestRules test = new JOSMTestRules();
     34
     35    /**
     36     * Tests that {@code ReverseWayTagCorrector.TagSwitcher} satisfies utility class criterias.
     37     * @throws ReflectiveOperationException if an error occurs
     38     */
     39    @Test
     40    public void testUtilityClass() throws ReflectiveOperationException {
     41        UtilityClassTestUtil.assertUtilityClassWellDefined(ReverseWayTagCorrector.TagSwitcher.class);
     42    }
    3343
    3444    /**
Note: See TracChangeset for help on using the changeset viewer.