Changeset 10441 in josm
- Timestamp:
- 2016-06-20T23:25:56+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/testutils/JOSMTestRules.java
r10432 r10441 5 5 import java.io.IOException; 6 6 7 import org.junit.rules.DisableOnDebug; 7 8 import org.junit.rules.TemporaryFolder; 8 9 import org.junit.rules.TestRule; … … 28 29 */ 29 30 public class JOSMTestRules implements TestRule { 30 //We should make this the default when running from ant: Timeout.seconds(10); 31 private Timeout timeout = null; 31 private Timeout timeout = Timeout.seconds(10); 32 32 private TemporaryFolder josmHome; 33 33 private boolean usePreferences = false; … … 144 144 }; 145 145 if (timeout != null) { 146 statement = timeout.apply(statement, description);146 statement = new DisableOnDebug(timeout).apply(statement, description); 147 147 } 148 148 if (josmHome != null) {
Note:
See TracChangeset
for help on using the changeset viewer.