Changeset 17677 in josm for trunk/test/unit/org/openstreetmap/josm/gui/preferences
- Timestamp:
- 2021-03-27T15:38:17+01:00 (3 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/gui/preferences
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/preferences/map/MapPaintPreferenceTestIT.java
r17531 r17677 2 2 package org.openstreetmap.josm.gui.preferences.map; 3 3 4 import static org.junit.Assume.assumeFalse;5 import static org.junit.Assume.assumeTrue;6 4 import static org.junit.jupiter.api.Assertions.assertTrue; 5 import static org.junit.jupiter.api.Assumptions.assumeFalse; 6 import static org.junit.jupiter.api.Assumptions.assumeTrue; 7 7 8 8 import java.io.IOException; … … 105 105 // See https://github.com/apache/ant/pull/121 106 106 assertTrue(errors.isEmpty() && warnings.isEmpty(), displayName + " => " + errors + '\n' + warnings); 107 assumeTrue(ignoredErrors. toString(), ignoredErrors.isEmpty());107 assumeTrue(ignoredErrors.isEmpty(), ignoredErrors.toString()); 108 108 } 109 109 } -
trunk/test/unit/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreferenceTestIT.java
r17536 r17677 2 2 package org.openstreetmap.josm.gui.preferences.map; 3 3 4 import static org.junit.Assume.assumeFalse;5 import static org.junit.Assume.assumeTrue;6 4 import static org.junit.jupiter.api.Assertions.assertFalse; 7 5 import static org.junit.jupiter.api.Assertions.assertTrue; 6 import static org.junit.jupiter.api.Assumptions.assumeFalse; 7 import static org.junit.jupiter.api.Assumptions.assumeTrue; 8 8 9 9 import java.io.IOException; … … 104 104 // See https://github.com/apache/ant/pull/121 105 105 assertTrue(errors.isEmpty(), displayName + " => " + errors); 106 assumeTrue(ignoredErrors. toString(), ignoredErrors.isEmpty());106 assumeTrue(ignoredErrors.isEmpty(), ignoredErrors.toString()); 107 107 } 108 108 -
trunk/test/unit/org/openstreetmap/josm/gui/preferences/validator/ValidatorTagCheckerRulesPreferenceTestIT.java
r17531 r17677 2 2 package org.openstreetmap.josm.gui.preferences.validator; 3 3 4 import static org.junit.Assume.assumeFalse;5 import static org.junit.Assume.assumeTrue;6 4 import static org.junit.jupiter.api.Assertions.assertFalse; 7 5 import static org.junit.jupiter.api.Assertions.assertTrue; 6 import static org.junit.jupiter.api.Assumptions.assumeFalse; 7 import static org.junit.jupiter.api.Assumptions.assumeTrue; 8 8 9 9 import java.io.IOException; … … 89 89 // See https://github.com/apache/ant/pull/121 90 90 assertTrue(errors.isEmpty(), displayName + " => " + errors); 91 assumeTrue(ignoredErrors. toString(), ignoredErrors.isEmpty());91 assumeTrue(ignoredErrors.isEmpty(), ignoredErrors.toString()); 92 92 } 93 93 }
Note:
See TracChangeset
for help on using the changeset viewer.