Changeset 37458 in vbox for trunk/src/VBox/HostServices/SharedClipboard/testcase/tstClipboardServiceHost.cpp
- Timestamp:
- Jun 14, 2011 9:15:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/testcase/tstClipboardServiceHost.cpp
r37455 r37458 19 19 20 20 #include <VBox/HostServices/VBoxClipboardSvc.h> 21 22 #define IN_VMM_R3 /* so that the SSM function stubs are exports not imports */23 #include <VBox/vmm/ssm.h>24 21 25 22 #include <iprt/assert.h> … … 51 48 1, parms); 52 49 RTTESTI_CHECK_RC_OK(rc); 53 u32Mode = testClipSvcGetMode();50 u32Mode = TestClipSvcGetMode(); 54 51 RTTESTI_CHECK_MSG(u32Mode == VBOX_SHARED_CLIPBOARD_MODE_OFF, 55 52 ("u32Mode=%u\n", (unsigned) u32Mode)); … … 68 65 1, parms); 69 66 RTTESTI_CHECK_RC_OK(rc); 70 u32Mode = testClipSvcGetMode();67 u32Mode = TestClipSvcGetMode(); 71 68 RTTESTI_CHECK_MSG(u32Mode == VBOX_SHARED_CLIPBOARD_MODE_HOST_TO_GUEST, 72 69 ("u32Mode=%u\n", (unsigned) u32Mode)); … … 75 72 1, parms); 76 73 RTTESTI_CHECK_RC_OK(rc); 77 u32Mode = testClipSvcGetMode();74 u32Mode = TestClipSvcGetMode(); 78 75 RTTESTI_CHECK_MSG(u32Mode == VBOX_SHARED_CLIPBOARD_MODE_OFF, 79 76 ("u32Mode=%u\n", (unsigned) u32Mode)); … … 164 161 { AssertFailed(); return VERR_WRONG_ORDER; } 165 162 void vboxClipboardWriteData(_VBOXCLIPBOARDCLIENTDATA*, void*, unsigned int, unsigned int) { AssertFailed(); } 166 VMMR3DECL(int) SSMR3PutU32(PSSMHANDLE pSSM, uint32_t u32)167 { AssertFailed(); return VERR_WRONG_ORDER; }168 VMMR3DECL(int) SSMR3PutStructEx(PSSMHANDLE pSSM, const void *pvStruct, size_t cbStruct, uint32_t fFlags, PCSSMFIELD paFields, void *pvUser)169 { AssertFailed(); return VERR_WRONG_ORDER; }170 VMMR3DECL(int) SSMR3GetU32(PSSMHANDLE pSSM, uint32_t *pu32)171 { AssertFailed(); return VERR_WRONG_ORDER; }172 VMMR3DECL(uint32_t) SSMR3HandleHostBits(PSSMHANDLE pSSM)173 { AssertFailed(); return 0; }174 VMMR3DECL(int) SSMR3GetStructEx(PSSMHANDLE pSSM, void *pvStruct, size_t cbStruct, uint32_t fFlags, PCSSMFIELD paFields, void *pvUser)175 { AssertFailed(); return VERR_WRONG_ORDER; }176 163 int vboxClipboardSync(_VBOXCLIPBOARDCLIENTDATA*) 177 164 { AssertFailed(); return VERR_WRONG_ORDER; }
Note:
See TracChangeset
for help on using the changeset viewer.