- Timestamp:
- Jan 26, 2009 4:10:15 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 42041
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstAPI.cpp
r16198 r16239 1141 1141 #endif 1142 1142 1143 #if 11143 #if 0 1144 1144 do { 1145 1145 // Get host … … 1165 1165 networkInterface->COMGETTER(Id)(interfaceGuid2.asOutParam()); 1166 1166 if (interfaceGuid2 != interfaceGuid) 1167 printf("Failed to retri ve an interface by name %lS.\n", interfaceName.raw());1167 printf("Failed to retrieve an interface by name %lS.\n", interfaceName.raw()); 1168 1168 // Find the interface by its guid 1169 1169 networkInterface.setNull(); … … 1173 1173 networkInterface->COMGETTER(Name)(interfaceName2.asOutParam()); 1174 1174 if (interfaceName != interfaceName2) 1175 printf("Failed to retri ve an interface by GUID %lS.\n", Bstr(interfaceGuid.toString()).raw());1175 printf("Failed to retrieve an interface by GUID %lS.\n", Bstr(interfaceGuid.toString()).raw()); 1176 1176 } 1177 1177 else … … 1301 1301 do 1302 1302 { 1303 Bstr ovf = L"/home/poetzsch/projects/out.ovf"; 1304 //Bstr ovf = L"/home/poetzsch/projects/someOVF.ovf"; 1305 // Bstr ovf = L"/Users/poetzsch/projects/someOVF.ovf"; 1306 // Bstr ovf = L"/Users/poetzsch/projects/out.ovf"; 1307 // Bstr name = argc > 1 ? argv [1] : "dsl"; 1303 Bstr ovf = argc > 1 ? argv [1] : "someOVF.ovf"; 1308 1304 printf ("Try to open %ls ...\n", ovf.raw()); 1309 1305 … … 1314 1310 CHECK_ERROR_BREAK (appliance, COMGETTER (Path)(path.asOutParam())); 1315 1311 printf ("Successfully opened %ls.\n", path.raw()); 1312 CHECK_ERROR_BREAK (appliance, 1313 Interpret()); 1314 printf ("Successfully interpreted %ls.\n", path.raw()); 1316 1315 printf ("Appliance:\n"); 1317 1316 // Fetch all disks … … 1360 1359 printf ("\n"); 1361 1360 } 1361 CHECK_ERROR_BREAK (appliance, 1362 ImportAppliance()); 1362 1363 } 1363 1364 while (FALSE);
Note:
See TracChangeset
for help on using the changeset viewer.