Changeset 16052 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2020-03-07T10:03:06+01:00 (5 years ago)
Author:
simon04
Message:

fix #18878 - JOSM leaves behind josm_exec_ temp files

File:
1 edited

Legend:

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

    r15982 r16052  
    596596        assertEquals(map4, Utils.toUnmodifiableMap(map4));
    597597    }
     598
     599    /**
     600     * Test of {@link Utils#execOutput}
     601     * @throws Exception if an error occurs
     602     */
     603    @Test
     604    public void testExecOutput() throws Exception {
     605        final String output = Utils.execOutput(Arrays.asList("echo", "Hello", "World"));
     606        assertEquals("Hello World", output);
     607    }
    598608}
Note: See TracChangeset for help on using the changeset viewer.