VirtualBox

Ignore:
Timestamp:
Mar 19, 2020 5:51:47 PM (5 years ago)
Author:
vboxsync
Message:

TestManager: Scheduling queue patch #4 with fEnable sorting adjustment. bugref:9657

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadmin.py

    r82968 r83338  
    158158    ksActionSchedGroupEdit          = 'SchedGroupEdit';
    159159    ksActionSchedGroupEditPost      = 'SchedGroupEditPost';
     160    ksActionSchedQueueList          = 'SchedQueueList';
    160161    ## @}
    161162
     
    299300
    300301        #
    301         # Scheduling Group actions
     302        # Scheduling Group and Queue actions
    302303        #
    303304        self._dDispatch[self.ksActionSchedGroupList]            = self._actionSchedGroupList;
     
    309310        self._dDispatch[self.ksActionSchedGroupEditPost]        = self._actionSchedGroupEditPost;
    310311        self._dDispatch[self.ksActionSchedGroupDoRemove]        = self._actionSchedGroupDoRemove;
     312        self._dDispatch[self.ksActionSchedQueueList]            = self._actionSchedQueueList;
    311313
    312314
     
    354356                    [ 'New testbox',            self._sActionUrlBase + self.ksActionTestBoxAdd,             True  ],
    355357                    [ 'New scheduling group',   self._sActionUrlBase + self.ksActionSchedGroupAdd,          True  ],
     358                    [ 'View scheduling queues', self._sActionUrlBase + self.ksActionSchedQueueList,         False ],
    356359                    [ 'Regenerate all scheduling queues', self._sActionUrlBase + self.ksActionTestBoxesRegenQueues, True  ],
    357360                ]
     
    637640        return self._actionGenericDoRemove(SchedGroupLogic, SchedGroupData.ksParam_idSchedGroup, self.ksActionSchedGroupList)
    638641
     642    def _actionSchedQueueList(self):
     643        """ Action wrapper. """
     644        from testmanager.core.schedqueue                import SchedQueueLogic;
     645        from testmanager.webui.wuiadminschedqueue       import WuiAdminSchedQueueList;
     646        return self._actionGenericListing(SchedQueueLogic, WuiAdminSchedQueueList);
    639647
    640648    def _actionRegenQueuesCommon(self):
     
    741749
    742750    # Test Group actions
     751
    743752    def _actionTestGroupList(self):
    744753        """ Action wrapper. """
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