JDK-4926594 : DOC: JCK1.5-runtime api/javax_sound/midi/MidiChannel/index.html#Pressure fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 5.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2003-09-23
  • Updated: 2003-10-02
  • Resolved: 2003-10-02
Related Reports
Duplicate :  
Relates :  
Description

Name: iaR10016			Date: 09/23/2003


Filed By       : J2SE-SQA [###@###.###
JDK            : JDK1.5.0-b20, JDK1.5.0-b19-share, JDK1.5.0-b19, JDK1.4.2-b28
JCK            : JCK1.5-runtime (b04)
Platform[s]    : any platform which has sound card installed
switch/Mode    : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]: api/javax_sound/midi/MidiChannel/index.html#Pressure [Pressure001, Pressure002, Pressure003]

JCK1.5-runtime api/javax_sound/midi/MidiChannel/index.html#Pressure test fails
with JDK1.5.0-b20, JDK1.4.2-b28 on any machine with sound installed. The test passes
on platforms without sound.

The test is in the latest JCK1.5(b04) known failure list because of the bug 4289677
closed as "will not fix".

This is a JCK conformance failure, so the test should be modified or the bug 4289677
should be fixed/integrated in tiger.

Please, re-categorize to jck/tck_j2se/api_tests category if it is needed.

Please, see bug 4289677 Evaluation for more details.

Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_sound/midi/MidiChannel/PressureTests.java

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b19s/jck15/sparc/sol10_sparc_cde_server_linux-8/workDir/api/javax_sound/midi/MidiChannel/index_Pressure.jtr

How to reproduce:
=================
Run the following script (you may need to change its variables):
--- script start ---
#!/bin/bash
#KOORI_ONESTOP is your path to koori.sfbay/onestop (/net/koori/onestop, /java/re)
KOORI_ONESTOP="/java/re"
#JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
JCK="$KOORI_ONESTOP/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"
#JDK="/net/linux-15/export/home/java/jdk1.5.0/sparc"
JDK="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b19/binaries/solaris-sparc"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java -showversion javasoft.sqe.tests.api.javax.sound.midi.MidiChannel.PressureTests                -TestCaseID Pressure001 Pressure002 Pressure003
--- script end ---

Test output:
============
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b20)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b20, mixed mode)

getChannelPressure() does not return proper value: 0
Pressure001: Failed.
getChannelPressure() does not return proper value: 0
Pressure002: Failed.
getPolyPressure() does not return proper value: 0
Pressure003: Failed.
STATUS:Failed.test cases: 3; all failed; first test case failure: Pressure001


Specific machine info:
======================
Hostname: linux-8
OS: Solaris 10 (sparc) (CDE)

======================================================================

Comments
PUBLIC COMMENTS JCK1.5-runtime api/javax_sound/midi/MidiChannel/index.html#Pressure fails
10-06-2004

EVALUATION ###@###.### 2003-09-26 Since some devices do not allow querying the current value, or setting such a value in the first place, the specification should mention that. ###@###.### 2003-10-02 As discussed with the JCK team, close this bug as duplicate of the new bug that covers all partially documented methods in MidiChannel.
02-10-2003