VirtualBox

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


Ignore:
Timestamp:
Oct 24, 2022 10:23:55 AM (2 years ago)
Author:
vboxsync
Message:

Main/Guest Control: Added new guestControl::GuestPath class which contains the (static) Translate() function to translate paths from/to host/guests. Also added a new testcase for that function. bugref:10286

Location:
trunk/src/VBox/Main/testcase
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/Makefile.kmk

    r96407 r97276  
    4343        $(if $(VBOX_WITH_XPCOM),tstVBoxAPIXPCOM,tstVBoxAPIWin msiDarwinDescriptorDecoder) \
    4444        $(if $(VBOX_WITH_RESOURCE_USAGE_API),tstCollector,) \
     45        $(if $(VBOX_WITH_GUEST_CONTROL),tstGuestCtrlContextID,) \
    4546        $(if $(VBOX_WITH_GUEST_CONTROL),tstGuestCtrlParseBuffer,) \
    46         $(if $(VBOX_WITH_GUEST_CONTROL),tstGuestCtrlContextID,) \
     47        $(if $(VBOX_WITH_GUEST_CONTROL),tstGuestCtrlPaths,) \
    4748        tstMediumLock \
    4849        tstBstr \
     
    207208
    208209#
     210# tstGuestCtrlContextID
     211#
     212tstGuestCtrlContextID_TEMPLATE = VBOXMAINCLIENTTSTEXE
     213tstGuestCtrlContextID_INTERMEDIATES   = $(VBOX_MAIN_APIWRAPPER_GEN_HDRS)
     214tstGuestCtrlContextID_DEFS    += VBOX_WITH_HGCM VBOX_WITH_GUEST_CONTROL VBOX_GUESTCTRL_TEST_CASE
     215tstGuestCtrlContextID_SOURCES  = \
     216        tstGuestCtrlContextID.cpp \
     217        ../src-client/GuestCtrlPrivate.cpp
     218tstGuestCtrlContextID_INCS     = ../include \
     219     $(VBOX_MAIN_APIWRAPPER_INCS)
     220
     221
     222#
    209223# tstGuestCtrlParseBuffer
    210224#
     
    220234
    221235#
    222 # tstGuestCtrlContextID
    223 #
    224 tstGuestCtrlContextID_TEMPLATE = VBOXMAINCLIENTTSTEXE
    225 tstGuestCtrlContextID_INTERMEDIATES   = $(VBOX_MAIN_APIWRAPPER_GEN_HDRS)
    226 tstGuestCtrlContextID_DEFS    += VBOX_WITH_HGCM VBOX_WITH_GUEST_CONTROL VBOX_GUESTCTRL_TEST_CASE
    227 tstGuestCtrlContextID_SOURCES  = \
    228         tstGuestCtrlContextID.cpp \
     236# tstGuestCtrlPaths
     237#
     238tstGuestCtrlPaths_TEMPLATE      = VBOXMAINCLIENTTSTEXE
     239tstGuestCtrlPaths_INTERMEDIATES  = $(VBOX_MAIN_APIWRAPPER_GEN_HDRS)
     240tstGuestCtrlPaths_DEFS          += VBOX_WITH_HGCM VBOX_WITH_GUEST_CONTROL VBOX_GUESTCTRL_TEST_CASE
     241tstGuestCtrlPaths_SOURCES        = \
     242        tstGuestCtrlPaths.cpp \
    229243        ../src-client/GuestCtrlPrivate.cpp
    230 tstGuestCtrlContextID_INCS     = ../include \
    231      $(VBOX_MAIN_APIWRAPPER_INCS)
     244tstGuestCtrlPaths_INCS           = ../include \
     245    $(VBOX_MAIN_APIWRAPPER_INCS)
     246
     247if 0 # Enable this if you want automatic runs after compilation.
     248 $$(tstGuestCtrlPaths_0_OUTDIR)/tstGuestCtrlPaths.run: $$(tstGuestCtrlPaths_1_STAGE_TARGET)
     249        export VBOX_LOG_DEST=nofile; $(tstGuestCtrlPaths_1_STAGE_TARGET) quiet
     250        $(QUIET)$(APPEND) -t "$@" "done"
     251 OTHERS += $(tstGuestCtrlPaths_0_OUTDIR)/tstGuestCtrlPaths.run
     252endif
    232253
    233254
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