Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8275170: Some jtreg sound tests should be marked with sound keyword #6086

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion test/jdk/TEST.ROOT
Expand Up @@ -11,11 +11,15 @@
#
# A "headful" test requires a graphical environment to meaningfully
# run. Tests that are not headful are "headless".
# A test flagged with key sound needs audio devices on the system, this
# may be accompanied by the headful keyword since audio device access
# is often linked to access to desktop resources and headful systems are
# also more likely to have audio devices (ie meaning both input and output)
# A test flagged with key "printer" requires a printer to succeed, else
# throws a PrinterException or the like.
# A test flagged with cgroups uses cgroups.

keys=2d dnd headful i18n intermittent printer randomness jfr cgroups
keys=2d dnd headful sound i18n intermittent printer randomness jfr cgroups

# Tests that must run in othervm mode
othervm.dirs=java/awt java/beans javax/accessibility javax/imageio javax/sound javax/swing javax/print \
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/midi/Devices/ClosedReceiver.java
Expand Up @@ -32,6 +32,7 @@

/**
* @test
* @key sound
* @bug 4616517
* @summary Receiver.send() does not work properly
*/
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/midi/Devices/InitializationHang.java
Expand Up @@ -28,6 +28,7 @@

/**
* @test
* @key sound
* @bug 8068412
*/
public final class InitializationHang {
Expand Down
Expand Up @@ -31,6 +31,7 @@

/**
* @test
* @key sound
* @bug 4931387
* @summary Add methods to MidiDevice to get list of Transmitters and Receivers
*/
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/midi/Devices/MidiIO.java
Expand Up @@ -27,6 +27,7 @@

/**
* @test
* @key sound
* @bug 4356787
* @summary MIDI device I/O is not working
*/
Expand Down
Expand Up @@ -28,6 +28,7 @@

/**
* @test
* @key sound
* @bug 4903786
* @summary MIDI OUT does not implement getMicrosecondPosition() consistently
*/
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/midi/Devices/OpenClose.java
Expand Up @@ -31,6 +31,7 @@

/**
* @test
* @key sound
* @bug 4616517
* @summary Receiver.send() does not work properly. Tests open/close behaviour
* of MidiDevices. For this test, it is essential that the MidiDevice
Expand Down
Expand Up @@ -29,6 +29,7 @@

/**
* @test
* @key sound
* @bug 4616517
* @summary Receiver.send() does not work properly
*/
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/midi/Devices/Reopen.java
Expand Up @@ -28,6 +28,7 @@

/**
* @test
* @key sound
* @bug 4914667
* @summary Closing and reopening MIDI IN device on Linux throws
* MidiUnavailableException
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/midi/MidiSystem/DefaultDevices.java
Expand Up @@ -39,6 +39,7 @@
* @bug 4776511
* @bug 4934509
* @bug 4938236
* @key sound
* @modules java.desktop/com.sun.media.sound
* @run main/timeout=600 DefaultDevices
* @summary RFE: Setting the default MixerProvider
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/midi/MidiSystem/GetSequencer.java
Expand Up @@ -30,6 +30,7 @@

/**
* @test
* @key sound
* @bug 4931400
* @summary Clarify default connections in default sequencer
*/
Expand Down
Expand Up @@ -30,6 +30,7 @@

/**
* @test
* @key sound
* @bug 4929955
* @summary Sequence.getMicrosecondLength() returns wrong value
*/
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/midi/Sequencer/LoopIAE.java
Expand Up @@ -32,6 +32,7 @@

/**
* @test
* @key sound
* @bug 5025549
* @summary Verify that setLoopEndPoint throws IAE
*/
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/javax/sound/midi/Sequencer/MetaCallback.java
Expand Up @@ -36,7 +36,7 @@
* @test
* @bug 4347135
* @summary MIDI MetaMessage callback inconsistent
* @key intermittent
* @key intermittent sound
* @run main/othervm MetaCallback
*/
public class MetaCallback implements MetaEventListener {
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/javax/sound/midi/Sequencer/Recording.java
Expand Up @@ -34,7 +34,7 @@
/**
* @test
* @bug 4932841
* @key intermittent
* @key intermittent sound
* @summary Sequencer's recording feature does not work
*/
public class Recording {
Expand Down
Expand Up @@ -33,6 +33,7 @@

/**
* @test
* @key sound
* @bug 5048381
* @summary Sequencer doesn't create distinct messages when recording events.
*/
Expand Down
Expand Up @@ -33,6 +33,7 @@

/**
* @test
* @key sound
* @bug 5048381
* @summary Sequencer records real time messages into the sequence
*/
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/midi/Sequencer/SeqStartRecording.java
Expand Up @@ -27,6 +27,7 @@

/**
* @test
* @key sound
* @bug 5001943
* @summary Sequencer.startRecording throws unexpected NPE
*/
Expand Down
Expand Up @@ -28,6 +28,7 @@

/**
* @test
* @key sound
* @bug 4716740
* @summary default sequencer does not set the tempo factor
*/
Expand Down
Expand Up @@ -23,6 +23,7 @@

/**
* @test
* @key sound
* @bug 6660470
* @summary Tests that sequencer correctly opens/closes (implicitly) devices
* @author Alex Menkov
Expand Down
Expand Up @@ -33,6 +33,7 @@

/**
* @test
* @key sound
* @bug 4713900
* @summary default Sequencer allows to set Mute for invalid track
*/
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/midi/Sequencer/SequencerState.java
Expand Up @@ -34,6 +34,7 @@

/**
* @test
* @key sound
* @bug 4913027
* @summary several Sequencer methods should specify behaviour on closed Sequencer
*/
Expand Down
3 changes: 2 additions & 1 deletion test/jdk/javax/sound/midi/Sequencer/SetTickPosition.java
Expand Up @@ -30,8 +30,9 @@

/**
* @test
* @key sound
* @bug 4493775
* @summary Sequncer method, setTickPosition(long) doesnot set the Tick position
* @summary Sequencer method, setTickPosition(long) does not set the Tick position
*/
public class SetTickPosition {
private static boolean testPassed = true;
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/midi/Sequencer/TickLength.java
Expand Up @@ -33,6 +33,7 @@

/**
* @test
* @key sound
* @bug 4427890
* @run main/othervm TickLength
* @summary Sequencer.getTickLength() and Sequence.getTickLength() report the
Expand Down
Expand Up @@ -30,6 +30,7 @@

/**
* @test
* @key sound
* @bug 4429762
* @summary Some instrument names in some soundbanks include bad extra characters
*/
Expand Down
Expand Up @@ -38,6 +38,7 @@

/**
* @test
* @key sound
* @bug 4776511
* @summary RFE: Setting the default MixerProvider. Test the retrieving of lines
* with defaut mixer properties.
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/sampled/Clip/ClipCloseLoss.java
Expand Up @@ -33,6 +33,7 @@

/**
* @test
* @key sound
* @bug 4946913 8178403
* @summary DirectClip doesn't kill the thread correctly, sometimes
* @run main/othervm ClipCloseLoss
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/sampled/Clip/ClipFlushCrash.java
Expand Up @@ -33,6 +33,7 @@

/**
* @test
* @key sound
* @bug 4946945
* @summary Crash in javasound while running TicTacToe demo applet tiger b26
*/
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/sampled/Clip/Drain/ClipDrain.java
Expand Up @@ -29,6 +29,7 @@

/**
* @test
* @key sound
* @bug 4732218
* @summary Clip.drain does not actually block until all I/O is complete as
* documented.
Expand Down
Expand Up @@ -33,6 +33,7 @@

/**
* @test
* @key sound
* @bug 4237703
* @summary Check that Clip.getMicrosecondLength() returns correct value.
*/
Expand Down
Expand Up @@ -33,6 +33,7 @@

/**
* @test
* @key sound
* @bug 4385928
* @summary Verify that an endpoint -1 in Clip does not throw an exception
*/
Expand Down
Expand Up @@ -34,6 +34,7 @@

/**
* @test
* @key sound
* @bug 4385654
* @summary Check that the MASTER_GAIN control has a valid precision
*/
Expand Down
Expand Up @@ -30,6 +30,7 @@

/**
* @test
* @key sound
* @bug 5021234
* @summary Using -2 for buffer size will fail retrieval of lines
*/
Expand Down
Expand Up @@ -23,6 +23,7 @@

/**
* @test
* @key sound
* @bug 7088367
* @summary SourceDataLine.write and TargetDataLine.read don't throw ArrayIndexOutOfBoundsException
* @author Alex Menkov
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/sampled/DataLine/LineDefFormat.java
Expand Up @@ -31,6 +31,7 @@

/**
* @test
* @key sound
* @bug 5053380
* @summary Verify that getting a line initializes it with the format in
* DataLine.Info
Expand Down
Expand Up @@ -32,6 +32,7 @@

/**
* @test
* @key sound
* @bug 4479441
* @summary Verify that the lines report 16KHz and 32KHz capability
*/
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/sampled/Lines/BufferSizeCheck.java
Expand Up @@ -30,6 +30,7 @@

/**
* @test
* @key sound
* @bug 4661602
* @summary Buffersize is checked when re-opening line
*/
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/sampled/Lines/ChangingBuffer.java
Expand Up @@ -30,6 +30,7 @@

/**
* @test
* @key sound
* @bug 4515126
* @summary Verify that the buffer passed to SourceDataLine.write() and
* Clip.open() will not be changed
Expand Down
Expand Up @@ -31,6 +31,7 @@

/**
* @test
* @key sound
* @bug 4218609
* @summary A soft audio click is heard when playing some audio file
* @build ClickInPlay
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/sampled/Lines/ClipOpenException.java
Expand Up @@ -33,6 +33,7 @@

/**
* @test
* @key sound
* @bug 4679187
* @summary Clip.open() throws unexpected Exceptions. verifies that clip,
* sourcedataline and targetdataline throw IllegalArgumentExcepotion if
Expand Down
Expand Up @@ -29,6 +29,7 @@

/**
* @test
* @key sound
* @bug 4469409
* @summary Check that the frame size in the formats returned by lines is
* correct
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/sampled/Lines/SDLwrite.java
Expand Up @@ -30,6 +30,7 @@

/**
* @test
* @key sound
* @bug 4680710
* @summary SourceDataLine.write() behavior is not correct for not open or not
* started lines
Expand Down
Expand Up @@ -30,6 +30,7 @@

/**
* @test
* @key sound
* @bug 4681384
* @summary SourceDataLine.write() causes Unexpected Signal 11 in native code
* outside the VM
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/sampled/Lines/StopStart.java
Expand Up @@ -34,6 +34,7 @@

/**
* @test
* @key sound
* @bug 4828556
* @summary stopping and starting sampled audio plays small chunk in infinite
* loop
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/sampled/LinuxBlock/PlaySine.java
Expand Up @@ -34,6 +34,7 @@

/**
* @test
* @key sound
* @bug 4834461
* @summary Applet hang when you load it during sound card is in use
* @run main/manual PlaySine
Expand Down
Expand Up @@ -34,6 +34,7 @@

/**
* @test
* @key sound
* @bug 4498848
* @summary Sound causes crashes on Linux (part 1)
*/
Expand Down
Expand Up @@ -36,6 +36,7 @@

/**
* @test
* @key sound
* @bug 4498848
* @summary Sound causes crashes on Linux (part 3)
*/
Expand Down
1 change: 1 addition & 0 deletions test/jdk/javax/sound/sampled/LinuxCrash/SDLLinuxCrash.java
Expand Up @@ -32,6 +32,7 @@

/**
* @test
* @key sound
* @bug 4498848
* @summary Sound causes crashes on Linux (part 2)
*/
Expand Down