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/actions/SelectByInternalPointActionTest.java

    r11324 r11921  
    2121
    2222import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
     23import net.trajano.commons.testing.UtilityClassTestUtil;
    2324
    2425/**
     
    3334    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    3435    public JOSMTestRules rules = new JOSMTestRules().preferences().projection();
     36
     37    /**
     38     * Tests that {@code SelectByInternalPointAction} satisfies utility class criterias.
     39     * @throws ReflectiveOperationException if an error occurs
     40     */
     41    @Test
     42    public void testUtilityClass() throws ReflectiveOperationException {
     43        UtilityClassTestUtil.assertUtilityClassWellDefined(SelectByInternalPointAction.class);
     44    }
    3545
    3646    /**
Note: See TracChangeset for help on using the changeset viewer.