HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1794 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1794.


Report 1794 Actions


    Problem Report Number 1794
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0871
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-07-17 08:00
    Product Standard X Window System Display
    Certification Program The Open Brand certification program
    Test Suite VSW version 5.0.1
    Test Identification Xlib7/XcmsQueryColor 1
    Problem Summary TSD4W.00155 This test may fail on all implementations due to improper initialization.
    Problem Text
    Both testcases fail because the pixel passed to
    XcmsQueryColor()/XcmsQueryColors() is not allocated before use.
    Test Output
    TEST CASE: XcmsQueryColor

    TEST PURPOSE #1
    Assertion XcmsQueryColor-1.(C)
    If the implementation is X11R5 or later: A call to
    XcmsQueryColor shall return the RGB value for the colormap
    cell specified by the pixel field of the specified XcmsColor
    structure, and then convert the value to the target format
    specified by the result_format argument.
    PREP: determining the color spec for yellow
    TEST: Calling XcmsQueryColor
    *********************
    An error occurred during a call to XcmsQueryColor

    The routine call looked like this -
    svc_ret_value = XcmsQueryColor(
    display, colormap, color, format);

    The parameter values were as follows...

    colormap= 4194308
    ERROR: Expected red of 65535, received 0
    ERROR: Expected green of 65535, received 0

    End of error report
    *********************
    1 FAIL




    TEST CASE: XcmsQueryColors

    TEST PURPOSE #1
    Assertion XcmsQueryColors-1.(C)
    If the implementation is X11R5 or later: A call to
    XcmsQueryColors shall return the RGB values for the colormap
    cells specified by the pixel fields of the specified
    XcmsColor structures, and then convert the value to the
    target format specified by the result_format argument.
    PREP: determining the color spec for yellow
    TEST: Calling XcmsQueryColors
    *********************
    An error occurred during a call to XcmsQueryColors

    The routine call looked like this -
    svc_ret_value = XcmsQueryColors(
    display, colormap, colors, ncolors, format);

    The parameter values were as follows...

    colormap= 4194308
    ERROR: Expected red0 of 65535, received 0
    ERROR: Expected green0 of 65535, received 0
    ERROR: Expected red1 of 65535, received 0
    ERROR: Expected green1 of 65535, received 0

    End of error report
    *********************
    1 FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree this is a test suite deficiency in the test
    suite version(s) listed.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed Test Suite Deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority