VirtualBox

Changeset 16568 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Feb 9, 2009 8:57:02 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42522
Message:

OVF: add warnings support; RAM is MB now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstAPI.cpp

    r16530 r16568  
    13351335            {
    13361336                com::SafeArray<VirtualSystemDescriptionType_T> retTypes;
    1337                 com::SafeArray<ULONG> retRefValues;
     1337                com::SafeArray<BSTR> retRefValues;
    13381338                com::SafeArray<BSTR> retOrigValues;
    13391339                com::SafeArray<BSTR> retAutoValues;
     
    13551355                            Bstr (retConfiguration [a]).raw());
    13561356                }
     1357                /* Show warnings from interpret */
     1358                com::SafeArray<BSTR> retWarnings;
     1359                CHECK_ERROR_BREAK (retVSD [i],
     1360                                   GetWarnings(ComSafeArrayAsOutParam (retWarnings)));
     1361                if (retWarnings.size() > 0)
     1362                {
     1363                    RTPrintf ("The following warnings occurs on interpret:\n");
     1364                    for (unsigned r = 0; r < retWarnings.size(); ++r)
     1365                        RTPrintf ("%ls\n", Bstr (retWarnings [r]).raw());
     1366                    RTPrintf ("\n");
     1367                }
    13571368            }
    13581369            RTPrintf ("\n");
     
    13651376        if (SUCCEEDED (rc))
    13661377        {
    1367             /* Check if the import was sucessfully */
     1378            /* Check if the import was successfully */
    13681379            progress->COMGETTER (ResultCode)(&rc);
    13691380            if (FAILED (rc))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette