Changeset 11921 in josm for trunk/test/unit/org/openstreetmap/josm/tools/date
- Timestamp:
- 2017-04-15T20:20:00+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/date/DateUtilsTest.java
r11486 r11921 16 16 17 17 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 18 import net.trajano.commons.testing.UtilityClassTestUtil; 18 19 19 20 /** … … 30 31 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 31 32 public JOSMTestRules test = new JOSMTestRules().i18n().preferences(); 33 34 /** 35 * Tests that {@code DateUtils} satisfies utility class criterias. 36 * @throws ReflectiveOperationException if an error occurs 37 */ 38 @Test 39 public void testUtilityClass() throws ReflectiveOperationException { 40 UtilityClassTestUtil.assertUtilityClassWellDefined(DateUtils.class); 41 } 32 42 33 43 /** … … 209 219 } 210 220 } 211 212 /**213 * Unit test to reach 100% code coverage.214 */215 @Test216 @SuppressFBWarnings(value = "ISC_INSTANTIATE_STATIC_CLASS")217 public void testCoverage() {218 assertNotNull(new DateUtils());219 }220 221 }
Note:
See TracChangeset
for help on using the changeset viewer.