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

Reviewed-by: kizune, serb, aivanov
This commit is contained in:
Phil Race 2022-05-24 17:53:43 +00:00
parent 45180633d3
commit 25669bb667
58 changed files with 63 additions and 4 deletions

View File

@ -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 \

View File

@ -32,6 +32,7 @@ import javax.sound.midi.Synthesizer;
/**
* @test
* @key sound
* @bug 4616517
* @summary Receiver.send() does not work properly
*/

View File

@ -28,6 +28,7 @@ import javax.sound.midi.MidiUnavailableException;
/**
* @test
* @key sound
* @bug 8068412
*/
public final class InitializationHang {

View File

@ -31,6 +31,7 @@ import javax.sound.midi.Transmitter;
/**
* @test
* @key sound
* @bug 4931387
* @summary Add methods to MidiDevice to get list of Transmitters and Receivers
*/

View File

@ -27,6 +27,7 @@ import javax.sound.midi.MidiUnavailableException;
/**
* @test
* @key sound
* @bug 4356787
* @summary MIDI device I/O is not working
*/

View File

@ -28,6 +28,7 @@ import javax.sound.midi.Synthesizer;
/**
* @test
* @key sound
* @bug 4903786
* @summary MIDI OUT does not implement getMicrosecondPosition() consistently
*/

View File

@ -31,6 +31,7 @@ import javax.sound.midi.Transmitter;
/**
* @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

View File

@ -29,6 +29,7 @@ import javax.sound.midi.Transmitter;
/**
* @test
* @key sound
* @bug 4616517
* @summary Receiver.send() does not work properly
*/

View File

@ -28,6 +28,7 @@ import javax.sound.midi.Synthesizer;
/**
* @test
* @key sound
* @bug 4914667
* @summary Closing and reopening MIDI IN device on Linux throws
* MidiUnavailableException

View File

@ -39,6 +39,7 @@ import com.sun.media.sound.JDK13Services;
* @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

View File

@ -30,6 +30,7 @@ import javax.sound.midi.Transmitter;
/**
* @test
* @key sound
* @bug 4931400
* @summary Clarify default connections in default sequencer
*/

View File

@ -30,6 +30,7 @@ import javax.sound.midi.Track;
/**
* @test
* @key sound
* @bug 4929955
* @summary Sequence.getMicrosecondLength() returns wrong value
*/

View File

@ -32,6 +32,7 @@ import javax.sound.midi.Track;
/**
* @test
* @key sound
* @bug 5025549
* @summary Verify that setLoopEndPoint throws IAE
*/

View File

@ -36,7 +36,7 @@ import javax.sound.midi.Track;
* @test
* @bug 4347135
* @summary MIDI MetaMessage callback inconsistent
* @key intermittent
* @key intermittent sound
* @run main/othervm MetaCallback
*/
public class MetaCallback implements MetaEventListener {

View File

@ -34,7 +34,7 @@ import javax.sound.midi.Track;
/**
* @test
* @bug 4932841
* @key intermittent
* @key intermittent sound
* @summary Sequencer's recording feature does not work
*/
public class Recording {

View File

@ -33,6 +33,7 @@ import javax.sound.midi.Track;
/**
* @test
* @key sound
* @bug 5048381
* @summary Sequencer doesn't create distinct messages when recording events.
*/

View File

@ -33,6 +33,7 @@ import javax.sound.midi.Track;
/**
* @test
* @key sound
* @bug 5048381
* @summary Sequencer records real time messages into the sequence
*/

View File

@ -27,6 +27,7 @@ import javax.sound.midi.Sequencer;
/**
* @test
* @key sound
* @bug 5001943
* @summary Sequencer.startRecording throws unexpected NPE
*/

View File

@ -28,6 +28,7 @@ import javax.sound.midi.Sequencer;
/**
* @test
* @key sound
* @bug 4716740
* @summary default sequencer does not set the tempo factor
*/

View File

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

View File

@ -33,6 +33,7 @@ import javax.sound.midi.Sequencer;
/**
* @test
* @key sound
* @bug 4713900
* @summary default Sequencer allows to set Mute for invalid track
*/

View File

@ -34,6 +34,7 @@ import javax.sound.midi.Sequencer;
/**
* @test
* @key sound
* @bug 4913027
* @summary several Sequencer methods should specify behaviour on closed Sequencer
*/

View File

@ -30,8 +30,9 @@ import javax.sound.midi.Track;
/**
* @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;

View File

@ -33,6 +33,7 @@ import javax.sound.midi.Track;
/**
* @test
* @key sound
* @bug 4427890
* @run main/othervm TickLength
* @summary Sequencer.getTickLength() and Sequence.getTickLength() report the

View File

@ -30,6 +30,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 4429762
* @summary Some instrument names in some soundbanks include bad extra characters
*/

View File

@ -38,6 +38,7 @@ import com.sun.media.sound.JDK13Services;
/**
* @test
* @key sound
* @bug 4776511
* @summary RFE: Setting the default MixerProvider. Test the retrieving of lines
* with defaut mixer properties.

View File

@ -33,6 +33,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 4946913 8178403
* @summary DirectClip doesn't kill the thread correctly, sometimes
* @run main/othervm ClipCloseLoss

View File

@ -33,6 +33,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 4946945
* @summary Crash in javasound while running TicTacToe demo applet tiger b26
*/

View File

@ -29,6 +29,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 4732218
* @summary Clip.drain does not actually block until all I/O is complete as
* documented.

View File

@ -33,6 +33,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 4237703
* @summary Check that Clip.getMicrosecondLength() returns correct value.
*/

View File

@ -33,6 +33,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 4385928
* @summary Verify that an endpoint -1 in Clip does not throw an exception
*/

View File

@ -34,6 +34,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 4385654
* @summary Check that the MASTER_GAIN control has a valid precision
*/

View File

@ -30,6 +30,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 5021234
* @summary Using -2 for buffer size will fail retrieval of lines
*/

View File

@ -23,6 +23,7 @@
/**
* @test
* @key sound
* @bug 7088367
* @summary SourceDataLine.write and TargetDataLine.read don't throw ArrayIndexOutOfBoundsException
* @author Alex Menkov

View File

@ -31,6 +31,7 @@ import javax.sound.sampled.TargetDataLine;
/**
* @test
* @key sound
* @bug 5053380
* @summary Verify that getting a line initializes it with the format in
* DataLine.Info

View File

@ -32,6 +32,7 @@ import javax.sound.sampled.TargetDataLine;
/**
* @test
* @key sound
* @bug 4479441
* @summary Verify that the lines report 16KHz and 32KHz capability
*/

View File

@ -30,6 +30,7 @@ import javax.sound.sampled.SourceDataLine;
/**
* @test
* @key sound
* @bug 4661602
* @summary Buffersize is checked when re-opening line
*/

View File

@ -30,6 +30,7 @@ import javax.sound.sampled.SourceDataLine;
/**
* @test
* @key sound
* @bug 4515126
* @summary Verify that the buffer passed to SourceDataLine.write() and
* Clip.open() will not be changed

View File

@ -31,6 +31,7 @@ import java.awt.event.ActionListener;
/**
* @test
* @key sound
* @bug 4218609
* @summary A soft audio click is heard when playing some audio file
* @build ClickInPlay

View File

@ -33,6 +33,7 @@ import javax.sound.sampled.TargetDataLine;
/**
* @test
* @key sound
* @bug 4679187
* @summary Clip.open() throws unexpected Exceptions. verifies that clip,
* sourcedataline and targetdataline throw IllegalArgumentExcepotion if

View File

@ -29,6 +29,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 4469409
* @summary Check that the frame size in the formats returned by lines is
* correct

View File

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

View File

@ -30,6 +30,7 @@ import javax.sound.sampled.SourceDataLine;
/**
* @test
* @key sound
* @bug 4681384
* @summary SourceDataLine.write() causes Unexpected Signal 11 in native code
* outside the VM

View File

@ -34,6 +34,7 @@ import javax.sound.sampled.SourceDataLine;
/**
* @test
* @key sound
* @bug 4828556
* @summary stopping and starting sampled audio plays small chunk in infinite
* loop

View File

@ -34,6 +34,7 @@ import javax.sound.sampled.SourceDataLine;
/**
* @test
* @key sound
* @bug 4834461
* @summary Applet hang when you load it during sound card is in use
* @run main/manual PlaySine

View File

@ -34,6 +34,7 @@ import javax.sound.sampled.LineListener;
/**
* @test
* @key sound
* @bug 4498848
* @summary Sound causes crashes on Linux (part 1)
*/

View File

@ -36,6 +36,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 4498848
* @summary Sound causes crashes on Linux (part 3)
*/

View File

@ -32,6 +32,7 @@ import javax.sound.sampled.SourceDataLine;
/**
* @test
* @key sound
* @bug 4498848
* @summary Sound causes crashes on Linux (part 2)
*/

View File

@ -28,6 +28,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 4667064
* @summary Java Sound provides bogus SourceDataLine and TargetDataLine
*/

View File

@ -29,6 +29,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 4936397
* @summary Verify that there'll for a given endianness, there's also the little
* endian version

View File

@ -31,6 +31,7 @@ import java.awt.event.ActionListener;
/**
* @test
* @key sound
* @bug 4997635
* @summary Win: SourceDataLine playback loops endlessly unless you manually
* stop()

View File

@ -31,6 +31,7 @@ import java.awt.event.ActionListener;
/**
* @test
* @key sound
* @bug 5032020
* @summary Win: Direct Audio is silent after underrun
* @build DirectSoundUnderrunSilence

View File

@ -26,6 +26,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 4936397
* @summary Verify that there'll be either SimpleInputDevice OR DirectAudioDevice
*/

View File

@ -30,6 +30,7 @@ import javax.sound.sampled.TargetDataLine;
/**
* @test
* @key sound
* @bug 4794104
* @summary mixers are always present, independent of available soundcards
* @run main/manual PhantomMixers

View File

@ -29,6 +29,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 5013897
* @summary Verify that plughw: provides mono and 8-bit lines
*/

View File

@ -28,6 +28,7 @@ import javax.sound.sampled.Mixer;
/**
* @test
* @key sound
* @bug 4964288
* @summary Unexpected IAE raised while getting TargetDataLine
*/

View File

@ -30,6 +30,7 @@ import javax.sound.sampled.TargetDataLine;
/**
* @test
* @key sound
* @bug 4836433
* @summary Windows: TargetDataLine.flush() does not work. Since this test has
* some real-time variance, I disabled it by making it a manual test.

View File

@ -29,6 +29,7 @@ import static java.util.ServiceLoader.load;
/**
* @test
* @key sound
* @bug 8135100
* @author Sergey Bylokhov
*/