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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2234 Actions


    Problem Report Number 2234
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1149
    Raised 2002-07-29 08:00
    Updated 2003-03-13 08:00
    Published 2002-08-15 08:00
    Product Standard Motif Toolkit
    Certification Program The Open Brand certification program
    Test Suite VSM version 4.1.3
    Test Identification funcs/txtcopy 2
    Problem Summary TSD4M.00056 I found in function test2A() in file funcs/txtcopy.c, there is a case where a mouse movement is made without the ability to delay the mouse via the VSM_MOUSEDELAY tetexec.cfg variable. By adding a usl...
    Problem Text
    I found in function test2A() in file funcs/txtcopy.c, there is a case
    where a mouse movement is made without the ability to delay the
    mouse via the VSM_MOUSEDELAY tetexec.cfg variable.

    By adding a usleep() call between the two mouse movements, I was able
    to resolve the test case failure.

    I believe this indicates a failure in the test suite since the ability
    to delay the mouse movement via the VSM_MOUSEDELAY variable should
    have been included at this point.

    Code Example:

    <before change>
    ---------------
    static void test2A(void)
    {
    tet_infoline("VSM4TESTSUITE PURPOSE 2");

    msg_assert("A successful call to Boolean XmTextCopy(Widget
    widget,");
    msg_assert("Time time) shall copy the primary selection to the");
    msg_assert("clipboard and return True.");

    if (open_func() == -1)
    return;

    msg_test("Use the function with a primary selection");
    if (check_display())
    return;

    create_shell();

    xisMovePointerTo(w_info->widget, oTextChar, 0, MoveAny |
    LocationFront);
    xisPressMouseButton(NoModifierKeys, Button1);
    xisMovePointerTo(w_info->widget, oTextChar, (int)
    (strlen(str_TxtCopy)/2), MoveAny);
    xisReleaseMouseButton(NoModifierKeys, Button1);
    xisSynchronize();
    mvsClearCallbacks();


    <after change>
    --------------
    static void test2A(void)
    {
    tet_infoline("VSM4TESTSUITE PURPOSE 2");

    msg_assert("A successful call to Boolean XmTextCopy(Widget
    widget,");
    msg_assert("Time time) shall copy the primary selection to the");
    msg_assert("clipboard and return True.");

    if (open_func() == -1)
    return;

    msg_test("Use the function with a primary selection");
    if (check_display())
    return;

    create_shell();

    xisMovePointerTo(w_info->widget, oTextChar, 0, MoveAny |
    LocationFront);
    xisPressMouseButton(NoModifierKeys, Button1);

    /* ###
    * Added delay. Should use VSM_MOUSEDELAY to set value
    * ###
    */
    usleep(999999);

    xisMovePointerTo(w_info->widget, oTextChar, (int)
    (strlen(str_TxtCopy)/2), MoveAny);
    xisReleaseMouseButton(NoModifierKeys, Button1);
    xisSynchronize();
    mvsClearCallbacks();



    Test Output
    TEST CASE: XmTextCopy

    TEST PURPOSE #2
    A successful call to Boolean XmTextCopy(Widget widget,
    Time time) shall copy the primary selection to the
    clipboard and return True.
    ERROR: Could not get lenght of item in clipboard
    2 FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    A test suite deficiency is recommended

    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