VirtualBox

Changeset 48334 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Sep 6, 2013 3:23:58 AM (11 years ago)
Author:
vboxsync
Message:

Main/testcase: adds disabled by default test of DNS bits of HostImpl.

File:
1 edited

Legend:

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

    r46326 r48334  
    12121212    } while (0);
    12131213#endif
     1214
     1215#if 0
     1216    // DNS & Co.
     1217    ///////////////////////////////////////////////////////////////////////////
     1218    do
     1219    {
     1220        ComPtr<IHost> host;
     1221        CHECK_ERROR_BREAK(virtualBox, COMGETTER(Host)(host.asOutParam()));
     1222
     1223        {
     1224            Bstr domainName;
     1225            CHECK_ERROR_BREAK(host,COMGETTER(DomainName)(domainName.asOutParam()));
     1226            RTPrintf("Domain name: %ls\n", domainName.raw());
     1227        }
     1228    }
     1229    while (FALSE);
     1230    RTPrintf("\n");
     1231#endif
     1232
    12141233
    12151234#if 0 && defined(VBOX_WITH_RESOURCE_USAGE_API)
Note: See TracChangeset for help on using the changeset viewer.

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