Changeset 7337 in josm for trunk/test
- Timestamp:
- 2014-07-26T16:36:43+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/RemoteControlTest.java
r7336 r7337 13 13 import java.net.URL; 14 14 import java.nio.charset.StandardCharsets; 15 import java.nio.file.Files; 16 import java.nio.file.Paths; 15 17 import java.security.GeneralSecurityException; 16 18 import java.security.SecureRandom; … … 45 47 JOSMFixture.createUnitTestFixture().init(); 46 48 RemoteControl.PROP_REMOTECONTROL_HTTPS_ENABLED.put(true); 49 try { 50 Files.deleteIfExists(Paths.get( 51 RemoteControl.getRemoteControlDir()).resolve(RemoteControlHttpsServer.KEYSTORE_FILENAME)); 52 } catch (IOException e) { 53 Main.error(e); 54 } 55 47 56 RemoteControl.start(); 48 57 disableCertificateValidation();
Note:
See TracChangeset
for help on using the changeset viewer.