Changeset 99775 in vbox for trunk/src/VBox/Main/testcase
- Timestamp:
- May 12, 2023 12:21:58 PM (19 months ago)
- Location:
- trunk/src/VBox/Main/testcase
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstAPI.cpp
r98302 r99775 65 65 /////////////////////////////////////////////////////////////////////////////// 66 66 67 HRESULT readAndChangeMachineSettings(IMachine *machine, IMachine *readonlyMachine = 0) 67 #if 0 /* unused */ 68 static HRESULT readAndChangeMachineSettings(IMachine *machine, IMachine *readonlyMachine = 0) 68 69 { 69 70 HRESULT hrc = S_OK; … … 199 200 return hrc; 200 201 } 202 #endif 201 203 202 204 // main -
trunk/src/VBox/Main/testcase/tstCollector.cpp
r98103 r99775 82 82 } while (0) 83 83 84 void shutdownProcessList(std::vector<RTPROCESS> const &rProcesses)84 static void shutdownProcessList(std::vector<RTPROCESS> const &rProcesses) 85 85 { 86 86 for (size_t i = 0; i < rProcesses.size(); i++) … … 88 88 } 89 89 90 void measurePerformance(pm::CollectorHAL *collector, const char *pszName, int cVMs)90 static void measurePerformance(pm::CollectorHAL *collector, const char *pszName, int cVMs) 91 91 { 92 92 … … 164 164 #define NETIFNAME "eth0" 165 165 #endif 166 int testNetwork(pm::CollectorHAL *collector)166 static int testNetwork(pm::CollectorHAL *collector) 167 167 { 168 168 pm::CollectorHints hints; … … 222 222 223 223 #define FSNAME "/" 224 int testFsUsage(pm::CollectorHAL *collector)224 static int testFsUsage(pm::CollectorHAL *collector) 225 225 { 226 226 RTPrintf("tstCollector: TESTING - File system usage\n"); … … 245 245 } 246 246 247 int testDisk(pm::CollectorHAL *collector)247 static int testDisk(pm::CollectorHAL *collector) 248 248 { 249 249 pm::CollectorHints hints; -
trunk/src/VBox/Main/testcase/tstOVF.cpp
r99569 r99775 89 89 * @param llMachinesCreated out: UUIDs of machines that were created so that caller can clean up. 90 90 */ 91 void importOVF(const char *pcszPrefix,92 ComPtr<IVirtualBox> &pVirtualBox,93 const char *pcszOVF0,94 std::list<Guid> &llMachinesCreated)91 static void importOVF(const char *pcszPrefix, 92 ComPtr<IVirtualBox> &pVirtualBox, 93 const char *pcszOVF0, 94 std::list<Guid> &llMachinesCreated) 95 95 { 96 96 char szAbsOVF[RTPATH_MAX]; … … 289 289 * @param pcszDest Target for dummy VMDK. 290 290 */ 291 void copyDummyDiskImage(const char *pcszPrefix,292 std::list<Utf8Str> &llFiles2Delete,293 const char *pcszDest)291 static void copyDummyDiskImage(const char *pcszPrefix, 292 std::list<Utf8Str> &llFiles2Delete, 293 const char *pcszDest) 294 294 { 295 295 char szSrc[RTPATH_MAX]; -
trunk/src/VBox/Main/testcase/tstVBoxAPIXPCOM.cpp
r98103 r99775 104 104 * @param virtualBox VirtualBox instance object. 105 105 */ 106 void listVMs(IVirtualBox *virtualBox)106 static void listVMs(IVirtualBox *virtualBox) 107 107 { 108 108 nsresult rc; … … 188 188 * @param virtualBox VirtualBox instance object. 189 189 */ 190 void createVM(IVirtualBox *virtualBox)190 static void createVM(IVirtualBox *virtualBox) 191 191 { 192 192 nsresult rc;
Note:
See TracChangeset
for help on using the changeset viewer.