Changeset 11921 in josm for trunk/test/unit/org/openstreetmap/josm/actions/OrthogonalizeActionTest.java
- Timestamp:
- 2017-04-15T20:20:00+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/OrthogonalizeActionTest.java
r10945 r11921 23 23 24 24 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 25 import net.trajano.commons.testing.UtilityClassTestUtil; 25 26 26 27 /** … … 34 35 @Rule 35 36 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 36 public JOSMTestRules test = new JOSMTestRules() ;37 public JOSMTestRules test = new JOSMTestRules().projection(); 37 38 38 39 @Test(expected = OrthogonalizeAction.InvalidUserInputException.class) … … 84 85 } 85 86 87 /** 88 * Tests that {@code OrthogonalizeAction.EN} satisfies utility class criterias. 89 * @throws ReflectiveOperationException if an error occurs 90 */ 91 @Test 92 public void testUtilityClass() throws ReflectiveOperationException { 93 UtilityClassTestUtil.assertUtilityClassWellDefined(OrthogonalizeAction.EN.class); 94 } 95 86 96 DataSet performTest(String... search) throws Exception { 87 97 try (FileInputStream in = new FileInputStream(TestUtils.getTestDataRoot() + "orthogonalize.osm")) {
Note:
See TracChangeset
for help on using the changeset viewer.