Changeset 11921 in josm for trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss
- Timestamp:
- 2017-04-15T20:20:00+02:00 (7 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/ConditionFactoryTest.java
r11562 r11921 6 6 import org.openstreetmap.josm.gui.mappaint.mapcss.Condition.Context; 7 7 import org.openstreetmap.josm.gui.mappaint.mapcss.ConditionFactory.Op; 8 import org.openstreetmap.josm.gui.mappaint.mapcss.ConditionFactory.PseudoClasses; 8 9 import org.openstreetmap.josm.testutils.JOSMTestRules; 9 10 10 11 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 12 import net.trajano.commons.testing.UtilityClassTestUtil; 11 13 12 14 /** … … 30 32 ConditionFactory.createKeyValueCondition("name", "Rodovia ([A-Z]{2,3}-[0-9]{2,4}", Op.REGEX, Context.PRIMITIVE, false); 31 33 } 34 35 /** 36 * Tests that {@code PseudoClasses} satisfies utility class criterias. 37 * @throws ReflectiveOperationException if an error occurs 38 */ 39 @Test 40 public void testUtilityClass() throws ReflectiveOperationException { 41 UtilityClassTestUtil.assertUtilityClassWellDefined(PseudoClasses.class); 42 } 32 43 }
Note:
See TracChangeset
for help on using the changeset viewer.