VirtualBox

Changeset 79522 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jul 4, 2019 9:25:21 AM (6 years ago)
Author:
vboxsync
Message:

VBox/log.h: Kicked out most event group (base classes are still there) and made tstLog check the ordering of the enum and string array.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/VBox/log-vbox.cpp

    r78803 r79522  
    341341    ASSERT_LOG_GROUP(MAIN);
    342342    ASSERT_LOG_GROUP(MAIN_ADDITIONSFACILITY);
    343     ASSERT_LOG_GROUP(MAIN_ADDITIONSSTATECHANGEDEVENT);
    344343    ASSERT_LOG_GROUP(MAIN_APPLIANCE);
    345344    ASSERT_LOG_GROUP(MAIN_AUDIOADAPTER);
    346345    ASSERT_LOG_GROUP(MAIN_BANDWIDTHCONTROL);
    347346    ASSERT_LOG_GROUP(MAIN_BANDWIDTHGROUP);
    348     ASSERT_LOG_GROUP(MAIN_BANDWIDTHGROUPCHANGEDEVENT);
    349347    ASSERT_LOG_GROUP(MAIN_BIOSSETTINGS);
    350     ASSERT_LOG_GROUP(MAIN_CANSHOWWINDOWEVENT);
    351     ASSERT_LOG_GROUP(MAIN_CLIPBOARDMODECHANGEDEVENT);
    352348    ASSERT_LOG_GROUP(MAIN_CONSOLE);
    353     ASSERT_LOG_GROUP(MAIN_CPUCHANGEDEVENT);
    354     ASSERT_LOG_GROUP(MAIN_CPUEXECUTIONCAPCHANGEDEVENT);
    355     ASSERT_LOG_GROUP(MAIN_CURSORPOSITIONCHANGEDEVENT);
    356     ASSERT_LOG_GROUP(MAIN_GUESTMONITORINFOCHANGEDEVENT);
    357349    ASSERT_LOG_GROUP(MAIN_DHCPSERVER);
    358350    ASSERT_LOG_GROUP(MAIN_DIRECTORY);
     
    360352    ASSERT_LOG_GROUP(MAIN_DISPLAYSOURCEBITMAP);
    361353    ASSERT_LOG_GROUP(MAIN_DNDBASE);
    362     ASSERT_LOG_GROUP(MAIN_DNDMODECHANGEDEVENT);
    363354    ASSERT_LOG_GROUP(MAIN_DNDSOURCE);
    364355    ASSERT_LOG_GROUP(MAIN_DNDTARGET);
     
    367358    ASSERT_LOG_GROUP(MAIN_EVENTLISTENER);
    368359    ASSERT_LOG_GROUP(MAIN_EVENTSOURCE);
    369     ASSERT_LOG_GROUP(MAIN_EVENTSOURCECHANGEDEVENT);
    370360    ASSERT_LOG_GROUP(MAIN_EXTPACK);
    371361    ASSERT_LOG_GROUP(MAIN_EXTPACKBASE);
     
    373363    ASSERT_LOG_GROUP(MAIN_EXTPACKMANAGER);
    374364    ASSERT_LOG_GROUP(MAIN_EXTPACKPLUGIN);
    375     ASSERT_LOG_GROUP(MAIN_EXTRADATACANCHANGEEVENT);
    376     ASSERT_LOG_GROUP(MAIN_EXTRADATACHANGEDEVENT);
    377365    ASSERT_LOG_GROUP(MAIN_FILE);
    378366    ASSERT_LOG_GROUP(MAIN_FRAMEBUFFER);
     
    385373    ASSERT_LOG_GROUP(MAIN_GUESTERRORINFO);
    386374    ASSERT_LOG_GROUP(MAIN_GUESTFILE);
    387     ASSERT_LOG_GROUP(MAIN_GUESTFILEEVENT);
    388     ASSERT_LOG_GROUP(MAIN_GUESTFILEIOEVENT);
    389     ASSERT_LOG_GROUP(MAIN_GUESTFILEOFFSETCHANGEDEVENT);
    390     ASSERT_LOG_GROUP(MAIN_GUESTFILEREADEVENT);
    391     ASSERT_LOG_GROUP(MAIN_GUESTFILEREGISTEREDEVENT);
    392     ASSERT_LOG_GROUP(MAIN_GUESTFILESTATECHANGEDEVENT);
    393     ASSERT_LOG_GROUP(MAIN_GUESTFILEWRITEEVENT);
    394375    ASSERT_LOG_GROUP(MAIN_GUESTFSOBJINFO);
    395     ASSERT_LOG_GROUP(MAIN_GUESTKEYBOARDEVENT);
    396     ASSERT_LOG_GROUP(MAIN_GUESTMONITORCHANGEDEVENT);
    397     ASSERT_LOG_GROUP(MAIN_GUESTMOUSEEVENT);
    398     ASSERT_LOG_GROUP(MAIN_GUESTMULTITOUCHEVENT);
    399376    ASSERT_LOG_GROUP(MAIN_GUESTOSTYPE);
    400377    ASSERT_LOG_GROUP(MAIN_GUESTPROCESS);
    401     ASSERT_LOG_GROUP(MAIN_GUESTPROCESSEVENT);
    402     ASSERT_LOG_GROUP(MAIN_GUESTPROCESSINPUTNOTIFYEVENT);
    403     ASSERT_LOG_GROUP(MAIN_GUESTPROCESSIOEVENT);
    404     ASSERT_LOG_GROUP(MAIN_GUESTPROCESSOUTPUTEVENT);
    405     ASSERT_LOG_GROUP(MAIN_GUESTPROCESSREGISTEREDEVENT);
    406     ASSERT_LOG_GROUP(MAIN_GUESTPROCESSSTATECHANGEDEVENT);
    407     ASSERT_LOG_GROUP(MAIN_GUESTPROPERTYCHANGEDEVENT);
    408378    ASSERT_LOG_GROUP(MAIN_GUESTSESSION);
    409     ASSERT_LOG_GROUP(MAIN_GUESTSESSIONEVENT);
    410     ASSERT_LOG_GROUP(MAIN_GUESTSESSIONREGISTEREDEVENT);
    411     ASSERT_LOG_GROUP(MAIN_GUESTSESSIONSTATECHANGEDEVENT);
    412     ASSERT_LOG_GROUP(MAIN_GUESTUSERSTATECHANGEDEVENT);
    413379    ASSERT_LOG_GROUP(MAIN_HOST);
    414     ASSERT_LOG_GROUP(MAIN_HOSTNAMERESOLUTIONCONFIGURATIONCHANGEEVENT);
    415380    ASSERT_LOG_GROUP(MAIN_HOSTNETWORKINTERFACE);
    416     ASSERT_LOG_GROUP(MAIN_HOSTPCIDEVICEPLUGEVENT);
    417381    ASSERT_LOG_GROUP(MAIN_HOSTUSBDEVICE);
    418382    ASSERT_LOG_GROUP(MAIN_HOSTUSBDEVICEFILTER);
     
    421385    ASSERT_LOG_GROUP(MAIN_INTERNALSESSIONCONTROL);
    422386    ASSERT_LOG_GROUP(MAIN_KEYBOARD);
    423     ASSERT_LOG_GROUP(MAIN_KEYBOARDLEDSCHANGEDEVENT);
    424387    ASSERT_LOG_GROUP(MAIN_MACHINE);
    425     ASSERT_LOG_GROUP(MAIN_MACHINEDATACHANGEDEVENT);
    426388    ASSERT_LOG_GROUP(MAIN_MACHINEDEBUGGER);
    427     ASSERT_LOG_GROUP(MAIN_MACHINEEVENT);
    428     ASSERT_LOG_GROUP(MAIN_MACHINEREGISTEREDEVENT);
    429     ASSERT_LOG_GROUP(MAIN_MACHINESTATECHANGEDEVENT);
    430389    ASSERT_LOG_GROUP(MAIN_MEDIUM);
    431390    ASSERT_LOG_GROUP(MAIN_MEDIUMATTACHMENT);
    432     ASSERT_LOG_GROUP(MAIN_MEDIUMCHANGEDEVENT);
    433     ASSERT_LOG_GROUP(MAIN_MEDIUMCONFIGCHANGEDEVENT);
    434391    ASSERT_LOG_GROUP(MAIN_MEDIUMFORMAT);
    435     ASSERT_LOG_GROUP(MAIN_MEDIUMREGISTEREDEVENT);
    436392    ASSERT_LOG_GROUP(MAIN_MOUSE);
    437     ASSERT_LOG_GROUP(MAIN_MOUSECAPABILITYCHANGEDEVENT);
    438393    ASSERT_LOG_GROUP(MAIN_MOUSEPOINTERSHAPE);
    439     ASSERT_LOG_GROUP(MAIN_MOUSEPOINTERSHAPECHANGEDEVENT);
    440394    ASSERT_LOG_GROUP(MAIN_NATENGINE);
    441395    ASSERT_LOG_GROUP(MAIN_NATNETWORK);
    442     ASSERT_LOG_GROUP(MAIN_NATNETWORKALTEREVENT);
    443     ASSERT_LOG_GROUP(MAIN_NATNETWORKCHANGEDEVENT);
    444     ASSERT_LOG_GROUP(MAIN_NATNETWORKCREATIONDELETIONEVENT);
    445     ASSERT_LOG_GROUP(MAIN_NATNETWORKPORTFORWARDEVENT);
    446     ASSERT_LOG_GROUP(MAIN_NATNETWORKSETTINGEVENT);
    447     ASSERT_LOG_GROUP(MAIN_NATNETWORKSTARTSTOPEVENT);
    448     ASSERT_LOG_GROUP(MAIN_NATREDIRECTEVENT);
    449396    ASSERT_LOG_GROUP(MAIN_NETWORKADAPTER);
    450     ASSERT_LOG_GROUP(MAIN_NETWORKADAPTERCHANGEDEVENT);
    451397    ASSERT_LOG_GROUP(MAIN_PARALLELPORT);
    452     ASSERT_LOG_GROUP(MAIN_PARALLELPORTCHANGEDEVENT);
    453398    ASSERT_LOG_GROUP(MAIN_PCIADDRESS);
    454399    ASSERT_LOG_GROUP(MAIN_PCIDEVICEATTACHMENT);
     
    457402    ASSERT_LOG_GROUP(MAIN_PROCESS);
    458403    ASSERT_LOG_GROUP(MAIN_PROGRESS);
    459     ASSERT_LOG_GROUP(MAIN_REUSABLEEVENT);
    460     ASSERT_LOG_GROUP(MAIN_RUNTIMEERROREVENT);
    461404    ASSERT_LOG_GROUP(MAIN_SERIALPORT);
    462     ASSERT_LOG_GROUP(MAIN_SERIALPORTCHANGEDEVENT);
    463405    ASSERT_LOG_GROUP(MAIN_SESSION);
    464     ASSERT_LOG_GROUP(MAIN_SESSIONSTATECHANGEDEVENT);
    465406    ASSERT_LOG_GROUP(MAIN_SHAREDFOLDER);
    466     ASSERT_LOG_GROUP(MAIN_SHAREDFOLDERCHANGEDEVENT);
    467     ASSERT_LOG_GROUP(MAIN_SHOWWINDOWEVENT);
    468407    ASSERT_LOG_GROUP(MAIN_SNAPSHOT);
    469     ASSERT_LOG_GROUP(MAIN_SNAPSHOTCHANGEDEVENT);
    470     ASSERT_LOG_GROUP(MAIN_SNAPSHOTDELETEDEVENT);
    471     ASSERT_LOG_GROUP(MAIN_SNAPSHOTEVENT);
    472     ASSERT_LOG_GROUP(MAIN_SNAPSHOTRESTOREDEVENT);
    473     ASSERT_LOG_GROUP(MAIN_SNAPSHOTTAKENEVENT);
    474     ASSERT_LOG_GROUP(MAIN_STATECHANGEDEVENT);
    475408    ASSERT_LOG_GROUP(MAIN_STORAGECONTROLLER);
    476     ASSERT_LOG_GROUP(MAIN_STORAGECONTROLLERCHANGEDEVENT);
    477     ASSERT_LOG_GROUP(MAIN_STORAGEDEVICECHANGEDEVENT);
    478409    ASSERT_LOG_GROUP(MAIN_SYSTEMPROPERTIES);
    479410    ASSERT_LOG_GROUP(MAIN_TOKEN);
    480411    ASSERT_LOG_GROUP(MAIN_USBCONTROLLER);
    481     ASSERT_LOG_GROUP(MAIN_USBCONTROLLERCHANGEDEVENT);
    482412    ASSERT_LOG_GROUP(MAIN_USBDEVICE);
    483413    ASSERT_LOG_GROUP(MAIN_USBDEVICEFILTERS);
    484     ASSERT_LOG_GROUP(MAIN_USBDEVICESTATECHANGEDEVENT);
    485     ASSERT_LOG_GROUP(MAIN_VBOXSVCAVAILABILITYCHANGEDEVENT);
    486414    ASSERT_LOG_GROUP(MAIN_VIRTUALBOX);
    487415    ASSERT_LOG_GROUP(MAIN_VIRTUALBOXCLIENT);
     
    489417    ASSERT_LOG_GROUP(MAIN_VIRTUALSYSTEMDESCRIPTION);
    490418    ASSERT_LOG_GROUP(MAIN_VRDESERVER);
    491     ASSERT_LOG_GROUP(MAIN_VRDESERVERCHANGEDEVENT);
    492419    ASSERT_LOG_GROUP(MAIN_VRDESERVERINFO);
    493     ASSERT_LOG_GROUP(MAIN_VRDESERVERINFOCHANGEDEVENT);
    494420    ASSERT_LOG_GROUP(MISC);
    495421    ASSERT_LOG_GROUP(MM);
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