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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0419 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 0419.


Report 0419 Actions


    Problem Report Number 0419
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0038
    Raised 1993-10-14 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard X Window System Applications Interface
    Certification Program The Open Brand certification program
    Test Suite VSW version 4.1.1
    Test Identification XOPEN/lkpclr 2 5 7
    Problem Summary PG4R.038 There are six named colours used in this test that cause failure with the X server. These colours are "dark gray", "dark grey", "dark blue", "dark cyan", "dark magenta" and "dark red". These colours a...
    Problem Text
    There are six named colours used in this test that cause failure
    with the X server. These colours are "dark gray", "dark grey",
    "dark blue", "dark cyan", "dark magenta" and "dark red".

    These colours are not defined in any of the standard documents that
    describe the normal implementations of X, nor are they defined in
    the Sample Implementation from the X Consortium. These colours do
    not appear to be referenced in any of the CAE specifications.
    Given these facts, we feel that the test is at fault for using
    non-standard colors.
    Test Output
    /tset/XOPEN/lkpclr/Test 2 Failed

    Test Description:
    When a colour name in the table is recognised on a call to
    XLookupColor, and a colour name on a different line of the
    table is also recognised on another call to XLookupColor
    using the same display and colormap, then distinct values
    are returned by each call to XLookupColor in the red, green
    and blue components of the XColor structures named by the
    exact_def_return argument and screen_def_return arguments.

    Test Strategy:
    For each supported visual:
    Create a colourmap of that type using XCreateColormap.
    For each pair of colour names in the table:
    Obtain the rgb values corresponding to the name using XLookupColor.
    Verify that the rgb triples are different.

    Test Information:
    --- Running test with visual class PseudoColor, depth 8
    --- Running test with visual class DirectColor, depth 8
    --- Running test with visual class GrayScale, depth 8
    --- Running test with visual class StaticGray, depth 8
    --- Running test with visual class StaticColor, depth 8
    --- Running test with visual class TrueColor, depth 8
    --- Running test with visual class PseudoColor, depth 8
    --- Testing with supported visual class PseudoColor
    --- Running test with visual class DirectColor, depth 8
    --- Testing with supported visual class DirectColor
    --- Testing with supported visual class DirectColor
    --- Running test with visual class GrayScale, depth 8
    --- Testing with supported visual class GrayScale
    Colour names "light gray" and "pale green" yield the same supported rgb
    values.
    Colour names "orange" and "turquoise" yield the same supported rgb
    values.
    Colour names "orange" and "violet" yield the same supported rgb values.

    Colour names "turquoise" and "violet" yield the same supported rgb
    values.
    --- Running test with visual class StaticGray, depth 8
    --- Testing with supported visual class StaticGray
    Colour names "light gray" and "pale green" yield the same supported rgb
    values.
    Colour names "orange" and "turquoise" yield the same supported rgb
    values.
    Colour names "orange" and "violet" yield the same supported rgb values.
    Colour names "turquoise" and "violet" yield the same supported rgb
    values.
    --- Running test with visual class StaticColor, depth 8
    --- Testing with supported visual class StaticColor
    Colour names "blue" and "medium blue" yield the same supported rgb
    values.
    --- Running test with visual class TrueColor, depth 8
    --- Testing with supported visual class TrueColor
    Colour names "blue" and "medium blue" yield the same supported rgb
    values.

    /tset/XOPEN/lkpclr/Test 5 Failed

    Test Description:
    If any of the visual classes GrayScale or StaticGray
    support colourmaps with at least four colour cells: When the
    visual type of the colormap argument is GrayScale or
    StaticGray, and colormap has at least four colour cells,
    then all colour names in the table which are in set M are
    recognised on a call to XLookupColor.

    Test Strategy:
    If the server supports GrayScale or StaticGray with colourmap size
    greater than 4:
    For those supported visuals:
    Create a colourmap using XCreateColormap.
    For each colour name in the table:
    Obtain the rgb values for the for the colour using XLookupColor.
    Verify that the call did not return 0.

    Test Information:
    --- Running test with visual class PseudoColor, depth 8
    --- Running test with visual class DirectColor, depth 8
    --- Running test with visual class GrayScale, depth 8
    --- Testing with supported visual class GrayScale
    --- Running test with visual class PseudoColor, depth 8
    --- Running test with visual class DirectColor, depth 8
    --- Running test with visual class GrayScale, depth 8
    --- Running test with visual class StaticGray, depth 8
    --- Testing with supported visual class StaticGray
    --- Running test with visual class PseudoColor, depth 8
    --- Running test with visual class DirectColor, depth 8
    --- Running test with visual class GrayScale, depth 8
    --- Testing with supported visual class GrayScale
    Colour name "dark gray" is not supported.
    Colour name "dark grey" is not supported.
    --- Running test with visual class StaticGray, depth 8
    --- Testing with supported visual class StaticGray
    Colour name "dark gray" is not supported.
    Colour name "dark grey" is not supported.
    --- Running test with visual class StaticColor, depth 8
    --- Running test with visual class TrueColor, depth 8

    /tset/XOPEN/lkpclr/Test 7 Failed

    Test Description:
    When a colour name in the table which is in set M, V or X
    is recognised on a call to XLookupColor, then all other
    colour names in the table which are in set C, M, or V are
    also recognised on another call to XLookupColor.

    Test Strategy:
    If a colourname in sets M, V or X causes XLookupColor to return
    non-zero:
    For each supported visual:
    Verify that all the colour names in C, M and V also cause
    XLookupColor to return non-zero:

    Test Information:
    --- Running test with visual class PseudoColor, depth 8
    --- Testing with supported visual class PseudoColor
    --- Running test with visual class PseudoColor, depth 8
    --- Testing with supported visual class PseudoColor
    Colour name "dark gray" is not supported.
    Colour name "dark grey" is not supported.
    Colour name "dark blue" is not supported.
    Colour name "dark cyan" is not supported.
    Colour name "dark magenta" is not supported.
    Colour name "dark red" is not supported.
    --- Running test with visual class DirectColor, depth 8
    --- Testing with supported visual class DirectColor
    Colour name "dark gray" is not supported.
    Colour name "dark grey" is not supported.
    Colour name "dark blue" is not supported.
    Colour name "dark cyan" is not supported.
    Colour name "dark magenta" is not supported.
    Colour name "dark red" is not supported.
    --- Running test with visual class GrayScale, depth 8
    --- Testing with supported visual class GrayScale
    Colour name "dark gray" is not supported.
    Colour name "dark grey" is not supported.
    Colour name "dark blue" is not supported.
    Colour name "dark cyan" is not supported.
    Colour name "dark magenta" is not supported.
    Colour name "dark red" is not supported.
    --- Running test with visual class StaticGray, depth 8
    --- Testing with supported visual class StaticGray
    Colour name "dark gray" is not supported.
    Colour name "dark grey" is not supported.
    Colour name "dark blue" is not supported.
    Colour name "dark cyan" is not supported.
    Colour name "dark magenta" is not supported.
    Colour name "dark red" is not supported.
    --- Running test with visual class StaticColor, depth 8
    --- Testing with supported visual class StaticColor
    Colour name "dark gray" is not supported.
    Colour name "dark grey" is not supported.
    Colour name "dark blue" is not supported.
    Colour name "dark cyan" is not supported.
    Colour name "dark magenta" is not supported.
    Colour name "dark red" is not supported.
    --- Running test with visual class TrueColor, depth 8
    --- Testing with supported visual class TrueColor
    Colour name "dark gray" is not supported.
    Colour name "dark grey" is not supported.
    Colour name "dark blue" is not supported.
    Colour name "dark cyan" is not supported.
    Colour name "dark magenta" is not supported.
    Colour name "dark red" is not supported.

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    These tests deal with the X/Open extensions to the base MIT specifications.
    Page 328 of the X/Open X Window Management specification indicates that if any
    of the colours in the classes C, M or V are available, then all of the colours
    in that class and any other classes of lower precedence will also be available
    as distinct colours. Given the statements in the CAE specification it is
    difficult to recommend that this be considered a test suite deficiency.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority