Changeset 9814 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/AudioPlayer.java
r9803 r9814 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.awt.GraphicsEnvironment; 6 7 import java.io.IOException; 7 8 import java.net.URL; … … 378 379 msg = tr(msg); 379 380 Main.error(msg); 380 //if (!GraphicsEnvironment.isHeadless()) {381 if (!GraphicsEnvironment.isHeadless()) { 381 382 JOptionPane.showMessageDialog(Main.parent, 382 383 "<html><p>" + msg + "</p></html>", 383 384 tr("Error playing sound"), JOptionPane.ERROR_MESSAGE); 384 //}385 } 385 386 } 386 387 } -
trunk/test/unit/org/openstreetmap/josm/gui/layer/markerlayer/AudioMarkerTest.java
r9785 r9814 8 8 9 9 import org.junit.BeforeClass; 10 import org.junit.Ignore;11 10 import org.junit.Test; 12 11 import org.openstreetmap.josm.JOSMFixture; … … 35 34 */ 36 35 @Test 37 @Ignore("looks like it makes AudioPlayerTest.testPlay fail")38 36 public void testAudioMarker() throws MalformedURLException { 39 37 URL url = new URL("file://something.wav"); -
trunk/test/unit/org/openstreetmap/josm/gui/layer/markerlayer/PlayHeadMarkerTest.java
r9785 r9814 6 6 7 7 import org.junit.BeforeClass; 8 import org.junit.Ignore;9 8 import org.junit.Test; 10 9 import org.openstreetmap.josm.JOSMFixture; … … 29 28 */ 30 29 @Test 31 @Ignore("looks like it makes AudioPlayerTest.testPlay fail")32 30 public void testPlayHeadMarker() { 33 31 PlayHeadMarker marker = PlayHeadMarker.create();
Note:
See TracChangeset
for help on using the changeset viewer.