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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1825 Actions


    Problem Report Number 1825
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0902
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1993-12-08 08:00
    Product Standard X Window System Applications Interface
    Certification Program The Open Brand certification program
    Test Suite VSW version 4.1.1
    Test Identification CH05/allcclrcll 6
    Problem Summary TSD4W.00124 This test incorrectly assumes that DirectColor color masks are always arranged as RRRGGGBB.
    Problem Text
    The assertion made by this test assumes that DirectColor color masks
    are always arranged in this way: RRRGGGBB. This is not always the case,
    and the physical arrangement is not specified by the protocol. To
    accomodate these differences in graphic hardware, the protocol requires
    that DDXs supply the client application with RED, GREEN and BLUE
    masks. This incorrect assumption on the part of the suite causes this
    test to fail on such graphic adapters.

    The test in question produces the following log:

    520|150 6 3805 1 3|TRACE:--- Running test with visual class DirectColor, depth 8
    520|150 6 3805 1 4|TRACE:--- Testing with supported visual class DirectColor
    520|150 6 3805 1 5|TRACE:Attempting XAllocColorCells() for class DirectColor
    520|150 6 3805 1 6|TRACE:nplanes 2
    520|150 6 3805 1 7|TRACE:nplanes 2
    520|150 6 3805 1 8|CHECK:XAllocColorCells-6 1, line 725
    520|150 6 3805 1 9|TRACE:plane_mask_return is initially 5
    520|150 6 3805 1 10|TRACE:plane_mask_return is initially 5
    520|150 6 3805 1 11|TRACE:Testing XAllocColorCells() with nplanes = 2, npixels =
    1, cells = 4, pixels * 2 pow planes = 4
    520|150 6 3805 1 12|TRACE:plane_mask_return is 25
    520|150 6 3805 1 13|CHECK:XAllocColorCells-6 2, line 765
    520|150 6 3805 1 14|TRACE:plane_mask_return is 4a
    520|150 6 3805 1 15|CHECK:XAllocColorCells-6 3, line 765
    520|150 6 3805 1 16|TRACE:red_mask is e0
    520|150 6 3805 1 17|TRACE:green_mask is 1c
    520|150 6 3805 1 18|TRACE:blue_mask is 3
    520|150 6 3805 1 19|REPORT:Planemasks in red subfield (0x3) were not subset of
    0xe0
    520|150 6 3805 1 20|CHECK:XAllocColorCells-6 4, line 786
    520|150 6 3805 1 21|REPORT:Planemasks in blue subfield (0x60) were not subset of
    0x3
    520|150 6 3805 1 22|CHECK:XAllocColorCells-6 5, line 798
    520|150 6 3805 1 23|CHECK:XAllocColorCells-6 6, line 805
    220|150 6 1 09:55:43|FAIL

    As you can see, the red mask is 0xe0, yet the test assumes that it is 0x3
    (Planemasks in red subfield (0x3)). The same holds true for blue, whose
    mask is 0x3, yet the test assumes that it is 0x60 (Planemasks in blue
    subfield (0x60)). If the suite had not made this incorrect assumption,
    this test would pass correctly.
    Test Output
    /tset/CH05/allcclrcll/Test 6 Failed

    Test Description:
    If the visual class DirectColor is supported: When the
    contig argument is True, and the visual type of the
    colormap argument is DirectColor, then the mask formed by
    ORing the plane masks in plane_mask_return contains three
    sets of contiguous bits set to one, one lying in each of the
    red, green and blue pixel subfields.

    Test Strategy:
    For the visual class DirectColor:
    Create a colormap.
    Allocate 1 color and some planemasks using XAllocColorCells and
    contig = True.
    Form the bitwise OR of all the planemasks per bit set.
    Verify that the returned planemasks in the red, green and blue
    subfields
    were contiguous and distinct.

    Test Information:
    --- Running test with visual class PseudoColor, depth 8
    --- Running test with visual class PseudoColor, depth 8
    --- Running test with visual class DirectColor, depth 8
    --- Testing with supported visual class DirectColor
    Planemasks in red subfield (0x3) were not subset of 0xe0
    Planemasks in blue subfield (0x60) were not subset of 0x3

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is accepted to be a Test Suite Deficiency.

    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