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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1861 Actions


    Problem Report Number 1861
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0548
    Raised 1999-07-12 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 5.0.2
    Test Identification Xlib16/XrmEnumerateDatabase 1, 2, 3
    Problem Summary PG4W.00099 First argument should be a reference to the XrmDatabase pointer.
    Problem Text
    The calls to XrmPutStringResource in the XrmEnumerateDatabase tests
    are passing the value of the XrmDatabase pointer, database eg.

    XrmPutStringResource(database, "test.Quark", "happy");

    They should be passing a reference to the pointer:

    XrmPutStringResource(&database, "test.Quark", "happy");

    As a result there are warnings from the compiler about the call to
    XrmPutStringResource being compatible with it's prototype. The tests
    get an FIP result.
    Test Output
    70||"VSW5TESTSUITE CASE XrmEnumerateDatabase 3"
    110|1935 /tset/Xlib16/rmedata/Test 17:15:25|Build Start, scenario ref 1307-0
    100|1935|"Test.c", line 157: warning: argument #1 is incompatible with prototype
    :
    100|1935| prototype: pointer to pointer to struct _XrmHashBucketRec {} : "
    /usr/include/X11/Xresource.h", line 226
    100|1935| argument : pointer to struct _XrmHashBucketRec {}
    100|1935|"Test.c", line 245: warning: argument #1 is incompatible with prototype
    :
    100|1935| prototype: pointer to pointer to struct _XrmHashBucketRec {} : "
    /usr/include/X11/Xresource.h", line 226
    100|1935| argument : pointer to struct _XrmHashBucketRec {}
    100|1935|"Test.c", line 329: warning: argument #1 is incompatible with prototype
    :
    100|1935| prototype: pointer to pointer to struct _XrmHashBucketRec {} : "
    /usr/include/X11/Xresource.h", line 226
    100|1935| argument : pointer to struct _XrmHashBucketRec {}
    130|1935 0 17:15:28|Build End, scenario ref 1307-0
    10|1936 /tset/Xlib16/rmedata/Test 17:15:28|TC Start, scenario ref 1307-0
    15|1936 3.1-lite 3|TCM Start
    400|1936 1 1 17:15:34|IC Start
    200|1936 1 17:15:34|TP Start
    520|1936 1 00026972 1 1|VSW5TESTSUITE PURPOSE 1
    520|1936 1 00026972 1 2|Assertion XrmEnumerateDatabase-1.(C)
    520|1936 1 00026972 1 3|If the implementation is X11R5 or later: A call to
    520|1936 1 00026972 1 4|XrmEnumerateDatabase shall invoke the procedure proc for
    520|1936 1 00026972 1 5|each resource in the database that would match given
    520|1936 1 00026972 1 6|name/class resource prefix and return True.
    520|1936 1 00026972 1 7|PREP: Create a database
    520|1936 1 00026972 1 8|PREP: Associate the database with display
    520|1936 1 00026972 1 9|TEST: XrmEnumerateDatabase calls the procedure
    220|1936 1 0 17:15:34|PASS
    410|1936 1 1 17:15:34|IC End
    400|1936 2 1 17:15:34|IC Start
    200|1936 2 17:15:34|TP Start
    520|1936 2 00026972 1 1|VSW5TESTSUITE PURPOSE 2
    520|1936 2 00026972 1 2|Assertion XrmEnumerateDatabase-2.(C)
    520|1936 2 00026972 1 3|If the implementation is X11R5 or later: A call to
    520|1936 2 00026972 1 4|XrmEnumerateDatabase when the called procedure returns T
    rue
    520|1936 2 00026972 1 5|shall return True.
    520|1936 2 00026972 1 6|PREP: Create a database
    520|1936 2 00026972 1 7|PREP: Associate the database with display
    520|1936 2 00026972 1 8|TEST: XrmEnumerateDatabase returns True.
    220|1936 2 0 17:15:34|PASS
    410|1936 2 1 17:15:34|IC End
    400|1936 3 1 17:15:34|IC Start
    200|1936 3 17:15:34|TP Start
    520|1936 3 00026972 1 1|VSW5TESTSUITE PURPOSE 3
    520|1936 3 00026972 1 2|Assertion XrmEnumerateDatabase-3.(C)
    520|1936 3 00026972 1 3|If the implementation is X11R5 or later: A call to
    520|1936 3 00026972 1 4|XrmEnumerateDatabase when the called procedure returns F
    alse
    520|1936 3 00026972 1 5|shall terminate the enumeration and return False.
    520|1936 3 00026972 1 6|PREP: Create a database
    520|1936 3 00026972 1 7|PREP: Associate the database with display
    520|1936 3 00026972 1 8|TEST: XrmEnumerateDatabase returns False.
    220|1936 3 0 17:15:34|PASS
    410|1936 3 1 17:15:34|IC End
    80|1936 0 17:15:34|TC End, scenario ref 1307-0
    300|1937 /tset/Xlib16/rmedata/Test 17:15:34|Clean Start, scenario ref 1307-0
    320|1937 0 17:15:36|Clean End, scenario ref 1307-0

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    There is nothing in this request that necessitates the grant of a waiver.
    The compilation of the test code produces three FIP results because of a
    change in the prototype of XrmPutStringResource() between release of X11.
    This result can be explained on the branding report and no waiver will be
    needed. All of the tests that are affected by this compiler warning have
    a PASS result, so no waiver is needed for this.

    This request should be refused on the basis that it is unnecessary.

    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