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/tools/FontsManagerTest.java

    r11202 r11921  
    1212
    1313import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
     14import net.trajano.commons.testing.UtilityClassTestUtil;
    1415
    1516/**
     
    4243        }
    4344    }
     45
     46    /**
     47     * Tests that {@code FontsManager} satisfies utility class criterias.
     48     * @throws ReflectiveOperationException if an error occurs
     49     */
     50    @Test
     51    public void testUtilityClass() throws ReflectiveOperationException {
     52        UtilityClassTestUtil.assertUtilityClassWellDefined(FontsManager.class);
     53    }
    4454}
Note: See TracChangeset for help on using the changeset viewer.