Ignore:
Timestamp:
2016-06-08T09:22:56+02:00 (3 years ago)
Author:
Don-vip
Message:

fix unit tests

Location:
trunk/test/unit/org/openstreetmap/josm/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/PlatformHookOsxTest.java

    r10337 r10339  
    6363    @Test
    6464    public void testOpenUrl() throws IOException {
    65         if (Main.isPlatformOsx()) {
     65        if (!Main.isPlatformWindows()) {
    6666            hook.openUrl(Main.getJOSMWebsite());
    6767        } else {
  • trunk/test/unit/org/openstreetmap/josm/tools/PlatformHookWindowsTest.java

    r10337 r10339  
    2121import org.openstreetmap.josm.Main;
    2222import org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpsServer;
     23import org.openstreetmap.josm.io.remotecontrol.RemoteControlTest;
    2324
    2425/**
     
    8889    @Test
    8990    public void testSetupHttpsCertificate() throws Exception {
     91        RemoteControlTest.deleteKeystore();
    9092        KeyStore ks = RemoteControlHttpsServer.loadJosmKeystore();
    9193        TrustedCertificateEntry trustedCert = new KeyStore.TrustedCertificateEntry(ks.getCertificate(ks.aliases().nextElement()));
Note: See TracChangeset for help on using the changeset viewer.