Changeset 100204 in vbox for trunk/src/VBox/GuestHost/SharedClipboard/testcase/tstClipboardHttpServer.cpp
- Timestamp:
- Jun 19, 2023 9:11:37 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/testcase/tstClipboardHttpServer.cpp
r99937 r100204 178 178 RTTEST_CHECK(hTest, ShClTransferHttpServerIsRunning(&HttpSrv) == false); 179 179 if (uPort) 180 rc = ShClTransferHttpServer CreateEx(&HttpSrv, uPort);180 rc = ShClTransferHttpServerStartEx(&HttpSrv, uPort); 181 181 else 182 rc = ShClTransferHttpServer Create(&HttpSrv, 32 /* cMaxAttempts */, &uPort);182 rc = ShClTransferHttpServerStart(&HttpSrv, 32 /* cMaxAttempts */, &uPort); 183 183 RTTEST_CHECK_RC_OK(hTest, rc); 184 RTTEST_CHECK(hTest, ShClTransferHttpServer HasTransfer(&HttpSrv, 0) == false);185 RTTEST_CHECK(hTest, ShClTransferHttpServer HasTransfer(&HttpSrv, 42) == false);184 RTTEST_CHECK(hTest, ShClTransferHttpServerGetTransfer(&HttpSrv, 0) == false); 185 RTTEST_CHECK(hTest, ShClTransferHttpServerGetTransfer(&HttpSrv, 42) == false); 186 186 187 187 char *pszSrvAddr = ShClTransferHttpServerGetAddressA(&HttpSrv); … … 208 208 RTTEST_CHECK_RC_OK(hTest, ShClTransferCreate(&pTx)); 209 209 RTTEST_CHECK_RC_OK(hTest, ShClTransferInit(pTx, SHCLTRANSFERDIR_TO_REMOTE, SHCLSOURCE_LOCAL)); 210 RTTEST_CHECK_RC_OK(hTest, ShClTransferRoots SetAsFile(pTx, ValueUnion.psz));210 RTTEST_CHECK_RC_OK(hTest, ShClTransferRootsInitFromFile(pTx, ValueUnion.psz)); 211 211 RTTEST_CHECK_RC_OK(hTest, ShClTransferCtxTransferRegister(&TxCtx, pTx, NULL)); 212 212 RTTEST_CHECK_RC_OK(hTest, ShClTransferHttpServerRegisterTransfer(&HttpSrv, pTx));
Note:
See TracChangeset
for help on using the changeset viewer.