Changeset 67020 in vbox
- Timestamp:
- May 22, 2017 2:58:05 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/testcase/tstSharedFolderService.cpp
r66099 r67020 848 848 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname"); 849 849 AssertReleaseRC(svcTable.pfnDisconnect(NULL, 0, svcTable.pvService)); 850 AssertReleaseRC(svcTable.pfnUnload(NULL)); 850 851 RTTestGuardedFree(hTest, svcTable.pvService); 851 852 RTTEST_CHECK_MSG(hTest, g_testRTFileCloseFile == hcFile, … … 882 883 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname"); 883 884 AssertReleaseRC(svcTable.pfnDisconnect(NULL, 0, svcTable.pvService)); 885 AssertReleaseRC(svcTable.pfnUnload(NULL)); 884 886 RTTestGuardedFree(hTest, svcTable.pvService); 885 887 RTTEST_CHECK_MSG(hTest, g_testRTFileCloseFile == hcFile, … … 917 919 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname"); 918 920 AssertReleaseRC(svcTable.pfnDisconnect(NULL, 0, svcTable.pvService)); 921 AssertReleaseRC(svcTable.pfnUnload(NULL)); 919 922 RTTestGuardedFree(hTest, svcTable.pvService); 920 923 RTTEST_CHECK_MSG(hTest, g_testRTDirClosepDir == pDir, (hTest, "pDir=%p\n", g_testRTDirClosepDir)); … … 952 955 RTTEST_CHECK_MSG(hTest, g_testRTFileCloseFile == hcFile, (hTest, "File=%u\n", g_testRTFileCloseFile)); 953 956 AssertReleaseRC(svcTable.pfnDisconnect(NULL, 0, svcTable.pvService)); 957 AssertReleaseRC(svcTable.pfnUnload(NULL)); 954 958 RTTestGuardedFree(hTest, svcTable.pvService); 955 959 } … … 985 989 RTTEST_CHECK_MSG(hTest, g_testRTFileCloseFile == hcFile, (hTest, "File=%u\n", g_testRTFileCloseFile)); 986 990 AssertReleaseRC(svcTable.pfnDisconnect(NULL, 0, svcTable.pvService)); 991 AssertReleaseRC(svcTable.pfnUnload(NULL)); 987 992 RTTestGuardedFree(hTest, svcTable.pvService); 988 993 } … … 1009 1014 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname"); 1010 1015 AssertReleaseRC(svcTable.pfnDisconnect(NULL, 0, svcTable.pvService)); 1016 AssertReleaseRC(svcTable.pfnUnload(NULL)); 1011 1017 RTTestGuardedFree(hTest, svcTable.pvService); 1012 1018 RTTEST_CHECK_MSG(hTest, g_testRTFileCloseFile == hcFile, (hTest, "File=%u\n", g_testRTFileCloseFile)); … … 1042 1048 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname"); 1043 1049 AssertReleaseRC(svcTable.pfnDisconnect(NULL, 0, svcTable.pvService)); 1050 AssertReleaseRC(svcTable.pfnUnload(NULL)); 1044 1051 RTTestGuardedFree(hTest, svcTable.pvService); 1045 1052 RTTEST_CHECK_MSG(hTest, g_testRTDirClosepDir == pDir, (hTest, "pDir=%p\n", g_testRTDirClosepDir)); … … 1082 1089 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname"); 1083 1090 AssertReleaseRC(svcTable.pfnDisconnect(NULL, 0, svcTable.pvService)); 1091 AssertReleaseRC(svcTable.pfnUnload(NULL)); 1084 1092 RTTestGuardedFree(hTest, svcTable.pvService); 1085 1093 RTTEST_CHECK_MSG(hTest, g_testRTFileCloseFile == hcFile, (hTest, "File=%u\n", g_testRTFileCloseFile)); … … 1124 1132 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname"); 1125 1133 AssertReleaseRC(svcTable.pfnDisconnect(NULL, 0, svcTable.pvService)); 1134 AssertReleaseRC(svcTable.pfnUnload(NULL)); 1126 1135 RTTestGuardedFree(hTest, svcTable.pvService); 1127 1136 RTTEST_CHECK_MSG(hTest, g_testRTDirClosepDir == pDir, (hTest, "pDir=%p\n", g_testRTDirClosepDir)); … … 1166 1175 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname"); 1167 1176 AssertReleaseRC(svcTable.pfnDisconnect(NULL, 0, svcTable.pvService)); 1177 AssertReleaseRC(svcTable.pfnUnload(NULL)); 1168 1178 RTTestGuardedFree(hTest, svcTable.pvService); 1169 1179 RTTEST_CHECK_MSG(hTest, g_testRTFileCloseFile == hcFile, (hTest, "File=%u\n", g_testRTFileCloseFile)); … … 1198 1208 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname"); 1199 1209 AssertReleaseRC(svcTable.pfnDisconnect(NULL, 0, svcTable.pvService)); 1210 AssertReleaseRC(svcTable.pfnUnload(NULL)); 1200 1211 RTTestGuardedFree(hTest, svcTable.pvService); 1201 1212 RTTEST_CHECK_MSG(hTest, g_testRTFileCloseFile == hcFile, (hTest, "File=%u\n", g_testRTFileCloseFile)); … … 1243 1254 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname"); 1244 1255 AssertReleaseRC(svcTable.pfnDisconnect(NULL, 0, svcTable.pvService)); 1256 AssertReleaseRC(svcTable.pfnUnload(NULL)); 1245 1257 RTTestGuardedFree(hTest, svcTable.pvService); 1246 1258 RTTEST_CHECK_MSG(hTest, g_testRTFileCloseFile == hcFile, (hTest, "File=%u\n", g_testRTFileCloseFile));
Note:
See TracChangeset
for help on using the changeset viewer.