VirtualBox

Changeset 38926 in vbox


Ignore:
Timestamp:
Sep 30, 2011 9:09:25 PM (13 years ago)
Author:
vboxsync
Message:

Additions/common/VBoxGuest: fixed the mouse status testcase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp

    r38892 r38926  
    21592159                  ("Actual value: %d\n", DevExt.cMouseFeatureUsage[ASMBitFirstSetU32(VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR)]));
    21602160        g_test_SetMouseStatusGRRC = VERR_UNRESOLVED_ERROR;
     2161        /* This should succeed as the host request should not be made
     2162         * since nothing has changed. */
     2163        rc = VBoxGuestCommonIOCtl(VBOXGUEST_IOCTL_SET_MOUSE_STATUS, &DevExt,
     2164                                  &Session, &u32Data, sizeof(u32Data), NULL);
     2165        AssertRCSuccess(rc);
     2166        /* This should fail with VERR_UNRESOLVED_ERROR as set above. */
     2167        u32Data = VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE;
    21612168        rc = VBoxGuestCommonIOCtl(VBOXGUEST_IOCTL_SET_MOUSE_STATUS, &DevExt,
    21622169                                  &Session, &u32Data, sizeof(u32Data), NULL);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette